using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// 成品库存信息明细 /// [SugarTable(nameof(Dt_ProStockInfoDetail), "成品库存信息明细")] public class Dt_ProStockInfoDetail : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 库存主键 /// [SugarColumn(IsNullable = false, ColumnDescription = "成品库存主键")] public int ProStockId { get; set; } /// /// 物料编码 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编码")] public string ProductCode { get; set; } /// /// 物料名称 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料名称")] public string ProductName { get; set; } /// /// 规格 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "规格")] public string ProductSpec { get; set; } /// /// 单位 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "单位")] public string ProductUnit { get; set; } /// /// 库存数 /// [SugarColumn(IsNullable = false, ColumnDescription = "库存数")] public float StockQty { get; set; } /// /// 出库数量 /// [SugarColumn(IsNullable = true, ColumnDescription = "出库数量")] public float OutboundQuantity { get; set; } /// /// 库存明细状态 /// [SugarColumn(IsNullable = false, ColumnDescription = "库存明细状态")] public int ProStockDetailStatus { get; set; } /// /// 批次号 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "批次号")] public string LotNumber { get; set; } /// /// 备注 /// [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")] public string Remark { get; set; } } }