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

181 lines
5.3 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using System.Data;
using QMAPP.Entity;
namespace QMAPP.FJC.Entity.ProductionPlan
{
/// <summary>
/// 模块名称:派工单
/// 作 者:张鹏
/// 编写日期:2017年10月24日
/// </summary>
[DBTable(TableName = "T_PP_WORKORDER")]
public class WorkOrder : BaseEntity
{
/// <summary>
/// 主键
/// </summary>
[DBColumn(ColumnName = "PID",DataType = DbType.String,IsKey = true)]
public string PID { get; set; }
/// <summary>
/// 订单计划ID
/// </summary>
[DBColumn(ColumnName = "ORDERPLANID",DataType = DbType.String)]
public string ORDERPLANID { get; set; }
/// <summary>
/// 订单计划号
/// </summary>
[DBColumn(ColumnName = "ORDERPLAN_NO",DataType = DbType.String)]
public string ORDERPLAN_NO { get; set; }
/// <summary>
/// 订单类型(0:FIS 1:建储 2:FIS插单 3:备件计划)
/// </summary>
[DBColumn(ColumnName = "ORDER_TYPE",DataType = DbType.String)]
public string ORDER_TYPE { get; set; }
/// <summary>
/// 顺序号
/// </summary>
[DBColumn(ColumnName = "SEQ", DataType = DbType.String)]
public string SEQ { get; set; }
/// <summary>
/// 物料号
/// </summary>
[DBColumn(ColumnName = "MATERIAL_CODE",DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
/// <summary>
/// BOM编码
/// </summary>
[DBColumn(ColumnName = "PBOM_CODE",DataType = DbType.String)]
public string PBOM_CODE { get; set; }
/// <summary>
/// 计划数量
/// </summary>
[DBColumn(ColumnName = "QTY", DataType = DbType.Int32)]
public int QTY { get; set; }
/// <summary>
/// 完成数量
/// </summary>
[DBColumn(ColumnName = "COMPLETE_QTY", DataType = DbType.Int32)]
public int COMPLETE_QTY { get; set; }
/// <summary>
/// 计划日期
/// </summary>
[DBColumn(ColumnName = "PLAN_DATE",DataType = DbType.DateTime)]
public DateTime PLAN_DATE { get; set; }
/// <summary>
/// 班次编码
/// </summary>
[DBColumn(ColumnName = "SHIFT_CODE",DataType = DbType.String)]
public string SHIFT_CODE { get; set; }
/// <summary>
/// 工作中心
/// </summary>
[DBColumn(ColumnName = "WORKCENTER_CODE",DataType = DbType.String)]
public string WORKCENTER_CODE { get; set; }
/// <summary>
/// 工作中心名称
/// </summary>
[DBColumn(ColumnName = "WORKCENTER_NAME",DataType = DbType.String)]
public string WORKCENTER_NAME { get; set; }
/// <summary>
/// 工序编码
/// </summary>
[DBColumn(ColumnName = "WORKCELL_CODE",DataType = DbType.String)]
public string WORKCELL_CODE { get; set; }
/// <summary>
/// 工序名称
/// </summary>
[DBColumn(ColumnName = "WORKCELL_NAME",DataType = DbType.String)]
public string WORKCELL_NAME { get; set; }
/// <summary>
/// 工位编码
/// </summary>
[DBColumn(ColumnName = "WORKLOC_CODE",DataType = DbType.String)]
public string WORKLOC_CODE { get; set; }
/// <summary>
/// 描述备注(用于保存产品条码)
/// </summary>
[DBColumn(ColumnName = "REMARK",DataType = DbType.String)]
public string REMARK { get; set; }
/// <summary>
/// 设备名称
/// </summary>
[DBColumn(ColumnName = "EQPT_NAME",DataType = DbType.String)]
public string EQPT_NAME { get; set; }
/// <summary>
/// 设备编码
/// </summary>
[DBColumn(ColumnName = "EQPT_CODE",DataType = DbType.String)]
public string EQPT_CODE { get; set; }
/// <summary>
/// 模架编码
/// </summary>
[DBColumn(ColumnName = "MOULD_CODE", DataType = DbType.String)]
public string MOULD_CODE { get; set; }
/// <summary>
/// 状态
/// 0:初始
/// 1:确认
/// 2:执行中
/// 3:完成
/// 4:挂起
/// </summary>
[DBColumn(ColumnName = "STATE", DataType = DbType.Int32)]
public int STATE { get; set; }
/// <summary>
/// 优先级
/// </summary>
[DBColumn(ColumnName = "PRI", DataType = DbType.Int32)]
public int PRI { get; set; }
/// <summary>
/// 更新日期
/// </summary>
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
[DBColumn(ColumnName = "PRINTED", DataType = DbType.String)]
public string PRINTED { get; set; }
/// <summary>
/// 忽略FIS断号
/// </summary>
public string IGNORE_FISBREAK { get; set; }
/// <summary>
/// 物料名称
/// </summary>
public string MATERIAL_NAME { get; set; }
/// <summary>
/// FIS短语字典代码
/// </summary>
public string FIS_ASMSETCODE { get; set; }
}
}