duyongjia
2024-11-22 a89f1faab22c204627d49d6731be9c94d8160184
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.Attributes;
 
namespace WIDESEAWCS_DTO.Outbound
{
    [ModelValidate]
    public class OutboundOrderDetailAddDTO
    {
        /// <summary>
        /// 物料编号
        /// </summary>
        [PropertyValidate("物料编号", NotNullAndEmpty = true)]
        public string MaterielCode { get; set; }
 
        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo { get; set; }
 
        /// <summary>
        /// 单据数量
        /// </summary>
        [PropertyValidate("单据数量", NotNullAndEmpty = true, MinValue = 0, IsContainMinValue = false)]
        public decimal OrderQuantity { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}