You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/Import/Models/GridPanelShow/GridPanelShow.cs

115 lines
2.6 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Import.Models.GridPanelShow
{
[JsonObject]
public class GridPanelShowmb : ModelObjectBillBody
{
#region private Fields
private string _id = string.Empty;
private string _USERID = string.Empty;
private string _FORMNAME = string.Empty;
private string _DATAORDER = string.Empty;
private string _dataIndex = string.Empty;
private string _header = string.Empty;
private string _width = string.Empty;
private string _hidden = string.Empty;
private string _sortable = string.Empty;
private string _editor = string.Empty;
private string _renderer = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)]
public string id
{
get { return _id; }
set { _id = value; }
}
[ModelDB]
public string USERID
{
get { return _USERID; }
set { _USERID = value; }
}
[ModelDB]
public string FORMNAME
{
get { return _FORMNAME; }
set { _FORMNAME = value; }
}
[ModelDB]
public string DATAORDER
{
get { return _DATAORDER; }
set { _DATAORDER = value; }
}
[ModelDB]
public string dataIndex
{
get { return _dataIndex; }
set { _dataIndex = value; }
}
[ModelDB]
public string header
{
get { return _header; }
set { _header = value; }
}
[ModelDB]
public string width
{
get { return _width; }
set { _width = value; }
}
[ModelDB]
public string hidden
{
get { return _hidden; }
set { _hidden = value; }
}
[ModelDB]
public string sortable
{
get { return _sortable; }
set { _sortable = value; }
}
//[ModelDB]
//public string editor
//{
// get { return _editor; }
// set { _editor = value; }
//}
//[ModelDB]
//public string renderer
//{
// get { return _renderer; }
// set { _renderer = value; }
//}
#endregion
public GridPanelShowmb()
{
// TableName = "tMsWlPcHead";
TableName = "IMPORT_TableCustomize";
}
public override string GetBillNoFieldName()
{
return "id";
}
}
#region 参照部分
#endregion
}