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.MD.Web.Models { /// /// 模块名称:缺陷表 /// 作 者:张松男 /// 编写日期:2021年5月26日 /// public class DefectDictModel : QDGModel { /// /// 缺陷表主键 /// [Description("缺陷表主键")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 36)] [InputType(inputType.hidden)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// /// 作废编号 /// [Description("作废编号")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] //输入框类型 [DGColumn(frozenColumns = true, Sortable = false, Width = 200, DataAlign = DataAlign.center)] public string MFGCODE { get; set; } /// /// 作废名称 /// [Description("作废名称")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string MFGNAME { get; set; } /// /// 类型 /// [Description("类型")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)] public string TYPE_CODE { get; set; } /// /// 备用字段 /// [Description("")] [HTMLInput(UpdateRead = true, required = true, MaxLength = 20)] //[InputType(inputType.text)] [DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 140, DataAlign = DataAlign.left)] [InputType(inputType.hidden)] public string MFGCODETYPE { get; set; } /// /// 备用字段 /// [Description("")] [HTMLInput(UpdateRead = true, required = true, MaxLength = 20)] //[InputType(inputType.text)] [DGColumn(Hidden = true, frozenColumns = true, Sortable = true, Width = 140, DataAlign = DataAlign.left)] [InputType(inputType.hidden)] public string MFGCODETYPENAME { get; set; } } }