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

207 lines
5.9 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.FIS
{
/// <summary>
/// 工单计划
/// </summary>
[DBTable(TableName = "T_PP_ORDERPLAN", TimeStampColumn = "UPDATEDATE")]
public class OrderPlan : BaseEntity
{
///<summary>
///
///</summary>
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
public string PIDList { get; set; }
///<summary>
///工厂编号
///</summary>
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
public string FACTORY_CODE { get; set; }
///<summary>
///计划单号
///</summary>
[DBColumn(ColumnName = "PLAN_NO", DataType = DbType.String)]
public string PLAN_NO { get; set; }
///<summary>
///计划顺序号
///</summary>
[DBColumn(ColumnName = "PLAN_SEQ", DataType = DbType.String)]
public String PLAN_SEQ { get; set; }
///<summary>
///计划状态
///</summary>
[DBColumn(ColumnName = "PLAN_STATE", DataType = DbType.String)]
public string PLAN_STATE { get; set; }
public string PLAN_STATES { get; set; }
///<summary>
///物料号
///</summary>
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
///<summary>
///设备编号
///</summary>
[DBColumn(ColumnName = "MACHINECODDE", DataType = DbType.String)]
public string MACHINECODDE { get; set; }
///<summary>
///PBOM编号
///</summary>
[DBColumn(ColumnName = "PBOM_CODE", DataType = DbType.String)]
public string PBOM_CODE { get; set; }
///<summary>
///工艺路线
///</summary>
[DBColumn(ColumnName = "ROUTE_CODE", DataType = DbType.String)]
public string ROUTE_CODE { get; set; }
///<summary>
///描述
///</summary>
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///<summary>
///计划数量
///</summary>
[DBColumn(ColumnName = "QTY", DataType = DbType.String)]
public int QTY { get; set; }
///<summary>
///完成数量
///</summary>
[DBColumn(ColumnName = "COMPLETE_QTY", DataType = DbType.String)]
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>
///计划来源
///0:FIS 1:建储 2:插单
///</summary>
[DBColumn(ColumnName = "PLANSOURCE", DataType = DbType.String)]
public string PLANSOURCE { get; set; }
///<summary>
///工作中心
///</summary>
[DBColumn(ColumnName = "WORKCENTER_CODE", DataType = DbType.String)]
public string WORKCENTER_CODE { get; set; }
///<summary>
///生产要求
///</summary>
[DBColumn(ColumnName = "PRODUCEREQUIRE", DataType = DbType.String)]
public string PRODUCEREQUIRE { get; set; }
public string FACTORY_NAME { get; set; }
public string MATERIAL_NAME { get; set; }
public string SHIFT_NAME { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
/// <summary>
/// 更新用户
/// </summary>
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
public string UPDATEUSERNAME { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 忽略FIS断号
/// </summary>
[DBColumn(ColumnName = "IGNORE_FISBREAK", DataType = DbType.String)]
public string IGNORE_FISBREAK { get; set; }
/// <summary>
/// FIS短语字典代码
/// </summary>
[DBColumn(ColumnName = "FIS_ASMSETCODE", DataType = DbType.String)]
public string FIS_ASMSETCODE { get; set; }
///// 错误信息
///// </summary>
//public string InfoError { get; set; }
///// <summary>
///// 导入时判断添加修改
///// </summary>
//public bool IsNewInfo { get; set; }
public string ORDER_TYPE { get; set; }
public DateTime PLANTIMESTART { get; set; }
public DateTime PLANTIMEEND { get; set; }
[DBColumn(ColumnName = "STARTTIME", DataType = DbType.DateTime)]
public DateTime STARTTIME { get; set; }
[DBColumn(ColumnName = "ENDTIME", DataType = DbType.DateTime)]
public DateTime ENDTIME { get; set; }
public string STARTTIMEVIEW { get; set; }
public string ENDTIMEVIEW { get; set; }
public string STARTTIMEIN { get; set; }
public string ENDTIMEIN { get; set; }
public string PLAN_DATEIN { get; set; }
public string AsmSetCode { get; set; }
}
}