using System;
using QMFrameWork.Data.Attributes;
using System.Data;
using QMAPP.Entity;
namespace QMAPP.FJC.Entity.WarnManage
{
///
/// 模块编号:设备报警记录数据模型
/// 作 用:设备报警记录数据模型
/// 作 者:张敬贺
/// 编写日期:2015年06月17日
///
[DBTable(TableName = "T_AW_EQUIPMENTALARM", TimeStampColumn = "UPDATETIME")]
public class EquipMentAlarm : BaseEntity
{
///
///主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///设备信息ID
///
[DBColumn(ColumnName = "MID", DataType = DbType.String)]
public string MID { get; set; }
///
///设备名称
///
[DBColumn(ColumnName = "MACHINENAME", DataType = DbType.String)]
public string MACHINENAME { get; set; }
///
///设备编码
///
[DBColumn(ColumnName = "MACHINECODDE", DataType = DbType.String)]
public string MACHINECODDE { get; set; }
///
///工序类别(0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑 4:中控之间注塑 5:HUD风道注塑 6:冷刀弱化 7:火焰加工 8:预热 9:浇注 10:红外扫描 11:冲切 12:铣削 13:铆接 14:超时波焊接 15:红外焊接 16:总成装配)
//////
[DBColumn(ColumnName = "PROCESSTYPE", DataType = DbType.String)]
public string PROCESSTYPE { get; set; }
///
///报警类别
///
[DBColumn(ColumnName = "WARNTYPE", DataType = DbType.String)]
public string WARNTYPE { get; set; }
///
///创建用户
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { 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; }
///
///更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
}
}