using System; using System.Web.Mvc; using System.Web.Mvc.Html; using QMFrameWork.WebUI; using QMFrameWork.WebUI.Attribute; namespace QMAPP.FJC.Web.Models.WarnManage { /// /// 模块编号:M6-3设备报警记录查询 /// 作 用:设备报警记记录查询 /// 作 者:张敬贺 /// 编写日期:2015年06月17日 /// public class WarnInfoModel : 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 = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=WARNTYPE")] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 155, DataAlign = DataAlign.center)] public string WARNTYPE { get; set; } /// ///报警代码 /// [Description("报警代码")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 50)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 155, DataAlign = DataAlign.center)] public string WARNCODE { get; set; } /// ///生成方式 /// [Description("生成方式")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1)] [InputType(inputType.text)] [DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)] public string CREATETYPE { get; set; } /// ///是否发送 /// [Description("是否发送")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=ISDEAL")] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 155, DataAlign = DataAlign.center)] public string ISDEAL { get; set; } /// ///是否关闭 /// [Description("是否关闭")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=ISDONE")] [InputType(inputType.combobox)] [DGColumn(frozenColumns = false, Sortable = true, Width = 155, DataAlign = DataAlign.center)] public string ISDONE { get; set; } /// ///报警描述 /// [Description("报警描述")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 100, Width = 153, Height = 70)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public string WARNDESCRIBE { get; set; } /// ///备注 /// [Description("备注")] [HTMLInput(UpdateRead = false, required = false, MaxLength = 100, Width = 153, Height = 70)] [InputType(inputType.textArea)] [DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.left)] public string MEMO { get; set; } /// /// 创建用户 /// [Description("创建用户")] public string CREATEUSER { get; set; } /// /// 创建用户 /// [Description("创建用户")] [DGColumn(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 = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")] [InputType(inputType.dateTimeBox)] public string STARTCREATEDATE { get; set; } [Description("至")] [HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")] [InputType(inputType.dateTimeBox)] public string ENDCREATEDATE { get; set; } /// /// 更新用户 /// [Description("更新用户")] public string UPDATEUSER { get; set; } /// /// 更新用户 /// [Description("更新用户")] [DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)] public string UPDATEUSERNAME { 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 UPDATEDATE { get; set; } } }