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

146 lines
4.1 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.MD.Entity
{
/// <summary>
/// 模块名称:PBom信息
/// 作 者:郭兆福
/// 编写日期:2017年05月10日
/// </summary>
[DBTable(TableName = "T_MD_PBOM", TimeStampColumn = "UPDATEDATE")]
public class Pbom : BaseEntity
{
///<summary>
///PBOM主键
///</summary>
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
/// <summary>
/// 工厂编号
/// </summary>
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
public string FACTORY_CODE { get; set; }
/// <summary>
/// 工厂名称
/// </summary>
public string FACTORY_NAME { get; set; }
///<summary>
///PBOM编号
///</summary>
[DBColumn(ColumnName = "PBOM_CODE", DataType = DbType.String)]
public string PBOM_CODE { get; set; }
///<summary>
///物料号
///</summary>
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
///<summary>
///工艺路线
///</summary>
public string ROUTE_CODE { get; set; }
///<summary>
///工艺路线名称
///</summary>
public string ROUTE_NAME { get; set; }
/// <summary>
/// 物料名称
/// </summary>
public string MATERIAL_NAME { get; set; }
///<summary>
///特征码
///</summary>
[DBColumn(ColumnName = "PROPERTY_CODE", DataType = DbType.String)]
public string PROPERTY_CODE { get; set; }
///<summary>
///生效日期
///</summary>
[DBColumn(ColumnName = "EOA_DATE", DataType = DbType.DateTime)]
public DateTime EOA_DATE { get; set; }
///<summary>
///失效日期
///</summary>
[DBColumn(ColumnName = "EXP_DATE", DataType = DbType.DateTime)]
public DateTime EXP_DATE { get; set; }
///<summary>
///状态
///</summary>
[DBColumn(ColumnName = "STATUS", DataType = DbType.String)]
public string STATUS { get; set; }
///<summary>
///状态
///</summary>
public string STATUS_NAME { get; set; }
///<summary>
///项目编号
///</summary>
[DBColumn(ColumnName = "ITEM_NUM", DataType = DbType.String)]
public string ITEM_NUM { get; set; }
///<summary>
///版本号
///</summary>
[DBColumn(ColumnName = "VER_NUM", DataType = DbType.String)]
public string VER_NUM { get; set; }
///<summary>
///描述
///</summary>
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
/// <summary>
/// 更新用户
/// </summary>
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 删除标识
/// </summary>
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string FLGDEL { get; set; }
/// <summary>
/// Bom组成
/// </summary>
public List<PbomItem> Details { get; set; }
}
}