using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using System.Data;
using QMAPP.Entity;
namespace QMAPP.MD.Entity
{
///
/// 模块名称:Bom详细信息
/// 作 者:郭兆福
/// 编写日期:2017年05月10日
///
[DBTable(TableName = "T_MD_PBOM_ITEM")]
public class PbomItem : BaseEntity
{
///
///BOM项目主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
/// 工厂编号
///
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
public string FACTORY_CODE { get; set; }
///
/// 工厂名称
///
public string FACTORY_NAME { get; set; }
///
///PBOM编号
///
[DBColumn(ColumnName = "PBOM_CODE", DataType = DbType.String)]
public string PBOM_CODE { get; set; }
///
///物料号
///
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
///
///物料名称
///
public string MATERIAL_NAME { get; set; }
///
///特征码
///
[DBColumn(ColumnName = "PROPERTY_CODE", DataType = DbType.String)]
public string PROPERTY_CODE { get; set; }
///
///序号
///
[DBColumn(ColumnName = "SEQ_NUM", DataType = DbType.Int32)]
public int SEQ_NUM { get; set; }
///
///上级行项目序号
///
[DBColumn(ColumnName = "UP_SQ_NUM", DataType = DbType.Int32)]
public int UP_SQ_NUM { get; set; }
///
///数量
///
[DBColumn(ColumnName = "UNIT_SUM", DataType = DbType.Decimal)]
public decimal UNIT_SUM { get; set; }
///
///发料工序
///
[DBColumn(ColumnName = "GMP", DataType = DbType.String)]
public string GMP { get; set; }
///
///发料工序名称
///
public string GMP_NAME { get; set; }
///
///客供品标记
///
[DBColumn(ColumnName = "FLAG_CSP", DataType = DbType.String)]
public string FLAG_CSP { get; set; }
///
///客供品标记名称
///
public string FLAG_CSP_NAME { get; set; }
///
///制造厂商
///
[DBColumn(ColumnName = "MFRS", DataType = DbType.String)]
public string MFRS { get; set; }
///
///描述
///
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///
/// 创建用户
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
///
/// 创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
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; }
///
/// 删除标识
///
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string FLGDEL { get; set; }
///
///工艺路线
///
public string ROUTE_CODE { get; set; }
///
/// 菜单树集合
///
public List PbomItems { get; set; }
///
/// 是否修改
///
public bool IsUpdate { get; set; }
///
/// 是否选中
///
public bool Selected { get; set; }
public string MATERIAL_TYPE_CODE { get; set; }
public string UP_MATERIAL_TYPE_CODE { get; set; }
}
}