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.
168 lines
4.6 KiB
168 lines
4.6 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>
|
|
/// 模块名称:Bom详细信息
|
|
/// 作 者:郭兆福
|
|
/// 编写日期:2017年05月10日
|
|
/// </summary>
|
|
[DBTable(TableName = "T_MD_PBOM_ITEM")]
|
|
public class PbomItem : BaseEntity
|
|
{
|
|
///<summary>
|
|
///BOM项目主键
|
|
///</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 MATERIAL_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///特征码
|
|
///</summary>
|
|
[DBColumn(ColumnName = "PROPERTY_CODE", DataType = DbType.String)]
|
|
public string PROPERTY_CODE { get; set; }
|
|
|
|
///<summary>
|
|
///序号
|
|
///</summary>
|
|
[DBColumn(ColumnName = "SEQ_NUM", DataType = DbType.Int32)]
|
|
public int SEQ_NUM { get; set; }
|
|
|
|
///<summary>
|
|
///上级行项目序号
|
|
///</summary>
|
|
[DBColumn(ColumnName = "UP_SQ_NUM", DataType = DbType.Int32)]
|
|
public int UP_SQ_NUM { get; set; }
|
|
|
|
///<summary>
|
|
///数量
|
|
///</summary>
|
|
[DBColumn(ColumnName = "UNIT_SUM", DataType = DbType.Decimal)]
|
|
public decimal UNIT_SUM { get; set; }
|
|
|
|
///<summary>
|
|
///发料工序
|
|
///</summary>
|
|
[DBColumn(ColumnName = "GMP", DataType = DbType.String)]
|
|
public string GMP { get; set; }
|
|
|
|
///<summary>
|
|
///发料工序名称
|
|
///</summary>
|
|
public string GMP_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///客供品标记
|
|
///</summary>
|
|
[DBColumn(ColumnName = "FLAG_CSP", DataType = DbType.String)]
|
|
public string FLAG_CSP { get; set; }
|
|
|
|
///<summary>
|
|
///客供品标记名称
|
|
///</summary>
|
|
public string FLAG_CSP_NAME { get; set; }
|
|
|
|
///<summary>
|
|
///制造厂商
|
|
///</summary>
|
|
[DBColumn(ColumnName = "MFRS", DataType = DbType.String)]
|
|
public string MFRS { 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>
|
|
///工艺路线
|
|
///</summary>
|
|
public string ROUTE_CODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 菜单树集合
|
|
/// </summary>
|
|
public List<PbomItem> PbomItems { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否修改
|
|
/// </summary>
|
|
public bool IsUpdate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否选中
|
|
/// </summary>
|
|
public bool Selected { get; set; }
|
|
|
|
|
|
public string MATERIAL_TYPE_CODE { get; set; }
|
|
|
|
public string UP_MATERIAL_TYPE_CODE { get; set; }
|
|
|
|
|
|
}
|
|
}
|
|
|