成品即时库存
This commit is contained in:
64
src/WMS.Web.Domain/Entitys/ProductInventory.cs
Normal file
64
src/WMS.Web.Domain/Entitys/ProductInventory.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
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
|
||||
{
|
||||
/// <summary>
|
||||
/// 成品仓即时库存
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[Table("t_wms_product_inventory")]
|
||||
public class ProductInventory : EntityBase
|
||||
{
|
||||
public ProductInventory() { }
|
||||
/// <summary>
|
||||
/// 主键 订单编号
|
||||
/// </summary>
|
||||
[Column("Id")]
|
||||
public override int Id { get; set; }
|
||||
/// <summary>
|
||||
/// 物料编码
|
||||
/// </summary>
|
||||
[Column("MaterialNumber")]
|
||||
public string MaterialNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 单据类型
|
||||
/// </summary>
|
||||
[Column("Type")]
|
||||
public ProductInventoryType Type { get; set; } = ProductInventoryType.JinDie;
|
||||
/// <summary>
|
||||
/// 组织编码
|
||||
///</summary>
|
||||
[Column("OrgCode")]
|
||||
public string OrgCode { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库
|
||||
///</summary>
|
||||
[Column("StockCode")]
|
||||
public string StockCode { get; set; }
|
||||
/// <summary>
|
||||
/// 客户/店铺
|
||||
///</summary>
|
||||
[Column("Customer")]
|
||||
public string Customer { get; set; }
|
||||
/// <summary>
|
||||
/// 批号
|
||||
///</summary>
|
||||
[Column("Batch")]
|
||||
public string Batch { get; set; }
|
||||
/// <summary>
|
||||
/// 可用量
|
||||
///</summary>
|
||||
[Column("Qty")]
|
||||
public decimal Qty { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 库存量
|
||||
///</summary>
|
||||
[Column("BeforeQty")]
|
||||
public decimal BeforeQty { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user