using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Magicodes.ExporterAndImporter.Core; using SqlSugar; using WIDESEA_Model.Models.Stock; namespace WIDESEA_DTO.MES { [SugarTable(nameof(Dt_StockInfoDetail), "MES物料编号详细信息")] public class MESSockInfo { /// /// 条码类型 /// [ImporterHeader(Name = "条码类型")] [ExporterHeader(DisplayName = "条码类型")] [SugarColumn(IsNullable = false, ColumnDescription = "条码类型")] public int BarcodeType { get; set; } /// /// 辅助数量 /// [ImporterHeader(Name = "辅助数量")] [ExporterHeader(DisplayName = "辅助数量")] [SugarColumn(IsNullable = false, ColumnDescription = "辅助数量")] public decimal AuxQty { get; set; } /// /// 数量 /// [ImporterHeader(Name = "数量")] [ExporterHeader(DisplayName = "数量")] [SugarColumn(IsNullable = false, ColumnDescription = "数量")] public decimal Quantity { get; set; } /// /// 最大数量 /// [ImporterHeader(Name = "最大数量")] [ExporterHeader(DisplayName = "最大数量")] [SugarColumn(IsNullable = false, ColumnDescription = "最大数量")] public decimal MaxQty { get; set; } /// /// 重量 /// [ImporterHeader(Name = "重量")] [ExporterHeader(DisplayName = "重量")] [SugarColumn(IsNullable = false, ColumnDescription = "重量")] public decimal BarWeight { get; set; } /// /// 标箱数量 /// [ImporterHeader(Name = "标箱数量")] [ExporterHeader(DisplayName = "标箱数量")] [SugarColumn(IsNullable = false, ColumnDescription = "标箱数量")] public decimal PackageQty { get; set; } /// /// 入库数量 /// [ImporterHeader(Name = "入库数量")] [ExporterHeader(DisplayName = "入库数量")] [SugarColumn(IsNullable = false, ColumnDescription = "入库数量")] public decimal QuantityIn { get; set; } /// /// 出库数量 /// [ImporterHeader(Name = "出库数量")] [ExporterHeader(DisplayName = "出库数量")] [SugarColumn(IsNullable = false, ColumnDescription = "出库数量")] public decimal QuantityOut { get; set; } /// /// 状态 /// [ImporterHeader(Name = "状态")] [ExporterHeader(DisplayName = "状态")] [SugarColumn(IsNullable = false, ColumnDescription = "状态")] public int Status { get; set; } /// /// 物料 /// [ImporterHeader(Name = "物料")] [ExporterHeader(DisplayName = "物料")] [SugarColumn(IsNullable = false, ColumnDescription = "物料")] public int Materialld { get; set; } /// /// 批次 /// [ImporterHeader(Name = "批次")] [ExporterHeader(DisplayName = "批次")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "批次")] public string BatchNum { get; set; } /// /// 创建人员 /// [ImporterHeader(Name = "创建人员")] [ExporterHeader(DisplayName = "创建人员")] [SugarColumn(IsNullable = false, ColumnDescription = "创建人员")] public int CreateEmpld { get; set; } /// /// 任务单 /// [ImporterHeader(Name = "任务单")] [ExporterHeader(DisplayName = "任务单")] [SugarColumn(IsNullable = false, ColumnDescription = "任务单")] public int Taskld { get; set; } /// /// 任务工序 /// [ImporterHeader(Name = "任务工序")] [ExporterHeader(DisplayName = "任务工序")] [SugarColumn(IsNullable = false, ColumnDescription = "任务工序")] public int TaskSubld { get; set; } } }