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.
103 lines
2.9 KiB
103 lines
2.9 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_WARNINFO", TimeStampColumn = "UPDATEDATE")]
|
|
public class WarnInfo : 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>
|
|
///是否发送(0:未发送 1:已发送)
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ISDEAL", DataType = DbType.String)]
|
|
public string ISDEAL { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///是否完成(0:未完成 1:已完成)
|
|
///</summary>
|
|
[DBColumn(ColumnName = "ISDONE", DataType = DbType.String)]
|
|
public string ISDONE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///生成方式(0:自动生成 1:手动生成)
|
|
///</summary>
|
|
[DBColumn(ColumnName = "CREATETYPE", DataType = DbType.String)]
|
|
public string CREATETYPE { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///备注
|
|
///</summary>
|
|
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
|
|
public string MEMO { 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; }
|
|
}
|
|
}
|