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.WIPManage { /// /// 模块编号:M7-2 /// 作 用:在制品入库信息 /// 作 者:王济 /// 编写日期:2015年07月07日 /// public class WIPInRecorderModel : 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 = 30, Width = 210)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 180, DataAlign = DataAlign.center)] public string PRODUCTCODE { get; set; } /// ///零件分类 /// [Description("零件类别")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2, Width = 214, JsonUtl = "/WIPInventory/GetProductSetDropDownList")] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PRODUCTTYPE { get; set; } /// ///工序类别 /// [Description("工序类别")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2, Width = 214, JsonUtl = "/WIPInventory/GetProcessSetDropDownList")] [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PROCESSTYPE { 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 MACHINENAME { 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 MACHINECODDE { 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 = 50)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PRODUCESHIFTTCODE { get; set; } /// /// 入库时间 /// [Description("入库时间")] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime INTIME { 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 = true, MaxLength = 20)] [InputType(inputType.hidden)] [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, MaxLength = 7, Width = 210, FormatDate = "yyyy-MM-dd")] [InputType(inputType.datebox)] public string STARTCREATEDATE { get; set; } [Description("至")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 210, FormatDate = "yyyy-MM-dd")] [InputType(inputType.datebox)] public string ENDCREATEDATE { 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 UPDATEUSER { get; set; } // /// 更新时间 /// [Description("更新时间")] [HTMLInput(UpdateRead = true, MaxLength = 20)] [InputType(inputType.hidden)] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime UPDATEDATE { get; set; } } }