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 读写属性 /// /// 惟一主键 /// public string col1 { get { return _gid; } set { _gid = value; } } /// /// 数据字段名称 /// public string col2 { get { return _name; } set { _name = value; } } /// /// 显示名称 /// public string col3 { get { return _description; } set { _description = value; } } /// /// 索引值 /// public int col4 { get { return _index; } set { _index = value; } } /// /// 显示宽度 /// public int col5 { get { return _width; } set { _width = value; } } /// /// 是否可见 /// public int col6 { get { return _visible_state; } set { _visible_state = value; } } #endregion } }