qinchulong
2024-10-12 7281004dc3854ed59e9164dcd27a59c8c2cf6667
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using WIDESEA_Core.DB.Models;
 
namespace WIDESEA_Model.Models
{
    /// <summary>
    /// 组盘表(库存)明细
    ///</summary>
    [SugarTable("Dt_BillGroupStockDetail")]
    public class Dt_BillGroupStockDetail : BaseEntity
    {
        /// <summary>
        /// 备  注:库存明细ID
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "GroupDetailId", IsPrimaryKey = true, IsIdentity = true)]
        public int GroupDetailId { get; set; }
 
        /// <summary>
        /// 备  注:外健(关联主表ID)
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "GroupId")]
        public int GroupId { get; set; }
 
        /// <summary>
        /// 备  注:托盘号(关联 BillGroupStock)
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "PalletCode")]
        public string? PalletCode { get; set; }
 
        /// <summary>
        /// 备  注:单据编号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "OrderNo")]
        public string? OrderNo { get; set; }
 
        /// <summary>
        /// 备  注:单据编号(对应对应Dt_InboundOrderDetail 中  OrderDetailId)
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "OrderDetailId")]
        public int OrderDetailId { get; set; }
 
        /// <summary>
        /// 备  注:单据日期
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "OrderDate")]
        public DateTime OrderDate { get; set; }
 
        /// <summary>
        /// 备  注:批次号
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "BatchNo")]
        public string? BatchNo { get; set; }
 
        /// <summary>
        /// 备  注:物料编码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "MaterialNo")]
        public string? MaterialNo { get; set; }
 
        /// <summary>
        /// 备  注:物料名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "MaterialName")]
        public string? MaterialName { get; set; }
 
        /// <summary>
        /// 备  注:外箱码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "OutBoxCode")]
        public string? OutBoxCode { get; set; }
 
        /// <summary>
        /// 备  注:内箱码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "InBoxCode")]
        public string? InBoxCode { get; set; }
 
        /// <summary>
        /// 备  注:空托盘码(主表groupWay=4空托组码时记录托盘码)
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "EmptyPalletCode")]
        public string? EmptyPalletCode { get; set; }
 
        /// <summary>
        /// 备  注:组盘单位
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "PalletUnit")]
        public string? PalletUnit { get; set; }
 
        /// <summary>
        /// 备  注:组盘数量
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "PalletQuantity")]
        public decimal ? PalletQuantity { get; set; }
 
        /// <summary>
        /// 备  注:基本单位
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "BasicUnit")]
        public string? BasicUnit { get; set; }
 
        /// <summary>
        /// 备  注:基本计量(根据单位之间的换算逻辑自动换算)
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "BasicQuantity")]
        public decimal? BasicQuantity { get; set; }
 
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "Spare1")]
        public string? Spare1 { get; set; }
 
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "Spare2")]
        public string? Spare2 { get; set; }
 
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "Spare3")]
        public string? Spare3 { get; set; }
 
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "Spare4")]
        public string? Spare4 { get; set; }
 
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "Spare5")]
        public string? Spare5 { get; set; }
    }
}