|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Admin.Core.Model
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 成品信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("BASE_MATERIALINFO", "AUCMA_MES")]
|
|
|
|
|
public class BaseMaterialInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键标识
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
public int ObjId { 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>
|
|
|
|
|
/// 物料大类(100-冷柜)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_CATEGORIES")]
|
|
|
|
|
public string MaterialCategOrIes { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料小类
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_SUBCLASS")]
|
|
|
|
|
public string MaterialSubclass { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// SAP物料类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_TYPE")]
|
|
|
|
|
public string MaterialType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// SAP物料类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_UNIT")]
|
|
|
|
|
public string MaterialUnit { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料组
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_MATKL")]
|
|
|
|
|
public string MaterialMatkl { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料型号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_SPECIFICATIONS")]
|
|
|
|
|
public string MaterialSpecifications { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属工厂
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PLANT_CODE")]
|
|
|
|
|
public string PlantCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产线工位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "PRODUCTLINE_CODE")]
|
|
|
|
|
public string ProductLineCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "IS_FLAG")]
|
|
|
|
|
public string IsFlag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CREATED_BY")]
|
|
|
|
|
public string CreateBy { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "CREATED_TIME")]
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修改人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "UPDATED_BY")]
|
|
|
|
|
public string UpdateBy { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
|
|
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 增量日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "INCREMENT_DATE")]
|
|
|
|
|
public string IncrementDate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库方向-A/B
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "INBOUND_DIRECTION")]
|
|
|
|
|
public string InboundDirection { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// SAP计划员(100=成品;200=箱体;300=门体)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "DISPO")]
|
|
|
|
|
public string Dispo { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|