using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
using System.Data;
namespace QMAPP.FJC.Entity.WarnManage
{
///
/// 模块编号:M6-2
/// 作 用:设备停机记录查询
/// 作 者:王丹丹
/// 编写日期:2015年06月18日
///
[DBTable(TableName = "T_AW_EQUIPMENTMAINTAIN", TimeStampColumn = "UPDATEDATE")]
public class EquipMentMaintain : BaseEntity
{
///
///设备停机维护主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///设备信息主键
///
[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; }
///
///工序类别
///
[DBColumn(ColumnName = "PROCESSTYPE", DataType = DbType.String)]
public string PROCESSTYPE { get; set; }
///
///报警类别
///
[DBColumn(ColumnName = "WARNTYPE", DataType = DbType.String)]
public string WARNTYPE { get; set; }
///
///停机开始时间
///
[DBColumn(ColumnName = "DOWNTIMESTART", DataType = DbType.DateTime)]
public DateTime DOWNTIMESTART { get; set; }
///
///停机结束时间
///
[DBColumn(ColumnName = "DOWNTIMEEND", DataType = DbType.DateTime)]
public DateTime DOWNTIMEEND { get; set; }
///
///停机开始时间(查询条件)
///
public string DOWNTIMESTARTTXT { get; set; }
///
///停机结束时间(查询条件)
///
public string DOWNTIMEENDTXT { get; set; }
///
///停机原因
///
[DBColumn(ColumnName = "DOWNTIMEREMARK", DataType = DbType.String)]
public string DOWNTIMEREMARK { get; set; }
///
///生产线
///
[DBColumn(ColumnName = "PRODUCELINE", DataType = DbType.String)]
public string PRODUCELINE { get; set; }
///
///备注
///
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
public string MEMO { 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; }
///
///更新用户
///
[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 string InfoError { get; set; }
///
/// 导入时判断添加修改
///
public bool IsNewInfo { get; set; }
}
}