You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
3.4 KiB
C#
125 lines
3.4 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Admin.Core.Model
|
|
{
|
|
/// <summary>
|
|
/// 拆分的SAP BOM 信息
|
|
/// </summary>
|
|
[SugarTable("BASE_BOMINFO", "AUCMA_MES")]
|
|
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; }
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "CREATED_BY")]
|
|
public string CreatedBy { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "CREATED_TIME")]
|
|
public DateTime CreatedTime { get; set; }
|
|
/// <summary>
|
|
/// 更新人
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "UPDATED_BY")]
|
|
public string UpdatedBy { get; set; }
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
|
public DateTime UpdatedTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "FACTORY_CODE")]
|
|
public string FactoryCode { get; set; }
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "SORT")]
|
|
public string Sort { get; set; }
|
|
/// <summary>
|
|
/// 销售凭证
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "VBELN")]
|
|
public string Vbeln { get; set; }
|
|
/// <summary>
|
|
/// 销售单据项目
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "VBPOS")]
|
|
public string Vbpos { get; set; }
|
|
/// <summary>
|
|
/// 祖级列表
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "ANCESTORS")]
|
|
public string Ancestors { get; set; }
|
|
|
|
|
|
}
|
|
}
|