生产不能为空参数
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user