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
{
///
/// 模块名称:PBom信息
/// 作 者:郭兆福
/// 编写日期:2017年05月10日
///
[DBTable(TableName = "T_MD_PBOM", TimeStampColumn = "UPDATEDATE")]
public class Pbom : BaseEntity
{
///
///PBOM主键
///
[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 ROUTE_CODE { get; set; }
///
///工艺路线名称
///
public string ROUTE_NAME { get; set; }
///
/// 物料名称
///
public string MATERIAL_NAME { get; set; }
///
///特征码
///
[DBColumn(ColumnName = "PROPERTY_CODE", DataType = DbType.String)]
public string PROPERTY_CODE { get; set; }
///
///生效日期
///
[DBColumn(ColumnName = "EOA_DATE", DataType = DbType.DateTime)]
public DateTime EOA_DATE { get; set; }
///
///失效日期
///
[DBColumn(ColumnName = "EXP_DATE", DataType = DbType.DateTime)]
public DateTime EXP_DATE { get; set; }
///
///状态
///
[DBColumn(ColumnName = "STATUS", DataType = DbType.String)]
public string STATUS { get; set; }
///
///状态
///
public string STATUS_NAME { get; set; }
///
///项目编号
///
[DBColumn(ColumnName = "ITEM_NUM", DataType = DbType.String)]
public string ITEM_NUM { get; set; }
///
///版本号
///
[DBColumn(ColumnName = "VER_NUM", DataType = DbType.String)]
public string VER_NUM { 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; }
///
/// Bom组成
///
public List Details { get; set; }
}
}