using System;
using System.Data;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
namespace QMAPP.FJC.Entity.MachineCheck
{
///
/// 模块编号:
/// 作 用:设备点检
/// 作 者:周晓东
/// 编写日期:2017年11月29日
///
[DBTable(TableName = "T_BD_MACHINECHECK")]
public class MachineCheckEntity:BaseEntity
{
///
///主键
///
[DBColumn(ColumnName="PID",DataType=DbType.String,IsKey=true)]
public string PID { get; set; }
///
///点检日期
///
[DBColumn(ColumnName = "CHECKDATE", DataType = DbType.DateTime)]
public DateTime CHECKDATE { get; set; }
public DateTime STARTCHECKDATE { get; set; }
public DateTime ENDCHECKDATE { get; set; }
///
///班次
///
[DBColumn(ColumnName = "SHIFT_CODE", DataType = DbType.String)]
public string SHIFT_CODE { get; set; }
public string SHIFT_CODE_TXT { get; set; }
///
///0:初始化
///1:点检完成
///
[DBColumn(ColumnName = "CHECKSTATUS", DataType = DbType.String)]
public string CHECKSTATUS { get; set; }
public string CHECKSTATUSTXT { get; set; }
///
///1:合格 0:不合格
///
[DBColumn(ColumnName = "CHECKRESULT", DataType = DbType.String)]
public string CHECKRESULT { get; set; }
public string CHECKRESULTTXT { get; set; }
///
///设备
///
[DBColumn(ColumnName = "MACHINECODE", DataType = DbType.String)]
public string MACHINECODE { get; set; }
public string MACHINECODETXT { get; set; }
//MaximoDataDB-资产编号
public string ASSETNUM { get; set; }
///
///工序
///
[DBColumn(ColumnName = "WORKCELL_CODE", DataType = DbType.String)]
public string WORKCELL_CODE { get; set; }
public string WORKCELL_CODE_TXT { get; set; }
///
///工位
///
[DBColumn(ColumnName = "WORKLOC_CODE", DataType = DbType.String)]
public string WORKLOC_CODE { get; set; }
public string WORKLOC_CODE_TXT { get; set; }
///
///描述
///
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///
///
///
[DBColumn(ColumnName="CREATEUSER",DataType=DbType.String)]
public string CREATEUSER { get; set; }
///
///
///
[DBColumn(ColumnName="CREATEDATE",DataType=DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
///
///
///
[DBColumn(ColumnName="UPDATEUSER",DataType=DbType.String)]
public string UPDATEUSER { get; set; }
//MaximoDataDB-报告人
public string CHECKER { get; set; }
///
///
///
[DBColumn(ColumnName="UPDATEDATE",DataType=DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
//MaximoDataDB-点检时间
public DateTime DATETIME { get; set; }
//
/// 0:维修维护点检 1:设备操作者点检
///
[DBColumn(ColumnName = "CHECKTYPE", DataType = DbType.String)]
public string CHECKTYPE { get; set; }
public string CHECKTYPETXT { get; set; }
public string MACHINECHECK_URL { get; set; }
}
}