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