using System; using System.Data; using System.Collections; using System.Collections.Generic; namespace DSWeb.Models { public class GridEntity { private string _gid;//主键唯一值 private string _userid;//关联用户GID private DateTime _create_time;//创建时间 private IList _grid_columns_entities;//列实体类 private string _group_by;//根据某一列进行值分组 private int _default_page_pre;//默认每页显现行数 private int _page_pre;//用户设置的每页显示行数 public GridEntity() { } /// /// 主键唯一值 /// public string GID { get { return _gid; } set { _gid = value; } } /// /// 关联用户GID /// public string UserID { get { return _userid; } set { _userid = value; } } /// /// 创建时间 /// public DateTime CreateTime { get { return _create_time; } set { _create_time = value; } } /// /// 列实体类 /// public IList Columns { get { return _grid_columns_entities; } set { _grid_columns_entities = value; } } /// /// 根据某一列进行值分组 /// public string GroupBy { get { return _group_by; } set { _group_by = value; } } /// /// 默认每页显现行数 /// public int DefaultPrePageCount { get { return _default_page_pre; } set { _default_page_pre = value; } } /// /// 用户设置的每页显示行数 /// public int PagePreCount { get { return _page_pre; } set { _page_pre = value; } } } }