using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using System.Data;
namespace QMAPP.FJC.Entity.Basic
{
[DBTable(TableName = "T_BD_BOM_DETAIL", TimeStampColumn = "UPDATEDATE")]
public class BomDetail
{
///
///BOM项目主键
///
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
///
///BOM主键
///
[DBColumn(ColumnName = "BOM_HDR_PID", DataType = DbType.String)]
public string BOM_HDR_PID { get; set; }
///
///项目号
///
[DBColumn(ColumnName = "ITEM_CODE", DataType = DbType.String)]
public string ITEM_CODE { get; set; }
///
///物料号
///
[DBColumn(ColumnName = "MATERIAL_CODE", DataType = DbType.String)]
public string MATERIAL_CODE { get; set; }
///
///物料层级
///
[DBColumn(ColumnName = "MATERIAL_LAYER", DataType = DbType.String)]
public string MATERIAL_LAYER { get; set; }
///
///是否总成
///
[DBColumn(ColumnName = "IS_ASSY", DataType = DbType.String)]
public string IS_ASSY { get; set; }
///
///计量单位
///
[DBColumn(ColumnName = "UNIT_CODE", DataType = DbType.String)]
public string UNIT_CODE { get; set; }
///
///数量
///
[DBColumn(ColumnName = "ITEM_QTY", DataType = DbType.String)]
public string ITEM_QTY { get; set; }
///
///描述
///
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string REMARK { get; set; }
///
/// 创建用户
///
[DBColumn(ColumnName = "CREATEUSR", DataType = DbType.String)]
public string CREATEUSR { get; set; }
public string CREATEUSERNAME { get; set; }
///
/// 创建时间
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime, DefaultValue = DataDefaultValue.SysDate)]
public DateTime CREATEDATE { get; set; }
///
/// 更新用户
///
[DBColumn(ColumnName = "UPDATEUSR", DataType = DbType.String)]
public string UPDATEUSR { get; set; }
public string UPDATEUSERNAME { get; set; }
///
/// 更新时间
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///
/// 删除标识
///
[DBColumn(ColumnName = "FLAGDEL", DataType = DbType.String)]
public string FLAGDEL { get; set; }
}
}