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-1 /// 作 用:在制品库存 /// 作 者:王济 /// 编写日期:2015年07月06日 /// public class WIPInventoryModel : 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 = 50, 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 = 50, Width = 214, JsonUtl = "/WIPInventory/GetProcessSetDropDownList")]// [InputType(inputType.combobox)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string CURRENTPROCESS { 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, Width = 210)] [InputType(inputType.text)] [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("使用状态")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string USINGSTATE { get; set; } /// ///物料类别 /// [Description("物料类别")] //[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] //[InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = false, Width = 70, DataAlign = DataAlign.center)] public string MATERIAL_TYPE { get; set; } /// ///物料号 /// [Description("物料号")] //[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] //[InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 70, DataAlign = DataAlign.center)] public string MATERIAL_CODE { get; set; } /// ///零件状态 /// [Description("零件状态")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string STATUS { get; set; } /// ///出库标记 /// [Description("出库标记")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string OUTFLAG { 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("创建时间")] [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 = 36)] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string UPDATEUSER { get; set; } /// /// 更新时间 /// [Description("更新时间")] [DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime UPDATEDATE { get; set; } } }