天津投入产出系统后端
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.

86 lines
2.4 KiB

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