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.
73 lines
1.6 KiB
C#
73 lines
1.6 KiB
C#
using System;
|
|
using System.Data;
|
|
|
|
namespace DSWeb.Models
|
|
{
|
|
public class JsonColumnEntity
|
|
{
|
|
#region 私有成员
|
|
private string _gid;//惟一主键
|
|
private string _name;//数据字段名称
|
|
private string _description;//显示名称
|
|
private int _index;//索引值
|
|
private int _width;//显示宽度
|
|
private int _visible_state;//是否可见
|
|
#endregion
|
|
|
|
public JsonColumnEntity()
|
|
{
|
|
}
|
|
|
|
#region 读写属性
|
|
/// <summary>
|
|
/// 惟一主键
|
|
/// </summary>
|
|
public string col1
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
/// <summary>
|
|
/// 数据字段名称
|
|
/// </summary>
|
|
public string col2
|
|
{
|
|
get { return _name; }
|
|
set { _name = value; }
|
|
}
|
|
/// <summary>
|
|
/// 显示名称
|
|
/// </summary>
|
|
public string col3
|
|
{
|
|
get { return _description; }
|
|
set { _description = value; }
|
|
}
|
|
/// <summary>
|
|
/// 索引值
|
|
/// </summary>
|
|
public int col4
|
|
{
|
|
get { return _index; }
|
|
set { _index = value; }
|
|
}
|
|
/// <summary>
|
|
/// 显示宽度
|
|
/// </summary>
|
|
public int col5
|
|
{
|
|
get { return _width; }
|
|
set { _width = value; }
|
|
}
|
|
/// <summary>
|
|
/// 是否可见
|
|
/// </summary>
|
|
public int col6
|
|
{
|
|
get { return _visible_state; }
|
|
set { _visible_state = value; }
|
|
}
|
|
#endregion
|
|
}
|
|
}
|