修改实体属性

This commit is contained in:
tongfei
2023-11-01 09:19:41 +08:00
parent 1eafbc8503
commit 8a3361c61f
12 changed files with 135 additions and 71 deletions

View File

@@ -22,6 +22,10 @@ namespace WMS.Web.Domain.Entitys
/// </summary>
public string BillNo { get; set; }
/// <summary>
/// 来源单号
/// </summary>
public string SourceBillNo { get; set; }
/// <summary>
/// 入库状态
/// </summary>
public InstockStatus Status { get; set; }
@@ -51,6 +55,16 @@ namespace WMS.Web.Domain.Entitys
/// </summary>
public List<InStockTaskDetails> Details = new List<InStockTaskDetails>();
/// <summary>
/// 创建
/// </summary>
/// <param name="type"></param>
public void Create(InstockType type)
{
this.Status = InstockStatus.Wait;
this.Type = type;
}
/// <summary>
/// 创建订单号