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