dengjunjie
2025-07-09 7ca9651f81d7b84f054194d3d46fdbd1d9c8b922
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 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; }
    }
 
    public class PdaMaterielGroupDTO
    {
        [PropertyValidate("托盘编号", NotNullAndEmpty = true)]
        public string PalletCode { get; set; }
 
        [PropertyValidate("单据编号", NotNullAndEmpty = true)]
        public string OrderNo { get; set; }
 
        [PropertyValidate("物料编号", NotNullAndEmpty = true)]
        public string MaterielCode { get; set; }
 
        [PropertyValidate("批次号", NotNullAndEmpty = true)]
        public string BatchNo { get; set; }
 
        [PropertyValidate("组盘数量", NotNullAndEmpty = true)]
        public decimal ReceiptQuantity { get; set; }
    }
}