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.FJC.Web.Models.SendManage { public class SendPlanRecordModel : QDGModel { /// ///主键 /// [Description("主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///物料架名称 /// [Description("贴车单号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 100)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string SENDCODE { get; set; } /// /// 生成时间 /// [Description("生成时间")] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime CREATEDATE { get; set; } /// ///高低配 /// [Description("高低配")] [HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=HAndL", MaxLength = 1)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string VERSION { get; set; } /// ///颜色 /// [Description("颜色")] [HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=COLOR", MaxLength = 1)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string COLORCODE { get; set; } /// ///数量 /// [Description("数量")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 4)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.right)] public int COUNT { get; set; } /// ///班次 /// [Description("班次")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PRODUCESHIFTNAME { get; set; } /// ///操作人 /// [Description("操作人")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string CREATEUSER { get; set; } /// /// 操作时间 /// [Description("操作时间")] [HTMLInput(UpdateRead = false, MaxLength = 20)] [InputType(inputType.datebox)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public string STARTCREATEDATE { get; set; } [Description("至")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd")] [InputType(inputType.datebox)] public string ENDCREATEDATE { get; set; } } }