using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc.Html; using QMFrameWork.WebUI.Attribute; using QMFrameWork.WebUI; namespace QMAPP.Web.Models.Sys { /// /// 联系人模型 /// public class ContractUserModel : QDGModel { public ContractUserModel() { //设置页尺寸 this.pageSize = MvcApplication.PageSize.ToString(); ShowProgress = true; } /// /// 用户主键 /// [Description("用户编号")] [HTMLInput(UpdateRead = true, required = true, MaxLength = 36)] [InputType(inputType.hidden)] [DGColumn(Hidden = true, PrimaryKey = true)] public string UserID { get; set; } /// /// 员工姓名 /// [Description("员工姓名")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(Sortable = true, Width = 70)] public string UserName { get; set; } /// /// 电子邮件 /// [Description("电子邮件")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(Sortable = true, Width = 160)] public string Email { get; set; } } }