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 UserPowerModel { /// /// 用户主键 /// [Description("用户主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.hidden)] public string UserID { get; set; } /// /// 用户名 /// [Description("用户名")] [HTMLInput(UpdateRead = true, required = true, MaxLength = 50, Width = 100)] [InputType(inputType.text)] public string LoginUserID { get; set; } /// /// 员工工号 /// [Description("员工工号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 15, Width = 100)] [InputType(inputType.text)] public string EmployeeNO { get; set; } /// /// 员工姓名 /// [Description("员工姓名")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 100)] [InputType(inputType.text)] public string UserName { get; set; } /// /// 更新日期 /// [Description("更新日期")] [InputType(inputType.hidden)] public DateTime UpdateDate { get; set; } [Description("仓库")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string CorpID { get; set; } /// ///仓库编号 /// [Description("仓库编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 4,Width=120)] [InputType(inputType.text)] public string CorpCode { get; set; } /// ///仓库名称 /// [Description("仓库名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 4,Width=120)] [InputType(inputType.text)] public string CorpName { get; set; } /// ///零件类别 /// [Description("零件类别")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string MatSortID { get; set; } /// ///零件类别编号 /// [Description("零件类别编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3, Width = 120)] [InputType(inputType.text)] public string MatSortNO { get; set; } /// ///零件类别名称 /// [Description("零件类别名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 120)] [InputType(inputType.text)] public string MatSortName { get; set; } [Description("全部授权")] [HTMLInput] [InputType(inputType.checkBox)] public bool AllLines { get; set; } /// /// 路线 /// [Description("路线")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string LineID { get; set; } /// ///路线编号 /// [Description("路线编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3,Width=100)] [InputType(inputType.text)] public string LineNO { get; set; } /// ///路线名称 /// [Description("路线名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3,Width=100)] [InputType(inputType.combobox)] public string LineName { get; set; } /// ///要货地 /// [Description("要货地")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string PLACEDISID { get; set; } /// ///要货地编号 /// [Description("要货地编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 6, Width = 120)] [InputType(inputType.text)] public string PLACEDISNO { get; set; } /// ///要货地名称 /// [Description("要货地名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 120)] [InputType(inputType.text)] public string DESCRIBE_SITE { get; set; } /// ///发货地 /// [Description("发货地")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string SENDPLACEID { get; set; } /// ///发货地编号 /// [Description("发货地编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 3, Width = 120)] [InputType(inputType.text)] public string SENDPLACENO { get; set; } /// ///发货地名称 /// [Description("发货地名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 120)] [InputType(inputType.text)] public string SENDPLACENAME { get; set; } /// /// 已选中仓库(逗号分隔) /// public string SelectedCorp { get; set; } /// /// 相关仓库 /// public string CorpList { get; set; } /// /// 相关路线 /// public string LineList { get; set; } /// /// 相关零件类别 /// public string MatSortList { get; set; } /// /// 相关要货地 /// public string RequestPlaceList { get; set; } /// /// 相关发货地 /// public string SendPlaceList { get; set; } } }