生产不能为空参数

This commit is contained in:
tongfei
2024-01-30 15:57:48 +08:00
parent ba46746a8e
commit 110566f680

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace WMS.Web.Core.Dto
@@ -13,21 +14,26 @@ namespace WMS.Web.Core.Dto
/// <summary>
/// 订单编号
/// </summary>
/// <summary>
[Required(ErrorMessage = "订单编号不能为空")]
public string OrderBillNo { get; set; }
/// <summary>
/// 物料ID
/// </summary>
[Required(ErrorMessage = "物料不能为空")]
public int MaterialId { get; set; }
/// <summary>
/// 产品数量
/// </summary>
[Required(ErrorMessage = "产品数量不能为空")]
public decimal ProductQty { get; set; }
/// <summary>
/// 装箱数量
/// </summary>
[Required(ErrorMessage = "装箱数量不能为空")]
public decimal CratingQty { get; set; }
/// <summary>