pan
2025-11-03 72e53dc9a4e6d63ea958f6ff5cbe01ca588dbdab
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
41
42
43
44
45
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 MaterielGroupDTO
    {
        [PropertyValidate("托盘编号", NotNullAndEmpty = true)]
        public string PalletCode { get; set; }
 
        [PropertyValidate("单据编号", NotNullAndEmpty = true)]
        public string OrderNo { get; set; }
 
        [PropertyValidate("序列号条码", NotNullAndEmpty = true)]
        public List<string> SerialNumbers { get; set; }
    }
 
 
    [ModelValidate]
    public class BarcodeMaterielGroupDTO
    {
        [PropertyValidate("托盘编号", NotNullAndEmpty = true)]
        public string PalletCode { get; set; }
 
        [PropertyValidate("单据编号", NotNullAndEmpty = true)]
        public string OrderNo { get; set; }
 
        [PropertyValidate("序列号条码", NotNullAndEmpty = true)]
        public string Barcodes { get; set; } 
    }
 
    [ModelValidate]
    public class EmptyBarcodeMaterielGroupDTO
    {
        [PropertyValidate("托盘编号", NotNullAndEmpty = true)]
        public string PalletCode { get; set; }
 
       
    }
}