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

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