using System; using System.Collections.Generic; using System.Linq; using SqlSugar; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// 组盘表(库存)明细 /// [SugarTable("Dt_BillGroupStockDetail")] public class Dt_BillGroupStockDetail : BaseEntity { /// /// 备 注:库存明细ID /// 默认值: /// [SugarColumn(ColumnName = "GroupDetailId", IsPrimaryKey = true, IsIdentity = true)] public int GroupDetailId { get; set; } /// /// 备 注:外健(关联主表ID) /// 默认值: /// [SugarColumn(ColumnName = "GroupId")] public int GroupId { get; set; } /// /// 备 注:托盘号(关联 BillGroupStock) /// 默认值: /// [SugarColumn(ColumnName = "PalletCode")] public string? PalletCode { get; set; } /// /// 备 注:单据编号 /// 默认值: /// [SugarColumn(ColumnName = "OrderNo")] public string? OrderNo { get; set; } /// /// 备 注:单据编号(对应对应Dt_InboundOrderDetail 中 OrderDetailId) /// 默认值: /// [SugarColumn(ColumnName = "OrderDetailId")] public int OrderDetailId { get; set; } /// /// 备 注:单据日期 /// 默认值: /// [SugarColumn(ColumnName = "OrderDate")] public DateTime OrderDate { get; set; } /// /// 备 注:批次号 /// 默认值: /// [SugarColumn(ColumnName = "BatchNo")] public string? BatchNo { get; set; } /// /// 备 注:物料编码 /// 默认值: /// [SugarColumn(ColumnName = "MaterialNo")] public string? MaterialNo { get; set; } /// /// 备 注:物料名称 /// 默认值: /// [SugarColumn(ColumnName = "MaterialName")] public string? MaterialName { get; set; } /// /// 备 注:外箱码 /// 默认值: /// [SugarColumn(ColumnName = "OutBoxCode")] public string? OutBoxCode { get; set; } /// /// 备 注:内箱码 /// 默认值: /// [SugarColumn(ColumnName = "InBoxCode")] public string? InBoxCode { get; set; } /// /// 备 注:空托盘码(主表groupWay=4空托组码时记录托盘码) /// 默认值: /// [SugarColumn(ColumnName = "EmptyPalletCode")] public string? EmptyPalletCode { get; set; } /// /// 备 注:组盘单位 /// 默认值: /// [SugarColumn(ColumnName = "PalletUnit")] public string? PalletUnit { get; set; } /// /// 备 注:组盘数量 /// 默认值: /// [SugarColumn(ColumnName = "PalletQuantity")] public decimal ? PalletQuantity { get; set; } /// /// 备 注:基本单位 /// 默认值: /// [SugarColumn(ColumnName = "BasicUnit")] public string? BasicUnit { get; set; } /// /// 备 注:基本计量(根据单位之间的换算逻辑自动换算) /// 默认值: /// [SugarColumn(ColumnName = "BasicQuantity")] public decimal? BasicQuantity { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName = "Spare1")] public string? Spare1 { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName = "Spare2")] public string? Spare2 { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName = "Spare3")] public string? Spare3 { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName = "Spare4")] public string? Spare4 { get; set; } /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName = "Spare5")] public string? Spare5 { get; set; } } }