using Oms.Domain.Shared; using SqlSugar; namespace Oms.Domain.WarehouseAggregate.Entities; [SugarTable("C_inventory")] public class CInventory : OmsAuditedAggregateRoot { public int CustomerId { get; set; } public int WarehouseId { get; set; } public int SkuId { get; set; } public int BinLocationId { get; set; } public int Qty { get; set; } /// 已绑定未出库冻结量。 public int FrozenQty { get; set; } /// 可用 = Qty - FrozenQty。 public int AvailableQty { get; set; } }