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 GridColumnEntity
|
|
|
|
|
{
|
|
|
|
|
private string _gid;//惟一主键
|
|
|
|
|
private string _name;//字段名称
|
|
|
|
|
private string _description;//字段显示名称
|
|
|
|
|
private int _index;//索引值
|
|
|
|
|
private int _width;//显示宽度
|
|
|
|
|
private int _visible_state;//是否可见
|
|
|
|
|
|
|
|
|
|
public GridColumnEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 惟一主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 字段名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name
|
|
|
|
|
{
|
|
|
|
|
get { return _name; }
|
|
|
|
|
set { _name = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 字段显示名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description
|
|
|
|
|
{
|
|
|
|
|
get { return _description; }
|
|
|
|
|
set { _description = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 索引值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Index
|
|
|
|
|
{
|
|
|
|
|
get { return _index; }
|
|
|
|
|
set { _index = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 显示宽度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Width
|
|
|
|
|
{
|
|
|
|
|
get { return _width; }
|
|
|
|
|
set { _width = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否可见
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int VisibleState
|
|
|
|
|
{
|
|
|
|
|
get { return _visible_state; }
|
|
|
|
|
set { _visible_state = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|