using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using WMS.Attirubte; namespace WMS.Model.Base { /// /// 菜单 /// [Serializable] [TableClmAttribute(TableName = "T_BASE_MENU")] public class BaseMenuModel { private string _P_MENU_ID =string.Empty; private string _MENU_ID=string.Empty; private string _MENU_NAME = string.Empty; private string _MENU_LEVEL ="1"; private string _REMARK= string.Empty; private string _MENU_FORM = string.Empty; private string _MENU_TAG = string.Empty; private string _MENU_IMAGE = string.Empty; private string _FRM_TYPE = string.Empty; private string _P_MENU_NAME = string.Empty; private string _VC_EIDT = string.Empty; private decimal _MENU_SORT = 0; private Boolean _ischeck=false; /// /// 选择 /// [DisplayName("选择")] [TableClm(NoSelect = false)] public Boolean IsCheckRec { get { return _ischeck; } set { _ischeck = value; } } /// /// 父菜单的id /// /// [DisplayName("父菜单")] public string P_MENU_ID { set { _P_MENU_ID = value; } get { return _P_MENU_ID; } } /// /// 菜单的id /// /// [DisplayName("菜单编号")] public string MENU_ID { set { _MENU_ID = value; } get { return _MENU_ID; } } /// /// 菜单的名称 /// /// [DisplayName("父菜单名称")] [TableClm(NoSelect = false)] public string P_MENU_NAME { set { _P_MENU_NAME = value; } get { return _P_MENU_NAME; } } /// /// 窗体编辑(0:不可编辑;1:可编辑) /// /// [DisplayName("窗体编辑")] [TableClm(ColumnData = "不可编辑%0|可编辑%1")] public string VC_EIDT { set { _VC_EIDT = value; } get { return _VC_EIDT; } } /// /// 菜单的名称 /// /// [DisplayName("菜单名称")] public string MENU_NAME { set { _MENU_NAME = value; } get { return _MENU_NAME; } } /// /// 菜单的级别 1,2, /// /// [DisplayName("等级")] public string MENU_LEVEL { set { _MENU_LEVEL = value; } get { return _MENU_LEVEL; } } /// /// 备注 /// /// [DisplayName("备注")] public string REMARK { set { _REMARK = value; } get { return _REMARK; } } /// /// 菜单对应的窗体名 /// /// [DisplayName("窗体名")] public string MENU_FORM { set { _MENU_FORM = value; } get { return _MENU_FORM; } } /// /// 模块的名称 /// /// [DisplayName("模块名称")] public string MENU_TAG { set { _MENU_TAG = value; } get { return _MENU_TAG; } } /// /// 图片地址 /// /// [DisplayName("图片地址")] public string MENU_IMAGE { set { _MENU_IMAGE = value; } get { return _MENU_IMAGE; } } /// /// 窗体的类型 /// /// [DisplayName("窗体类型")] public string FRM_TYPE { set { _FRM_TYPE = value; } get { return _FRM_TYPE; } } /// /// 窗体排序 /// /// [DisplayName("窗体排序")] public decimal MENU_SORT { set { _MENU_SORT = value; } get { return _MENU_SORT; } } /// /// 菜单初始值 /// string _MENU_VAL = string.Empty; [DisplayName("菜单初始值")] public string MENU_VAL { set { _MENU_VAL = value; } get { return _MENU_VAL; } } } }