yanjinhui
2 天以前 bfc11f87e2b64420c9917c0b9881b3e327d6f796
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
 
namespace WIDESEA_DTO.Outbound
{
    [ModelValidate]
    public class DeliveryOrderDetailAddDTO
    {
        public int id {  get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        [PropertyValidate("物料编号", NotNullAndEmpty = true)]
        public string goods_no {  get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string batch_num { get; set; }
        /// <summary>
        /// 效期
        /// </summary>
        public string exp_date { get; set; }
        /// <summary>
        /// 货位号
        /// </summary>
        public string locationCode { get; set; }
 
        /// <summary>
        /// 数量
        /// </summary>
        [PropertyValidate("单据数量", NotNullAndEmpty = true, MinValue = 0, IsContainMinValue = false)]
        public int order_Outqty { get; set; }
    }
    public class OutboundOrderDetailAddDTO
    {
        /// <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; }
    }
}