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.
126 lines
2.7 KiB
C#
126 lines
2.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Estsh.Core.Model
|
|
{
|
|
[Serializable]
|
|
public class SysWebGridColumn
|
|
{
|
|
private int _column_id;
|
|
public int column_id
|
|
{
|
|
get { return _column_id; }
|
|
set { _column_id = value; }
|
|
}
|
|
|
|
private int _menu_id;
|
|
public int menu_id
|
|
{
|
|
get { return _menu_id; }
|
|
set { _menu_id = value; }
|
|
}
|
|
|
|
private int _grid_id;
|
|
public int grid_id
|
|
{
|
|
get { return _grid_id; }
|
|
set { _grid_id = value; }
|
|
}
|
|
|
|
private string _display = string.Empty;
|
|
public string display
|
|
{
|
|
get { return _display; }
|
|
set { _display = value; }
|
|
}
|
|
|
|
private string _name = string.Empty;
|
|
public string name
|
|
{
|
|
get { return _name; }
|
|
set { _name = value; }
|
|
}
|
|
|
|
private string _align = "left";
|
|
public string align
|
|
{
|
|
get { return _align; }
|
|
set { _align = value; }
|
|
}
|
|
|
|
private string _width = "80";
|
|
public string width
|
|
{
|
|
get { return _width; }
|
|
set { _width = value; }
|
|
}
|
|
|
|
private string _dateFmt = "yyyy-MM-dd HH:mm";
|
|
public string dateFmt
|
|
{
|
|
get { return _dateFmt; }
|
|
set { _dateFmt = value; }
|
|
}
|
|
|
|
private bool _hide = false;
|
|
public bool hide
|
|
{
|
|
get { return _hide; }
|
|
set { _hide = value; }
|
|
}
|
|
|
|
private string _type = "string";
|
|
public string type
|
|
{
|
|
get { return _type; }
|
|
set { _type = value; }
|
|
}
|
|
|
|
private bool _frozen = false;
|
|
public bool frozen
|
|
{
|
|
get { return _frozen; }
|
|
set { _frozen = value; }
|
|
}
|
|
|
|
private bool _isAllowHide = true;
|
|
public bool IsAllowHide
|
|
{
|
|
get { return _isAllowHide; }
|
|
set { _isAllowHide = value; }
|
|
}
|
|
|
|
private bool _isSort = false;
|
|
public bool isSort
|
|
{
|
|
get { return _isSort; }
|
|
set { _isSort = value; }
|
|
}
|
|
|
|
private bool _export = true;
|
|
public bool export
|
|
{
|
|
get { return _export; }
|
|
set { _export = value; }
|
|
}
|
|
|
|
private string _render;
|
|
public string render
|
|
{
|
|
get { return _render; }
|
|
set { _render = value; }
|
|
}
|
|
}
|
|
public enum Align
|
|
{
|
|
center,
|
|
justify,
|
|
left=1,
|
|
right,
|
|
inherit
|
|
}
|
|
|
|
}
|