|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace Aucma.Scada.Model.domain
|
|
|
|
|
{
|
|
|
|
|
[SugarTable("BASE_BOMINFO")]
|
|
|
|
|
public class BaseBomInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键标识
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
public int objId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// BOM编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "BOM_CODE")]
|
|
|
|
|
public string bomCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_CODE")]
|
|
|
|
|
public string materialCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_NAME")]
|
|
|
|
|
public string materialName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类别
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_TYPE")]
|
|
|
|
|
public string materialType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标准数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "STANDARD_AMOUNT")]
|
|
|
|
|
public int standardAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父级编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PARENT_ID")]
|
|
|
|
|
public string parentId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工厂编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLANT_CODE")]
|
|
|
|
|
public string plantCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产线/工位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PRODUCT_LINE_CODE")]
|
|
|
|
|
public string productLineCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "IS_FLAG")]
|
|
|
|
|
public int isFlag { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|