using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using System.Data;
using QMAPP.Entity;
namespace QMAPP.MD.Entity
{
///
/// 模块名称:设备
/// 作 者:郭兆福
/// 编写日期:2017年05月10日
///
[DBTable(TableName = "T_MD_EQUIPMENT", TimeStampColumn = "UPDATEDATE")]
public class Equipment : BaseEntity
{
///
///设备信息主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///工作中心编码
///
[DBColumn(ColumnName = "WORKCENTER_CODE", DataType = DbType.String, IsKey = true)]
public string WORKCENTER_CODE { get; set; }
///
///工作中心名称
///
public string WORKCENTER_NAME { get; set; }
///
///设备类型
///
[DBColumn(ColumnName = "EQUIPMENT_TYPE", DataType = DbType.String)]
public string EQUIPMENT_TYPE { get; set; }
///
/// 设备类型名称
///
public string EQUIPMENT_TYPE_NAME { get; set; }
///
/// 关键设备标记
///
[DBColumn(ColumnName = "FLAG_EQUIPMENT", DataType = DbType.String)]
public string FLAG_EQUIPMENT { get; set; }
///
/// 关键设备标记名称
///
public string FLAG_EQUIPMENT_NAME { get; set; }
///
///设备编码
///
[DBColumn(ColumnName = "EQUIPMENT_CODE", DataType = DbType.String)]
public string EQUIPMENT_CODE { get; set; }
///
///设备名称
///
[DBColumn(ColumnName = "EQUIPMENT_NAME", DataType = DbType.String)]
public string EQUIPMENT_NAME { get; set; }
///
///设备编码
///
public string WORKCELL_CODE { get; set; }
///
///设备名称
///
public string WORKCELL_NAME { 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; }
///
///更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
///删除标识
///
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string FLGDEL { get; set; }
}
}