修改生成规则

This commit is contained in:
tongfei
2024-02-18 16:53:18 +08:00
parent 8a3d4343a3
commit b3190e67e7
13 changed files with 332 additions and 85 deletions

View File

@@ -14,6 +14,11 @@ namespace WMS.Web.Core.Dto
/// </summary>
public int Id { get; set; }
/// <summary>
/// 明细编号ID
/// </summary>
public int DetailId { get; set; }
/// <summary>
/// 箱唛编号
/// </summary>
@@ -87,5 +92,10 @@ namespace WMS.Web.Core.Dto
/// 创建时间(生成时间)
/// </summary>
public string CreateTime { get; set; }
/// <summary>
/// 是否是尾箱
/// </summary>
public bool IsTail { get; set; }
}
}

View File

@@ -29,12 +29,14 @@ namespace WMS.Web.Core.Dto
/// 产品数量
/// </summary>
[Required(ErrorMessage = "产品数量不能为空")]
[Range(1, int.MaxValue, ErrorMessage = "产品数量不能为0")]
public decimal ProductQty { get; set; }
/// <summary>
/// 装箱数量
/// </summary>
[Required(ErrorMessage = "装箱数量不能为空")]
[Range(1, int.MaxValue, ErrorMessage = "装箱数量不能为0")]
public decimal CratingQty { get; set; }
/// <summary>