using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; using WMS.Web.Core; using WMS.Web.Domain.Values; namespace WMS.Web.Domain.Entitys { /// /// 成品仓即时库存 /// [Serializable] [Table("t_wms_product_inventory")] public class ProductInventory : EntityBase { public ProductInventory() { } /// /// 主键 订单编号 /// [Column("Id")] public override int Id { get; set; } /// /// 物料编码 /// [Column("MaterialNumber")] public string MaterialNumber { get; set; } /// /// 单据类型 /// [Column("Type")] public ProductInventoryType Type { get; set; } = ProductInventoryType.JinDie; /// /// 组织编码 /// [Column("OrgCode")] public string OrgCode { get; set; } /// /// 仓库 /// [Column("StockCode")] public string StockCode { get; set; } /// /// 客户/店铺 /// [Column("Customer")] public string Customer { get; set; } /// /// 批号 /// [Column("Batch")] public string Batch { get; set; } /// /// 可用量 /// [Column("Qty")] public decimal Qty { get; set; } = 0; /// /// 库存量 /// [Column("BeforeQty")] public decimal BeforeQty { get; set; } = 0; } }