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