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 { /// /// 模块编号: /// 作 用:加工记录页面模型 /// 作 者:王丹丹 /// 编写日期:2015年06月08日 /// public class MainOperationReviewModel : QDGModel { /// ///加工记录主键 /// [Description("加工记录主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///零件信息主键(当零件类别是9时,是本体ID) /// [Description("零件信息主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string PDID { 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; } /// ///工序类别 /// [Description("工序类别")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2)] [InputType(inputType.text)] public string PROCESSTYPE { get; set; } /// ///零件类别 /// [Description("零件类别")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2)] [InputType(inputType.text)] public string PRODUCTTYPE { get; set; } /// ///设备名称 /// [Description("设备名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string MACHINENAME { get; set; } /// ///设备编码 /// [Description("设备编码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string MACHINECODDE { get; set; } /// ///产品状态 /// [Description("产品状态")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string STATUS { get; set; } /// ///加工状态 /// [Description("加工状态")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string OPERATESTATE { 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 OPERATEDDATE { get; set; } /// ///当前工序 /// [Description("当前工序")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string CURRENTPROCESS { get; set; } /// ///班次信息名称 /// [Description("班次信息名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string PRODUCESHIFTNAME { get; set; } /// ///班次信息编号 /// [Description("班次信息编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] public string PRODUCESHIFTTCODE { get; set; } /// ///生产线 /// [Description("生产线")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] public string PRODUCELINE { get; set; } /// ///文件名称 /// [Description("文件名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string FILENAME { get; set; } /// ///文件路径 /// [Description("文件路径")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 500)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string FILEPATH { get; set; } /// ///模具位置 /// [Description("模具位置")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string MODELSTATION { get; set; } /// ///创建用户 /// [Description("创建用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string CREATEUSER { get; set; } /// ///创建用户 /// [Description("创建用户")] [DGColumn(frozenColumns = false, 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("更新用户")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.text)] public string UPDATEUSER { get; set; } /// ///更新时间 /// [Description("更新时间")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 8)] [InputType(inputType.datebox)] public DateTime UPDATEDATE { get; set; } } }