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.Basic
{
///
/// 模块编号:M2-7
/// 作 用:工序设置数据模型
/// 作 者:王丹丹
/// 编写日期:2015年06月01日
///
[DBTable(TableName = "T_BD_PROCESSSET", TimeStampColumn = "UPDATEDATE")]
public class ProcessSet : BaseEntity
{
#region 数据库字段
///
///工序设置主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///工序名称主键
///
[DBColumn(ColumnName = "PCID", DataType = DbType.String)]
public string PCID { get; set; }
///
///工序名称
///
[DBColumn(ColumnName = "PROCESSNAME", DataType = DbType.String)]
public string PROCESSNAME { get; set; }
///
///对应零件类别
///
[DBColumn(ColumnName = "PRODUCTTYPE", DataType = DbType.String)]
public string PRODUCTTYPE { get; set; }
public string PRODUCTTYPETEXT { get; set; }
///
///零件名称
///
[DBColumn(ColumnName = "PRODUCTNAME", DataType = DbType.String)]
public string PRODUCTNAME { get; set; }
///
///原零件类别
///
public string OLDPRODUCTTYPE { get; set; }
///
///工序顺序
///
[DBColumn(ColumnName = "PROCESSINDEX", DataType = DbType.Int32)]
public int PROCESSINDEX { get; set; }
public string PROCESSINDEXMIN { get; set; }
public string PROCESSINDEXMAX { get; set; }
///
///最大工序顺序
///
public int MAXPROCESSINDEX { get; set; }
///
///原工序顺序
///
public int OLDPROCESSINDEX { get; set; }
///
///本工序产品冷却时间:本工序加工完成,需要冷却一定时间才能被下一道工序使用
///
[DBColumn(ColumnName = "INTERVALVALUE", DataType = DbType.Int32)]
public int INTERVALVALUE { get; set; }
///
///工序是否必须(0:否 1:必须 )
///
[DBColumn(ColumnName = "LPNECCESSARY", DataType = DbType.String)]
public string LPNECCESSARY { get; set; }
public string LPNECCESSARYTXT { get; set; }
///
///生产线
///
[DBColumn(ColumnName = "PRODUCELINE", DataType = DbType.String)]
public string PRODUCELINE { get; set; }
///
///工序低储值设置
///
[DBColumn(ColumnName = "MINVALUE", DataType = DbType.Int32)]
public int MINVALUE { get; set; }
///
///生产最小批次设置
///
[DBColumn(ColumnName = "PRODUCEMINVALUE", DataType = DbType.Int32)]
public int PRODUCEMINVALUE { get; set; }
///
///在制品工序设置(0:否 1:是)
///
[DBColumn(ColumnName = "WIPSET", DataType = DbType.String)]
public string WIPSET { get; set; }
public string WIPSETTXT { get; set; }
///
///在是否是主零件(0:否 1:是)
///
[DBColumn(ColumnName = "ISMAIN", DataType = DbType.String)]
public string ISMAIN { get; set; }
public string ISMAINTXT { get; set; }
///
///备注
///
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
public string MEMO { get; set; }
///
///创建用户
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
///
///创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
///
///更新用户
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
public string UPDATEUSERNAME { get; set; }
///
///更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
///工序类别
///
[DBColumn(ColumnName = "PROCESSTYPE", DataType = DbType.String)]
public string PROCESSTYPE { get; set; }
public string PROCESSTYPETXT { get; set; }
#endregion
#region 扩展字段
///
///工序类别(查询)
///
public string PROCESSTYPESEARCH { get; set; }
///
/// 操作类别 0:生产 1:加工
///
public string OPERATETYPE { get; set; }
///
/// 运出出的临时库数量
///
public int TEMP { get; set; }
///
/// 修改起始工序顺序
///
public int StartIndex { get; set; }
///
/// 修改结束工序顺序
///
public int EndIndex { get; set; }
///
/// 班次编号
///
public string PRODUCESHIFTTCODE { get; set; }
///
/// 班次名称
///
public string PRODUCESHIFTNAME { get; set; }
public string EDITNECESSARY { get; set; }
#endregion
}
}