天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

150 lines
5.5 KiB

using System;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.FJC.Web.Models.WarnManage
{
///</summary>
/// 模块编号:M6-3设备报警记录查询
/// 作 用:报警详细
/// 作 者:张敬贺
/// 编写日期:2015年06月29日
///</summary>
public class WarnDetailModel : QDGModel
{
///<summary>
///主键
///</summary>
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///<summary>
///报警信息主键
///</summary>
[Description("报警信息主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.text)]
public string WPID { get; set; }
///<summary>
///设备报警通知人主键
///</summary>
[Description("设备报警通知人主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.text)]
public string INID { get; set; }
///<summary>
///通知人员姓名
///</summary>
[Description("通知人员姓名")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100, Width = 150)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string INFORMNAME { get; set; }
///<summary>
///通知人员姓名代码
///</summary>
[Description("通知人员代码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 150)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string INFORMCODE { get; set; }
///<summary>
///通知方式(0:短信 1:邮件通知 2:短信加邮件)
//////</summary>
[Description("通知方式")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1, JsonUtl = "/Dict/GetFixedComboxSource?kind=INFOTYPE", multiple = false, Width = 155)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string INFOTYPE { get; set; }
///<summary>
///邮箱
///</summary>
[Description("邮箱")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, DataType = QDataType.email, Width = 150)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string MAIL { get; set; }
///<summary>
///手机号码
///</summary>
[Description("手机号码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 150)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MOBILEPHONENUMBER { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CREATEUSER { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSERNAME { get; set; }
///<summary>
///创建时间
///</summary>
[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; }
/// <summary>
/// 更新用户
/// </summary>
[Description("更新用户")]
public string UPDATEUSER { get; set; }
/// <summary>
/// 更新用户
/// </summary>
[Description("更新用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string UPDATEUSERNAME { get; set; }
///<summary>
///更新时间
///</summary>
[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; }
/// <summary>
/// 报警信息ID
/// </summary>
public string WarnInfoIds { get; set; }
/// <summary>
/// 报警通知人ID
/// </summary>
public string WarnInformerIds { get; set; }
}
}