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.TianJin
{
///
/// 模块名称:派工单
/// 作 者:张鹏
/// 编写日期:2017年10月24日
///
[DBTable(TableName = "T_PP_TJFY_WORKORDER")]
public class TJWorkOrder : 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; }
///
/// 顺序号
///
[DBColumn(ColumnName = "SEQ", DataType = DbType.String)]
public string SEQ { get; set; }
///
/// 物料号
///
[DBColumn(ColumnName = "MATERIAL_CODE",DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
///
/// 物料号
///
[DBColumn(ColumnName = "LINENO", DataType = DbType.String)]
public string LINENO { get; set; }
///
/// 物料名称
///
[DBColumn(ColumnName = "MATERIAL_NAME", DataType = DbType.String)]
public string MATERIAL_NAME { get; set; }
///
/// 计划日期
///
[DBColumn(ColumnName = "PLAN_DATE",DataType = DbType.DateTime)]
public DateTime PLAN_DATE { get; set; }
///
/// 描述备注(用于保存产品条码)
///
[DBColumn(ColumnName = "PRODUCTCODE", DataType = DbType.String)]
public string PRODUCTCODE { 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 = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
public int PRI { get; set; }
public string PBOM_CODE { get; set; }
public string WORKCELL_CODE { get; set; }
public string ORDER_TYPE { get; set; }
}
}