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