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.ProductPetrospect { /// /// 模块编号:M5-2 /// 作 用:产品批次追溯页面模型 /// 作 者:王丹丹 /// 编写日期:2015年06月11日 /// public class ProductInjectionModel : 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 = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true)] public string IPID { get; set; } /// ///零件条码主键 /// [Description("零件条码主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true)] public string MPPID { get; set; } /// ///零件条码 /// [Description("表皮条码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)] public string PRODUCTCODE { get; set; } /// ///零件条码 /// [Description("总成条码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 30)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)] public string MAINCODE { get; set; } /// ///零件类别 /// [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] [Description("零件类别")] public string PRODUCTTYPE { get; set; } /// ///设备编号 /// [HTMLInput(UpdateRead = false, required = true, MaxLength = 40)] [InputType(inputType.text)] [Description("设备编号")] public string MACHINECODDE { get; set; } /// ///设备名称 /// [HTMLInput(UpdateRead = false, required = true, MaxLength = 40)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] [Description("设备名称")] public string MACHINENAME { get; set; } /// ///物料名称 /// [Description("物料名称")] public string MATERIALNAME { get; set; } /// ///物料号 /// [Description("物料号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 40)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string MATERIALCODE { get; set; } /// ///物料类别 /// [Description("物料类别")] public string MATERIALTYPE { get; set; } /// ///批次号 /// [Description("批次号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string MATERIALBATCH { 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 INJECTIONINDEX { 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 INJECTIONTERMINAL { get; set; } /// ///本次注料重量 /// [Description("本次注料重量")] public int USEDWEIGHT { get; set; } /// ///工序类别 /// [Description("工序类别")] public string PROCESSTYPE { get; set; } /// ///操作用户 /// [Description("操作用户")] public string CREATEUSER { get; set; } /// /// 操作用户 /// [Description("操作用户")] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string CREATEUSERNAME { get; set; } /// ///投料时间 /// [Description("投料时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 8)] [InputType(inputType.datebox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")] public DateTime CREATEDATE { get; set; } /// ///更新用户 /// [Description("更新用户")] public string UPDATEUSER { get; set; } public string UPDATEUSERNAME { get; set; } /// ///更新时间 /// [Description("更新时间")] public DateTime UPDATEDATE { get; set; } } }