using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc.Html; using QMFrameWork.WebUI.Attribute; using QMFrameWork.WebUI; using QMAPP.Entity.Sys; namespace QMAPP.MD.Web.Models.Sys { public class OrgaizationModel : QDGModel { public OrgaizationModel() { } /// /// 组织编号 /// [Description("组织编号")] [HTMLInput(UpdateRead = true, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(Sortable = true, Width = 100,PrimaryKey = true)] public string OrgaID { get; set; } /// /// 组织名称 /// [Description("组织名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(Sortable = true, Width = 200)] public string OrgaDESC { get; set; } /// /// 激活 /// [Description("激活")] public bool CkACTIVATEFLG { get; set; } /// /// 激活 /// [Description("激活")] [DGColumn(Sortable = true, Width = 60,DataAlign=DataAlign.center)] public string ACTIVATEFLG { get; set; } /// /// 上级组织 /// [Description("上级组织")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.hidden)] [DGColumn(Hidden = true,Sortable = true, Width = 200)] public string OrgaParent { get; set; } /// /// 上级组织 /// [Description("上级组织")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(Sortable = true, Width = 200)] public string OrgaParentDESC { get; set; } /// /// 创建人 /// [Description("创建人")] [InputType(inputType.hidden)] [DGColumn(frozenColumns = false, Sortable = true, Width = 80)] public string CreateUser { get; set; } /// /// 创建日期 /// [Description("创建日期")] [InputType(inputType.hidden)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime CreateTime { get; set; } /// /// 更新人 /// [InputType(inputType.hidden)] [Description("更新人")] [DGColumn(frozenColumns = false, Sortable = true, Width = 80)] public string UpdateUser { get; set; } /// /// 更新日期 /// [Description("更新日期")] [InputType(inputType.hidden)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime UpdateTime { get; set; } /// /// 组织机构列表 /// public List OrgaList { get; set; } /// /// 选择的权限 /// [InputType(inputType.hidden)] public string SelectedPowers { get; set; } /// /// 选择的角色 /// [InputType(inputType.hidden)] public string SelectedRoles { get; set; } /// /// 删除标识 /// public string DelFlag { get; set; } /// /// 是否编辑画面 /// public string isEdit { get; set; } } }