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.
|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
public class TemplateGridEntity
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private int _pk;//是否为主键
|
|
|
|
|
private string _title;//Grid 标题
|
|
|
|
|
private string _name;//Grid 字段名称
|
|
|
|
|
private int _index;//Grid 字段索引值
|
|
|
|
|
private string _type;//Grid 字段类型
|
|
|
|
|
private int _width;//Grid 字段显示宽度
|
|
|
|
|
private string _sort;//Grid 排序检索字段名称
|
|
|
|
|
private string _remark;//Grid 字段备注
|
|
|
|
|
private string _gtype;//Grid 字段类型
|
|
|
|
|
private string _align;//Grid 字段对齐方式
|
|
|
|
|
private int _closed;//Grid 字段停用标识 0-未停用 1-停用
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public TemplateGridEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否为主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PK
|
|
|
|
|
{
|
|
|
|
|
get { return _pk; }
|
|
|
|
|
set { _pk = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 标题
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Title
|
|
|
|
|
{
|
|
|
|
|
get { return _title; }
|
|
|
|
|
set { _title = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 字段名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name
|
|
|
|
|
{
|
|
|
|
|
get { return _name; }
|
|
|
|
|
set { _name = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 字段索引值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Index
|
|
|
|
|
{
|
|
|
|
|
get { return _index; }
|
|
|
|
|
set { _index = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 字段类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Type
|
|
|
|
|
{
|
|
|
|
|
get { return _type; }
|
|
|
|
|
set { _type = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 字段显示宽度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Width
|
|
|
|
|
{
|
|
|
|
|
get { return _width; }
|
|
|
|
|
set { _width = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 排序检索字段名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Sort
|
|
|
|
|
{
|
|
|
|
|
get { return _sort; }
|
|
|
|
|
set { _sort = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 字段备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 字段类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GType
|
|
|
|
|
{
|
|
|
|
|
get { return _gtype; }
|
|
|
|
|
set { _gtype = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 字段对齐方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Align
|
|
|
|
|
{
|
|
|
|
|
get { return _align; }
|
|
|
|
|
set { _align = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Grid 字段停用标识 0-未停用 1-停用
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Closed
|
|
|
|
|
{
|
|
|
|
|
get { return _closed; }
|
|
|
|
|
set { _closed = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|