username@email.com
2024-10-29 18a8fab394f764e5b30c48c8e0d6887ef7d44cbf
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
using Chuanyin.Attribute;
using CoreCms.Net.Model.Entities.baseModel;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace CoreCms.Net.Model.Entities.Order
{
    /// <summary>
    /// 计划订单表
    /// </summary>
    //[SqlCodeFirst]
    public class CoreCmsPlanOrder : BFBaseModel
    {
 
        /// <summary>
        /// 构造函数
        /// </summary>
        public CoreCmsPlanOrder()
        {
        }
 
        /// <summary>
        /// 订单号
        /// </summary>
        [Display(Name = "订单号")]
 
        [SugarColumn(IsPrimaryKey = true)]
 
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
 
 
        public System.String orderId { get; set; }
 
 
        /// <summary>
        /// 省Id
        /// </summary>
        [Display(Name = "省Id")]
 
 
 
        public System.Int32 shengId { get; set; }
 
 
        /// <summary>
        /// 市Id
        /// </summary>
        [Display(Name = "市Id")]
 
 
 
        public System.Int32 shiId { get; set; }
 
 
 
        /// <summary>
        /// 市
        /// </summary>
        [Display(Name = "市")]
 
 
 
        public System.String shi { get; set; }
 
 
        /// <summary>
        /// 区县Id
        /// </summary>
        [Display(Name = "区县Id")]
 
 
 
        public System.Int32 quxianId { get; set; }
 
 
        /// <summary>
        /// 区县名称
        /// </summary>
        [Display(Name = "区县名称")]
 
 
 
        public System.String quxian { get; set; }
 
 
        /// <summary>
        /// 片区
        /// </summary>
        [Display(Name = "片区")]
 
 
        public System.String pianqu { get; set; }
 
        /// <summary>
        /// 调整订单金额
        /// </summary>
        [Display(Name = "调整订单金额")]
 
        [Required(ErrorMessage = "请输入{0}")]
 
 
 
        public System.Decimal orderAmount { get; set; }
 
        /// <summary>
        /// 订单状态
        /// </summary>
        [Display(Name = "订单状态")]
 
        [Required(ErrorMessage = "请输入{0}")]
 
 
 
        public System.Int32 status { get; set; }
 
 
        /// <summary>
        /// 用户ID 关联user.id
        /// </summary>
        [Display(Name = "用户ID 关联user.id")]
 
        [Required(ErrorMessage = "请输入{0}")]
 
 
 
        public System.Int32 userId { get; set; }
 
 
 
        /// <summary>
        /// 学校
        /// </summary>
        [Display(Name = "学校")]
 
 
        [StringLength(maximumLength: 200, ErrorMessage = "{0}不能超过{1}字")]
 
 
        public System.String shipAddress { get; set; }
 
 
        /// <summary>
        /// 联系人
        /// </summary>
        [Display(Name = "联系人")]
 
 
        [StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
 
        public System.String shipName { get; set; }
 
 
        /// <summary>
        /// 收货电话
        /// </summary>
        [Display(Name = "联系电话")]
 
 
        [StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
 
 
        public System.String shipMobile { get; set; }
 
 
 
        /// <summary>
        /// 收货地址
        /// </summary>
        [Display(Name = "收货地址")]
 
        [StringLength(maximumLength: 200, ErrorMessage = "{0}不能超过{1}字")]
 
        public System.String shouhuoAddress { get; set; }
 
 
 
 
 
 
        /// <summary>
        /// 计划订单金额
        /// </summary>
        [Display(Name = "计划订单金额")]
 
        [Required(ErrorMessage = "请输入{0}")]
 
 
 
        public System.Decimal oldOrderAmount { get; set; }
 
 
 
        /// <summary>
        /// 可用余额
        /// </summary>
        [Display(Name = "可用余额")]
 
        [Required(ErrorMessage = "请输入{0}")]
 
 
 
        public System.Decimal keYongAmount { get; set; }
 
 
        /// <summary>
        ///     状态说明
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string statusText { get; set; }
 
 
        /// <summary>
        /// 已花费金额
        /// </summary>
        [Display(Name = "已花费金额")]
 
        [Required(ErrorMessage = "请输入{0}")]
 
 
 
        public System.Decimal huaFeiAmount { get; set; }
 
 
        /// <summary>
        /// 调整订单金额
        /// </summary>
        [SugarColumn(IsIgnore = true)]
 
 
 
        public System.Decimal orderAmounts { get; set; }
        /// <summary>
        /// 计划订单金额
        /// </summary>
        [SugarColumn(IsIgnore = true)]
 
 
 
        public System.Decimal oldOrderAmounts { get; set; }
        /// <summary>
        /// 可用余额
        /// </summary>
        [SugarColumn(IsIgnore = true)]
 
 
 
        public System.Decimal keYongAmounts { get; set; }
    }
}