225 lines
4.8 KiB
C#
225 lines
4.8 KiB
C#
using Ease.Core.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class DataUploadColumnDefinitionVM
|
|
{
|
|
#region Declarations
|
|
|
|
public DataUploadColumnDefinitionVM()
|
|
{
|
|
//_sheetName = string.Empty;
|
|
//_columnName = new List<string>();
|
|
//_SheetCollection = new List<string>();
|
|
//_dataType = new List<string>();
|
|
//_allowNull = new List<string>();
|
|
//_itemOneCombo = null;
|
|
//_itemTwoCombo = null;
|
|
//_itemThreeDate = null;
|
|
//_selectedItemOneID = (0);
|
|
//_selectedItemTwoID = (0);
|
|
//_selectedItemOneText = String.Empty;
|
|
//_itemThreeSelectedDate = DateTime.Today;
|
|
SheetCollection= new List<string>();
|
|
ColumnName = new List<string>();
|
|
DataType = new List<string>();
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Property
|
|
|
|
#region Property SheetName : String
|
|
|
|
|
|
|
|
public string SheetName
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Property SheetCollection : Collection
|
|
|
|
|
|
public List<string> SheetCollection
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Property ColumnName : Collection
|
|
|
|
|
|
public List<string> ColumnName
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Property DataType : Collection
|
|
|
|
|
|
public List<string> DataType
|
|
{
|
|
get;set;
|
|
}
|
|
|
|
#endregion
|
|
|
|
//#region Property AllowNull : Collection
|
|
|
|
//private List<string> _allowNull;
|
|
|
|
//public List<string> AllowNull
|
|
//{
|
|
// get { return _allowNull; }
|
|
// set { _allowNull = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
|
|
//#region Property Item One : string
|
|
|
|
//private string _itemOneComboText;
|
|
|
|
//public string ItemOneComboText
|
|
//{
|
|
// get { return _itemOneComboText; }
|
|
// set { _itemOneComboText = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Property Item One : Collection
|
|
|
|
//private Dictionary<int, string> _itemOneCombo;
|
|
|
|
//public Dictionary<int, string> ItemOneComboData
|
|
//{
|
|
// get { return _itemOneCombo; }
|
|
// set { _itemOneCombo = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Property Item One Selected Value : ID
|
|
|
|
//private int _selectedItemOneID;
|
|
|
|
//public int SelectedItemOneID
|
|
//{
|
|
// get { return _selectedItemOneID; }
|
|
// set { _selectedItemOneID = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Property Item One Selected Text : ID
|
|
|
|
//private string _selectedItemOneText;
|
|
|
|
//public string SelectedItemOneText
|
|
//{
|
|
// get { return _selectedItemOneText; }
|
|
// set { _selectedItemOneText = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Property Item Two Text : string
|
|
|
|
//private string _itemTwoComboText;
|
|
|
|
//public string ItemTwoComboText
|
|
//{
|
|
// get { return _itemTwoComboText; }
|
|
// set { _itemTwoComboText = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
|
|
//#region Property Item Two : Collection
|
|
|
|
//private Dictionary<int, string> _itemTwoCombo;
|
|
|
|
//public Dictionary<int, string> ItemTwoComboData
|
|
//{
|
|
// get { return _itemTwoCombo; }
|
|
// set { _itemTwoCombo = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Property Item Two Selected Value : ID
|
|
|
|
//private int _selectedItemTwoID;
|
|
|
|
//public int SelectedItemTwoID
|
|
//{
|
|
// get { return _selectedItemTwoID; }
|
|
// set { _selectedItemTwoID = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
|
|
//#region Property Item Three Text : string
|
|
|
|
//private string _itemThreeDateText;
|
|
|
|
//public string ItemThreeDateText
|
|
//{
|
|
// get { return _itemThreeDateText; }
|
|
// set { _itemThreeDateText = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
|
|
//#region Property Item Three : Collection
|
|
|
|
//private DateTime? _itemThreeDate;
|
|
|
|
//public DateTime? ItemThreeDateData
|
|
//{
|
|
// get { return _itemThreeDate; }
|
|
// set { _itemThreeDate = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Property Item Three Selected Value: DateTime
|
|
|
|
//private DateTime? _itemThreeSelectedDate;
|
|
|
|
//public DateTime? ItemThreeSelectedDate
|
|
//{
|
|
// get { return _itemThreeSelectedDate; }
|
|
// set { _itemThreeSelectedDate = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
#region Property From Text : string
|
|
|
|
|
|
public string FormText
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
}
|
|
} |