using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Admin.Core.Model { /// /// 拆分的SAP BOM 信息 /// [SugarTable("BASE_BOMINFO", "AUCMA_MES")] public class BaseBomInfo { /// /// 主键标识 /// [SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true)] public int ObjId { get; set; } /// /// BOM编号 /// [SugarColumn(ColumnName = "BOM_CODE")] public string BomCode { get; set; } /// /// 物料编号 /// [SugarColumn(ColumnName = "MATERIAL_CODE")] public string MaterialCode { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnName = "MATERIAL_NAME")] public string MaterialName { get; set; } /// /// 物料类别 /// [SugarColumn(ColumnName = "MATERIAL_TYPE")] public string MaterialType { get; set; } /// /// 标准数量 /// [SugarColumn(ColumnName = "STANDARD_AMOUNT")] public int StandardAmount { get; set; } /// /// 父级编号 /// [SugarColumn(ColumnName = "PARENT_ID")] public string ParentId { get; set; } /// /// 工厂编号 /// [SugarColumn(ColumnName = "PLANT_CODE")] public string PlantCode { get; set; } /// /// 产线/工位 /// [SugarColumn(ColumnName = "PRODUCT_LINE_CODE")] public string ProductLineCode { get; set; } /// /// 是否标识 /// [SugarColumn(ColumnName = "IS_FLAG")] public int IsFlag { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "CREATED_BY")] public string CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "CREATED_TIME")] public DateTime CreatedTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "UPDATED_BY")] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "UPDATED_TIME")] public DateTime UpdatedTime { get; set; } /// /// 祖级列表 /// [SugarColumn(ColumnName = "ANCESTORS")] public string Ancestors { get; set; } } }