using System;
using QMFrameWork.Data.Attributes;
using System.Data;
using QMAPP.Entity;
namespace QMAPP.FJC.Entity.WarnManage
{
///
/// 模块编号:报警类别数据模型
/// 作 用:报警类别维护
/// 作 者:张敬贺
/// 编写日期:2015年06月19日
///
[DBTable(TableName = "T_AW_WARNTYPE", TimeStampColumn = "UPDATEDATE")]
public class WarnType : BaseEntity
{
///
///主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///报警类别(0:网络故障 1:设备故障)
///
[DBColumn(ColumnName = "WARNTYPE", DataType = DbType.String)]
public string WARNTYPE { get; set; }
///
///报警代码
///
[DBColumn(ColumnName = "WARNCODE", DataType = DbType.String)]
public string WARNCODE { get; set; }
///
///报警描述
///
[DBColumn(ColumnName = "WARNDESCRIBE", DataType = DbType.String)]
public string WARNDESCRIBE { get; set; }
///
///创建用户
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
///
///创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
public DateTime STARTCREATEDATE { get; set; }
public DateTime ENDCREATEDATE { get; set; }
///
///更新用户
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
public string UPDATEUSERNAME { get; set; }
///
///更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
/// 报警与人员关联标记
///
public bool IsTypeWithInformer { get; set; }
///
/// 报警通知人员ID
///
public string WarnInformerId { get; set; }
}
}