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.Basic { /// /// 模块编号:M3-1 /// 作 用:注塑投料记录页面模型 /// 作 者:王丹丹 /// 编写日期:2015年06月01日 /// public class InJectionRecorderModel : 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 MATERIALNAME { get; set; } /// ///物料号 /// [Description("物料号")] [HTMLInput(UpdateRead = true, required = true, MaxLength = 40)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string MATERIALCODE { get; set; } /// ///物料类别(0:原材料 1:织物衬布) /// [Description("物料类别")] [HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=INJECTIONMATERIALTYPE", MaxLength = 1)] [InputType(inputType.combobox)] public string MATERIALTYPE { get; set; } [Description("物料类别")] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string MATERIALTYPETXT { get; set; } /// ///原材料批次号 /// [Description("原材料批次号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string MATERIALBATCH { get; set; } /// ///设备分类(0:搪塑 1:注塑) /// [Description("设备分类")] [HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=MACHINETYPE", MaxLength = 1)] [InputType(inputType.combobox)] public string MACHINETYPE { get; set; } [Description("设备分类")] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string MACHINETYPETXT { get; set; } /// ///工序类别(0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑 4:开关支架注塑 5:HUD风道注塑) /// [Description("工序类别")] [HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=PROCESSTYPE", MaxLength = 2)] [InputType(inputType.combobox)] public string PROCESSTYPE { get; set; } [Description("工序类别")] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PROCESSTYPETXT { get; set; } /// ///设备名称 /// [Description("设备名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string MACHINENAME { get; set; } /// ///设备编码 /// [Description("设备编码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/InJectionRecorder/GetMachineInfoComboxSource")] [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 = 4)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] 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.center)] public int INJECTIONTERMINAL { get; set; } /// ///投料重量 /// [Description("投料重量")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 4)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public int METERIALWEIGHT { get; set; } /// ///已使用重量 /// [Description("已使用重量")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 4)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public int USEDWEIGHTSUM { get; set; } /// ///班次信息名称 /// [Description("班次名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PRODUCESHIFTNAME { get; set; } /// ///班次信息编号 /// [Description("班次编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50, JsonUtl = "/InJectionRecorder/GetProductShiftComboxSource")] [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 = 20)] [InputType(inputType.text)] public string PRODUCELINE { get; set; } /// /// 创建用户 /// [Description("操作用户")] public string CREATEUSER { get; set; } /// /// 创建时间 /// [Description("创建时间")] [InputType(inputType.hidden)] public string CREATEDATE { get; set; } /// /// 创建用户 /// [Description("操作用户")] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string CREATEUSERNAME { get; set; } /// /// 更新用户 /// [Description("更新用户")] [InputType(inputType.hidden)] public string UPDATEUSER { get; set; } /// /// 更新时间 /// [Description("更新时间")] [InputType(inputType.hidden)] public string UPDATEDATE { get; set; } } }