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 { public class ProcessRuleModel : QDGModel { /// /// /// [Description("PID")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.hidden)] [DGColumn(Hidden=true, PrimaryKey = true)] public string PID { get; set; } /// /// /// [Description("PSD")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PSD { get; set; } [Description("操作工序")] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PROCESSNAME { get; set; } /// /// /// [Description("被校验工序")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string RULECONTENT { get; set; } /// /// /// [Description("值/分钟")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 10)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public int RULEVALUE { get; set; } /// /// [Description("类别")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.hidden)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string RULETYPE { get; set; } public string RULETYPES { get; set; } /// /// /// [Description("产品类别")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PRODUCTTYPE { get; set; } /// /// /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PRODUCTSOURSE { get; set; } /// /// /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string PRODUCTATTR { get; set; } /// ///0:搪塑 /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 2)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string CURRENTPROCESS { get; set; } /// /// /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 4)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public int RULESORT { get; set; } /// /// /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string CREATEUSER { get; set; } /// /// /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 8)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")] public DateTime CREATEDATE { get; set; } /// /// /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string UPDATEUSER { get; set; } /// /// /// [Description("")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 8)] [InputType(inputType.hidden)] //[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd")] public DateTime UPDATEDATE { get; set; } /// /// /// [Description("备注")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 200,Width = 153, Height = 50)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = false, Sortable = true, Width = 300, DataAlign = DataAlign.left)] public string MEMO { get; set; } } }