using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Mvc.Html; using QMAPP.Web; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; namespace QMAPP.Web.Models.Sys { /// /// 用户委托授权 /// public class UserEntrustModel : QDGModel { /// /// 主键 /// [HTMLInput(UpdateRead = true, required = true, MaxLength = 36)] [InputType(inputType.hidden)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// /// 委托用户 /// [Description("委托用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36,Width = 80)] [InputType(inputType.text)] public string ENTRUSTUSER { get; set; } /// /// 委托用户 /// [Description("委托用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 70)] [InputType(inputType.text)] public string ENTRUSTUSERNAME { get; set; } [Description("委托用户")] [HTMLInput(UpdateRead = false, required = true)] [InputType(inputType.hidden)] [DGColumn(Sortable = true, Width = 80)] public string ENTRUSTUSERID { get; set; } /// /// 代理用户 /// [Description("代理用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 80)] [InputType(inputType.text)] public string AGENTUSER { get; set; } /// /// 代理用户 /// [Description("代理用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 70)] [InputType(inputType.text)] public string AGENTUSERNAME { get; set; } /// /// 代理用户 /// [Description("代理用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36,Width = 150)] [InputType(inputType.combobox)] [DGColumn(Sortable = true, Width = 80)] public string AGENTUSERID { get; set; } /// /// 起始时间 /// [Description("起始时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20,Width=150)] [InputType(inputType.dateTimeBox)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime STARTTIME { get; set; } /// /// 结束时间 /// [Description("结束时间")] [HTMLInput(UpdateRead = false,required=true, MaxLength = 20,Width=150)] [InputType(inputType.dateTimeBox)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime ENDTIME { get; set; } /// /// 委托原因 /// [Description("委托原因")] [HTMLInput(UpdateRead = false,required = true,MaxLength = 150, Width = 400)] [InputType(inputType.text)] [DGColumn(Sortable = true, Width = 200)] public string ENTRUSTREASON { get; set; } /// /// 删除标志 /// [Description("删除标志")] [InputType(inputType.hidden)] public string FLGDEL { 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 CREATEDATE { 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 UPDATEDATE { get; set; } /// /// 选择的权限 /// [InputType(inputType.hidden)] public string SelectedPowers { get; set; } /// /// 起始时间 /// [Description("起始时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.datebox)] public string STARTDATE { get; set; } /// /// 结束时间 /// [Description("结束时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.datebox)] public string ENDDATE { get; set; } } }