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.
79 lines
2.1 KiB
C#
79 lines
2.1 KiB
C#
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<GridColumnEntity> _grid_columns_entities;//列实体类
|
|
private string _group_by;//根据某一列进行值分组
|
|
private int _default_page_pre;//默认每页显现行数
|
|
private int _page_pre;//用户设置的每页显示行数
|
|
|
|
public GridEntity()
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// 主键唯一值
|
|
/// </summary>
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
/// <summary>
|
|
/// 关联用户GID
|
|
/// </summary>
|
|
public string UserID
|
|
{
|
|
get { return _userid; }
|
|
set { _userid = value; }
|
|
}
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
public DateTime CreateTime
|
|
{
|
|
get { return _create_time; }
|
|
set { _create_time = value; }
|
|
}
|
|
/// <summary>
|
|
/// 列实体类
|
|
/// </summary>
|
|
public IList<GridColumnEntity> Columns
|
|
{
|
|
get { return _grid_columns_entities; }
|
|
set { _grid_columns_entities = value; }
|
|
}
|
|
/// <summary>
|
|
/// 根据某一列进行值分组
|
|
/// </summary>
|
|
public string GroupBy
|
|
{
|
|
get { return _group_by; }
|
|
set { _group_by = value; }
|
|
}
|
|
/// <summary>
|
|
/// 默认每页显现行数
|
|
/// </summary>
|
|
public int DefaultPrePageCount
|
|
{
|
|
get { return _default_page_pre; }
|
|
set { _default_page_pre = value; }
|
|
}
|
|
/// <summary>
|
|
/// 用户设置的每页显示行数
|
|
/// </summary>
|
|
public int PagePreCount
|
|
{
|
|
get { return _page_pre; }
|
|
set { _page_pre = value; }
|
|
}
|
|
}
|
|
}
|