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.Basic
{
[DBTable(TableName = "T_QT_WORK_ORDER", TimeStampColumn = "UPDATEDATE")]
public class WorkOrder : BaseEntity
{
///
///主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///排产计划主键
///
[DBColumn(ColumnName = "PRODUCTION_PLAN_PID", DataType = DbType.String)]
public string PRODUCTION_PLAN_PID { get; set; }
///
///主生产计划
///
[DBColumn(ColumnName = "PLAN_CODE", DataType = DbType.String)]
public string PLAN_CODE { get; set; }
///
///加工单号
///
[DBColumn(ColumnName = "ORDER_CODE", DataType = DbType.String)]
public string ORDER_CODE { get; set; }
///
///工作中心主键
///
[DBColumn(ColumnName = "WORKCENTER_PID", DataType = DbType.String)]
public string WORKCENTER_PID { get; set; }
///
///工作中心
///
[DBColumn(ColumnName = "WORKCENTER_CODE", DataType = DbType.String)]
public string WORKCENTER_CODE { get; set; }
///
///工序主键
///
[DBColumn(ColumnName = "WORKCELL_PID", DataType = DbType.String)]
public string WORKCELL_PID { get; set; }
///
///工序编码
///
[DBColumn(ColumnName = "WORKCELL_CODE", DataType = DbType.String)]
public string WORKCELL_CODE { get; set; }
///
///工单时间
///
[DBColumn(ColumnName = "PRODUCTION_DATE", DataType = DbType.DateTime)]
public DateTime PRODUCTION_DATE { get; set; }
///
///顺序号
///
[DBColumn(ColumnName = "SEQ", DataType = DbType.String)]
public string SEQ { get; set; }
///
///计划类型
///
[DBColumn(ColumnName = "PLAN_TYPE", DataType = DbType.String)]
public string PLAN_TYPE { get; set; }
///
///计划状态
///
[DBColumn(ColumnName = "PLAN_STATUS", DataType = DbType.String)]
public string PLAN_STATUS { get; set; }
///
///生产版本
///
[DBColumn(ColumnName = "PRODUCTION_VERSION", DataType = DbType.String)]
public string PRODUCTION_VERSION { get; set; }
///
///加工数量
///
[DBColumn(ColumnName = "QTY", DataType = DbType.Int32)]
public int QTY { get; set; }
///
///完成数量
///
[DBColumn(ColumnName = "CQTY", DataType = DbType.Int32)]
public int CQTY { get; set; }
///
///开工时间
///
[DBColumn(ColumnName = "START_TIME", DataType = DbType.DateTime)]
public DateTime START_TIME { get; set; }
///
///完工时间
///
[DBColumn(ColumnName = "END_TIME", DataType = DbType.DateTime)]
public DateTime END_TIME { get; set; }
///
///工单状态
///
[DBColumn(ColumnName = "PRODUCTION_STATUS", DataType = DbType.String)]
public string PRODUCTION_STATUS { get; set; }
///
///工单类型
///
[DBColumn(ColumnName = "ORDERTYPE", DataType = DbType.String)]
public string ORDERTYPE { get; set; }
///
///班组ID
///
[DBColumn(ColumnName = "TEAMID", DataType = DbType.String)]
public string TEAMID { get; set; }
///
///班次ID
///
[DBColumn(ColumnName = "SHIFTID", DataType = DbType.String)]
public string SHIFTID { get; set; }
///
///创建人
///
[DBColumn(ColumnName = "CREATEUSR", DataType = DbType.String)]
public string CREATEUSR { get; set; }
///
///创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
///
///修改人
///
[DBColumn(ColumnName = "UPDATEUSR", DataType = DbType.String)]
public string UPDATEUSR { get; set; }
///
///修改时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
///删除标识
///
[DBColumn(ColumnName = "FLAGDEL", DataType = DbType.String)]
public string FLAGDEL { get; set; }
///
/// 开工开始时间
///
public string START_TIME_START { get; set; }
///
/// 开工结束时间
///
public string START_TIME_END { get; set; }
///
/// 班组名称
///
public string TEAM_NAME { get; set; }
///
/// 班次名称
///
public string SHIFT_NAME { get; set; }
}
}