2
schangxiang@126.com
2024-06-20 90b264c675155d6fb921d256f2de48ad398845c6
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace iWare.Wms.Core
{
    /// <summary>
    /// 物料托盘关系表
    /// </summary>
    [Table("wms_materialcontainer")]
    [Comment("物料托盘关系表")]
    public class WmsMaterialContainer:DEntityBase
    {
        /// <summary>
        /// 托盘ID
        /// </summary>
        [Comment("托盘ID")]
        [Required]
 
        public long ContainerId { get; set; }
 
        /// <summary>
        /// 托盘编码
        /// </summary>
        [Comment("托盘编码")]
        [Required]
 
        [MaxLength(50)]
        public string ContainerCode { get; set; }
 
        /// <summary>
        /// 物料名称
        /// </summary>
        [Comment("物料名称")]
        [Required]
 
        [MaxLength(50)]
        public string MaterialName { get; set; }
 
        /// <summary>
        /// 物料编号
        /// </summary>
        [Comment("物料编号")]
        [Required]
 
        [MaxLength(50)]
        public string MaterialNo { get; set; }
 
        /// <summary>
        /// 物料批次
        /// </summary>
        [Comment("物料批次")]
        [Required]
 
        [MaxLength(50)]
        public string MaterialBatch { get; set; }
 
        /// <summary>
        /// 物料规格
        /// </summary>
        [Comment("物料规格")]
 
        [MaxLength(50)]
        public string MaterialSpec { get; set; }
 
        /// <summary>
        /// 物料ID
        /// </summary>
        [Comment("物料ID")]
        [Required]
 
        public long MaterialId { get; set; }
 
        /// <summary>
        /// 组盘数量
        /// </summary>
        [Comment("组盘数量")]
        [Required]
 
        public decimal BindQuantity { get; set; }
 
        /// <summary>
        /// 组盘状态;数据字典
        /// </summary>
        [Comment("组盘状态")]
        [Required]
 
        public CommonStatus BindStatus { get; set; }
 
        /// <summary>
        /// 抽检数量
        /// </summary>
        [Comment("抽检数量")]
 
        public decimal SampleQty { get; set; }
 
        /// <summary>
        /// 单号
        /// </summary>
        [Comment("单号")]
        [Required]
 
        [MaxLength(50)]
        public string OrderNo { get; set; }
 
 
        public WmsContainer WmsContainer { get; set; }
 
        public WmsMaterial WmsMaterial { get; set; }
 
        
    }
}