using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// MES成品/半成品单 /// [SugarTable(nameof(Dt_MESProInOrderInfo), "MES成品/半成品单")] public class Dt_MESProInOrderInfo : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 仓库主键 /// [SugarColumn(IsNullable = false, ColumnDescription = "仓库主键")] public int WarehouseId { get; set; } /// /// 生产订单编码(上游) /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "生产订单编码(上游)")] public string ProductOrderNo { get; set; } /// /// 订单类型 /// [SugarColumn(IsNullable = false, ColumnDescription = "订单类型")] public int MESProOrderType { get; set; } /// /// 派单工单编码(上游) /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "派单工单编码")] public string SendOrderNo { get; set; } /// /// 物料编码 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编码")] public string MaterialCode { get; set; } /// /// 物料批次 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料批次")] public string MaterialLot { get; set; } /// /// 物料等级 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料等级")] public string GradeCode { get; set; } /// /// 物料数量 /// [SugarColumn(IsNullable = false, ColumnDescription = "物料数量")] public decimal ProQuantity { get; set; } /// /// 物料条码 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料条码")] public string BarCode { get; set; } /// /// 加工中心编码(机台) /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "加工中心编码(机台)")] public string MakeCode { get; set; } /// /// 位置编号 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "位置编号")] public string PointCode { get; set; } /// /// 卷径 /// [SugarColumn(IsNullable = true, ColumnDescription = "卷径")] public decimal Thickness { get; set; } /// /// 幅宽 /// [SugarColumn(IsNullable = true, ColumnDescription = "幅宽")] public decimal Wide { get; set; } /// /// 重量 /// [SugarColumn(IsNullable = true, ColumnDescription = "重量")] public decimal Weight { get; set; } /// /// 成品包材纸箱物料编码 /// [SugarColumn(IsNullable = true, ColumnDescription = "成品包材纸箱物料编码")] public string ProPackCode { get; set; } /// /// 箱长 /// [SugarColumn(IsNullable = true, ColumnDescription = "箱长")] public decimal Length { get; set; } /// /// 箱宽 /// [SugarColumn(IsNullable = true, ColumnDescription = "箱宽")] public decimal Width { get; set; } /// /// 箱高 /// [SugarColumn(IsNullable = true, ColumnDescription = "箱高")] public decimal Height { get; set; } /// /// 状态 /// [SugarColumn(IsNullable = false, ColumnDescription = "状态")] public int MESProInStatus { get; set; } } }