schangxiang@126.com
2024-04-23 f47411fb53aeee0c7bd514cbc841f9030349f448
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace Admin.NET.Core
{
    /// <summary>
    /// 单据明细表
    /// </summary>
    [Table("wms_takematerial_orderdetail")]
    [Comment("单据明细表")]
    public class WmsTakeMaterialOrderDetail : DEntityBase
    {
        /// <summary>
        /// 单据Id  
        /// </summary>
        [Comment("单据Id")]
        [MaxLength(50)]
        public long OrderId { get; set; }
 
        /// <summary>
        /// SCM领料申请单明细行唯一标识
        /// </summary>
        [Comment("SCM领料申请单明细行唯一标识")]
        public long OID { get; set; }
 
        /// <summary>
        /// 物料编号
        /// </summary>
        [Comment("物料编号")]
        [MaxLength(255)]
        public string Materialcode { get; set; }
 
        /// <summary>
        /// 物料名称
        /// </summary>
        [Comment("物料名称")]
        [MaxLength(255)]
        public string Materialname { get; set; }
 
        /// <summary>
        /// 基本单位    
        /// </summary>
        [Comment("基本单位")]
        [MaxLength(255)]
        public string Unit { get; set; }
 
        /// <summary>
        /// 数量
        /// </summary>
        [Comment("数量")]
        public decimal Qty { get; set; }
 
        /// <summary>
        /// 下发数量
        /// </summary>
        [Comment("下发数量")]
        public decimal DistributeQty { get; set; }
 
        /// <summary>
        /// 单根长度 
        /// </summary>
        [Comment("单根长度")]
        public decimal SingleLength { get; set; }
 
        /// <summary>
        /// 件数    
        /// </summary>
        [Comment("件数")]
        public decimal Number { get; set; }
 
        /// <summary>
        /// SCM批次号    
        /// </summary>
        [Comment("SCM批次号")]
        [MaxLength(255)]
        public string Batchno_SCM { get; set; }
 
        /// <summary>
        /// WMS批次号    
        /// </summary>
        [Comment("WMS批次号")]
        public string Batchno_WMS { get; set; }
 
        /// <summary>
        /// 项目编号    
        /// </summary>
        [Comment("项目编号")]
        [MaxLength(255)]
        public string ProjectCode { get; set; }
 
        /// <summary>
        /// TA号
        /// </summary>
        [Comment("TA号")]
        [MaxLength(255)]
        public string TACode { get; set; }
 
        /// <summary>
        /// 分段号
        /// </summary>
        [Comment("分段号")]
        [MaxLength(255)]
        public string PartCode { get; set; }
 
        /// <summary>
        /// 单据状态
        /// </summary>
        [Comment("单据状态")]
        [Required]
        public OrderDetailsStatusEnum OrderStatus { get; set; } = OrderDetailsStatusEnum.WEIZHIXING;
 
        /// <summary>
        /// 托盘编码
        /// </summary>
        [Comment("托盘编码")]
        [MaxLength(50)]
        public string ContainerCode { get; set; }
 
        /// <summary>
        /// 库位编码
        /// </summary>
        [Comment("库位编码")]
        [MaxLength(50)]
        public string PlaceCode { get; set; }
 
        /// <summary>
        /// 单据主表
        /// </summary>
        public WmsTakeMaterialOrder WmsTakeMaterialOrder { get; set; }
    }
}