Huangxiaoqiang-03
2024-10-21 ca54833cebd878d27d411edab28c3a2850415074
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
36
37
38
39
40
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
 
namespace WIDESEA_DTO.Inbound
{
    [ModelValidate]
    public class InboundOrderDetailAddDTO
    {
        /// <summary>
        /// 物料编号
        /// </summary>
        [PropertyValidate("物料编号", NotNullAndEmpty = true)]
        public string MaterielCode { get; set; }
 
        /// <summary>
        /// 批次号
        /// </summary>
        public string MaterielName { 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; }
    }
}