using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Data;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
namespace QMAPP.FJC.Entity.QT
{
///
/// 模块名称:加工记录
/// 作 者:张鹏
/// 编写日期:2017年09月01日
///
[DBTable(TableName = "T_QT_PROCESSRECORD")]
public class ProcessRecord : BaseEntity
{
///
/// 主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
/// 产品主键
///
[DBColumn(ColumnName = "PRODUCT_PID", DataType = DbType.String)]
public string PRODUCT_PID { get; set; }
///
/// 工序编码
///
[DBColumn(ColumnName = "WORKCELL_CODE", DataType = DbType.String)]
public string WORKCELL_CODE { get; set; }
///
/// 工位编码
///
[DBColumn(ColumnName = "WORKLOC_CODE", DataType = DbType.String)]
public string WORKLOC_CODE { get; set; }
///
/// 进入工序时间
///
[DBColumn(ColumnName = "IN_WORKCELL_TIME", DataType = DbType.DateTime)]
public DateTime IN_WORKCELL_TIME { get; set; }
///
/// 加工开始时间
///
[DBColumn(ColumnName = "WORK_START_TIME", DataType = DbType.DateTime)]
public DateTime WORK_START_TIME { get; set; }
///
/// 加工完成时间
///
[DBColumn(ColumnName = "WORK_END_TIME", DataType = DbType.DateTime)]
public DateTime WORK_END_TIME { get; set; }
///
/// 加工状态
/// 0 加工中
/// 1 加工合格
/// 2 待检
/// 3 报废
///
[DBColumn(ColumnName = "PROCESS_STATE", DataType = DbType.String)]
public string PROCESS_STATE { get; set; }
///
/// 人工放行
/// 0 否
/// 1 是
///
[DBColumn(ColumnName = "MANUAL_PASS", DataType = DbType.String)]
public string MANUAL_PASS { get; set; }
///
/// 模具编号
///
[DBColumn(ColumnName = "MODULE_CODE", DataType = DbType.String)]
public string MODULE_CODE { get; set; }
}
}