using System; using System.Web.Mvc; using System.Web.Mvc.Html; using QMAPP.Web; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; namespace QMAPP.MD.Web.Models { /// /// 模块名称:采集数据借口 /// 作 者:QMMES /// 编写日期:2017年09月05日 /// public class DaiDataModel : QDGModel { public DaiDataModel() { this.pagination = false; this.rownumbers = false; this.Editable = true; this.rownumbers = false; this.url = "/Dai/GetDetailList"; } /// ///主键 /// [Description("")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(Hidden = true, PrimaryKey = true)] public string PID { get; set; } /// ///采集点编码 /// [Description("采集点编码")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 6)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string DA_CODE { get; set; } /// ///数据项编码 /// [Description("数据项编码")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string ITEM_CODE { get; set; } /// ///数据项目名称 /// [Description("数据项目名称")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string ITEM_NAME { get; set; } /// ///关键数据项 /// [Description("关键数据项")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 1)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string FLAG_ITEM { get; set; } /// ///数据类型 /// [Description("数据类型")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 2)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string DATA_TYPE { get; set; } /// ///检验特性编码 /// [Description("检验特性编码")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 6)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string INSP_FEATURE_CODE { get; set; } /// ///物料号 /// [Description("物料号")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 20)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string MATERIAL_CODE { get; set; } /// ///描述 /// [Description("描述")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 200)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string REMARK { get; set; } /// ///创建用户 /// [Description("创建用户")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string CREATEUSER { get; set; } /// ///创建时间 /// [Description("创建时间")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 8)] [InputType(inputType.datebox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, Editor = CellEditorType.datebox)] public DateTime CREATEDATE { get; set; } /// ///更新用户 /// [Description("更新用户")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 36)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string UPDATEUSER { get; set; } /// ///更新时间 /// [Description("更新时间")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 8)] [InputType(inputType.datebox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, Editor = CellEditorType.datebox)] public DateTime UPDATEDATE { get; set; } /// ///删除标识 /// [Description("删除标识")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 1)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)] public string FLGDEL { get; set; } /// /// 明细数据 /// public string DetailValue { get; set; } } }