天津投入产出系统后端
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.

110 lines
3.2 KiB

using System;
using System.Collections.Generic;
using System.Data;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
namespace QMAPP.MD.Entity
{
/// </summary>
/// 模块名称:采集数据借口-状态码配置
/// 作 者:周晓东
/// 编写日期:2010514
/// </summary>
[DBTable(TableName = "T_MD_WORKCELL_STATE", TimeStampColumn = "UPDATEDATE")]
public class WorkCellState : BaseEntity
{
/// <summary>
/// 主键
/// </summary>
[DBColumn(ColumnName = "PID",DataType = DbType.String,IsKey = true)]
public string PID { get; set; }
/// <summary>
/// 工厂编号
/// </summary>
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
public string FACTORY_CODE { get; set; }
/// <summary>
/// 工厂名
/// </summary>
public string FACTORY_NAME { get; set; }
/// <summary>
/// 工序编码
/// </summary>
[DBColumn(ColumnName = "WORKCELL_CODE",DataType = DbType.String)]
public string WORKCELL_CODE { get; set; }
/// <summary>
/// 工序名称
/// </summary>
public string WORKCELL_NAME { get; set; }
/// <summary>
/// 状态码
/// </summary>
[DBColumn(ColumnName = "STATE_CODE", DataType = DbType.String)]
public string STATE_CODE { get; set; }
[DBColumn(ColumnName = "STATE_NAME", DataType = DbType.String)]
public string STATE_NAME { get; set; }
/// <summary>
/// 顺序
/// </summary>
[DBColumn(ColumnName = "STATE_SEQ", DataType = DbType.Int32)]
public int STATE_SEQ { get; set; }
//录入
[DBColumn(ColumnName = "ENTRY_ACTION", DataType = DbType.String)]
public string ENTRY_ACTION { get; set; }
//退出
[DBColumn(ColumnName = "EXIT_ACTION", DataType = DbType.String)]
public string EXIT_ACTION { get; set; }
/// <summary>
/// 描述
/// </summary>
[DBColumn(ColumnName = "REMARK",DataType = DbType.String)]
public string REMARK { get; set; }
//T_QT_STATEACTION里的字段用于添加ENTRY_ACTION、EXIT_ACTION字段
public string ACTION_CODE { get; set; }
public string ACTION_NAME { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[DBColumn(ColumnName = "CREATEUSER",DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSER_NAME { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[DBColumn(ColumnName = "CREATEDATE",DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
/// <summary>
/// 更新用户
/// </summary>
[DBColumn(ColumnName = "UPDATEUSER",DataType = DbType.String)]
public string UPDATEUSER { get; set; }
public string UPDATEUSER_NAME { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[DBColumn(ColumnName = "UPDATEDATE",DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
}
}