using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// Inventory Data Structure. /// [Serializable] public class Inventory : AopObject { /// /// 批次编号 /// [XmlElement("batch_code")] public string BatchCode { get; set; } /// /// 过期时间 /// [XmlElement("expire_date")] public string ExpireDate { get; set; } /// /// 扩展字段,json格式 /// [XmlElement("extend_props")] public string ExtendProps { get; set; } /// /// 创建日期 /// [XmlElement("gmt_create")] public string GmtCreate { get; set; } /// /// 修改日期 /// [XmlElement("gmt_modified")] public string GmtModified { get; set; } /// /// 货品编码 /// [XmlElement("goods_code")] public string GoodsCode { get; set; } /// /// 货品类型:ZP("正品"), CC("残次"), JS("机损"), XS("箱损"),ZT("在途库存") /// [XmlElement("inventory_type")] public string InventoryType { get; set; } /// /// 锁定数量 /// [XmlElement("lock_quantity")] public long LockQuantity { get; set; } /// /// 生产日期 /// [XmlElement("product_date")] public string ProductDate { get; set; } /// /// 可用数量 /// [XmlElement("quantity")] public long Quantity { get; set; } /// /// 实际数量 /// [XmlElement("real_quantity")] public long RealQuantity { get; set; } /// /// 仓库编码 /// [XmlElement("warehouse_code")] public string WarehouseCode { get; set; } } }