using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.Entity;
using QMFrameWork.Data.Attributes;
using System.Data;
namespace QMAPP.FJC.Entity.Produce
{
///
/// 作 用:零件信息数据模型
/// 作 者:王丹丹
/// 编写日期:2015年06月08日
///
[DBTable(TableName = "T_AW_PRODUCT", TimeStampColumn = "UPDATEDATE")]
public class Product : BaseEntity
{
///
///零件条码主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
/// 零件分类
///
[DBColumn(ColumnName = "PRODUCTTYPE", DataType = DbType.String)]
public string PRODUCTTYPE { get; set; }
public string PRODUCTTYPETXT { get; set; }
///
///零件条码
///
[DBColumn(ColumnName = "PRODUCTCODE", DataType = DbType.String)]
public string PRODUCTCODE { get; set; }
///
///零件来源
///0:自制
//1:外购
//来源
///
[DBColumn(ColumnName = "PRODUCTSOURCE", DataType = DbType.String)]
public string PRODUCTSOURCE { get; set; }
///
///设备名称
///
[DBColumn(ColumnName = "MACHINENAME", DataType = DbType.String)]
public string MACHINENAME { get; set; }
///
///设备编码
///
[DBColumn(ColumnName = "MACHINECODDE", DataType = DbType.String)]
public string MACHINECODDE { get; set; }
///
///物料类别
///
[DBColumn(ColumnName = "MATERIAL_TYPE", DataType = DbType.String)]
public string MATERIAL_TYPE { get; set; }
///
///物料号
///
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
///
/// 零件状态
///
[DBColumn(ColumnName = "STATUS", DataType = DbType.String)]
public string STATUS { get; set; }
public string STATUSTXT { get; set; }
///
/// 当前工序
///
[DBColumn(ColumnName = "CURRENTPROCESS", DataType = DbType.String)]
public string CURRENTPROCESS { get; set; }
public string CURRENTPROCESSTXT { get; set; }
public string PROCESSNAME { get; set; }
///
///生产线
///
[DBColumn(ColumnName = "PRODUCELINE", DataType = DbType.String)]
public string PRODUCELINE { get; set; }
///
///班次信息名称
///
[DBColumn(ColumnName = "PRODUCESHIFTNAME", DataType = DbType.String)]
public string PRODUCESHIFTNAME { get; set; }
///
///班次信息编号
///
[DBColumn(ColumnName = "PRODUCESHIFTTCODE", DataType = DbType.String)]
public string PRODUCESHIFTTCODE { get; set; }
///
/// 出库标记
///
[DBColumn(ColumnName = "OUTFLAG", DataType = DbType.String)]
public string OUTFLAG { get; set; }
///
/// 使用状态
///
[DBColumn(ColumnName = "USINGSTATE", DataType = DbType.String)]
public string USINGSTATE { get; set; }
///
///实际容量
///
[DBColumn(ColumnName = "CAPACITY", DataType = DbType.Int32)]
public int CAPACITY { get; set; }
///
///使用数量
///
[DBColumn(ColumnName = "USINGCOUNT", DataType = DbType.Int32)]
public int USINGCOUNT { get; set; }
///
///报废数量
///
//[DBColumn(ColumnName = "MENDNUMBER", DataType = DbType.Int32)]
public int MENDNUMBER { get; set; }
///
///创建用户
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
///
///创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
///
///更新用户
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
///
///更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
/// 关联计划号ID
///
[DBColumn(ColumnName = "PLAN_NO", DataType = DbType.String)]
public string PLAN_NO { get; set; }
///
///批次号
///
public string BATCH_NO { get; set; }
///
/// 错误信息
///
public string InfoError { get; set; }
///
/// 导入时判断添加修改
///
public bool IsNewInfo { get; set; }
}
}