using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
namespace QMAPP.FJC.Entity.Operation
{
///
/// 模块编号:
/// 作 用:零件与投料对应表
/// 作 者:王庆男
/// 编写日期:2015年06月02日
///
//[DBTable(TableName = "T_AW_PRODUCTINJECTION", TimeStampColumn = "UPDATEDATE")]
[DBTable(TableName = "T_AW_PRODUCTINJECTION")]
public class ProductInjection : BaseEntity
{
#region 数据库字段
///
///主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///
///
[DBColumn(ColumnName = "IPID", DataType = DbType.String)]
public string IPID { get; set; }
///
///
///
[DBColumn(ColumnName = "MPPID", DataType = DbType.String)]
public string MPPID { get; set; }
///
///物料名称
///
[DBColumn(ColumnName = "MATERIALNAME", DataType = DbType.String)]
public string MATERIALNAME { get; set; }
///
///物料码
///
[DBColumn(ColumnName = "MATERIALCODE", DataType = DbType.String)]
public string MATERIALCODE { get; set; }
///
///0:原材料
//1:织物衬布
///
[DBColumn(ColumnName = "MATERIALTYPE", DataType = DbType.String)]
public string MATERIALTYPE { get; set; }
public string MATERIALTYPENAME { get; set; }
///
///物料批次
///
[DBColumn(ColumnName = "MATERIALBATCH", DataType = DbType.String)]
public string MATERIALBATCH { get; set; }
///
///投料顺序
///
[DBColumn(ColumnName = "INJECTIONINDEX", DataType = DbType.Int32)]
public int INJECTIONINDEX { get; set; }
///
///投料口
///
[DBColumn(ColumnName = "INJECTIONTERMINAL", DataType = DbType.Int32)]
public int INJECTIONTERMINAL { get; set; }
public int INJECTIONTERMINALNAME { get; set; }
///
///使用重量
///
[DBColumn(ColumnName = "USEDWEIGHT", DataType = DbType.Decimal)]
public decimal USEDWEIGHT { get; set; }
///
///0:搪塑
//1:骨架注塑
//2:气囊支架注塑
//3:风道注塑
//4:中控之间注塑
//5:HUD风道注塑
//5:冷刀弱化
//6:火焰加工
//7:预热
//8:浇注
//9:红外扫描
//10:冲切
//11:铣削
//12:铆接
//13:超时波焊接
//14:红外焊接
//15:总成装配
///
[DBColumn(ColumnName = "PROCESSTYPE", DataType = DbType.String)]
public string PROCESSTYPE { get; set; }
public string PROCESSTYPENAME { 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; }
public string CREATEDATESTR { 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; }
///
/// 错误信息
///
public string InfoError { get; set; }
///
/// 导入时判断添加修改
///
public bool IsNewInfo { get; set; }
#endregion
#region 扩展字段
///
///零件条码
///
public string PRODUCTCODE { get; set; }
///
///零件类别
///
public string PRODUCTTYPE { get; set; }
///
///设备编号
///
public string MACHINECODDE { get; set; }
///
///设备名称
///
public string MACHINENAME { get; set; }
///
/// 总成条码
///
public string MAINCODE { get; set; }
#endregion
}
}