zhaojs
2023-09-15 fc13938ff90213060532d99a600dea4a84456885
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
256
257
258
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
 
namespace Operater.DbModel
{
 
    /// <summary>
    /// 
    /// </summary>
 
    [SugarTable("ali_tradeinfo")]
    public class AliTradeinfo
    {
        /// <summary>
        /// 
        /// </summary>
        public AliTradeinfo()
        {
        }
 
        /// <summary>
        /// 主订单id
        /// </summary>
        [SugarColumn(ColumnName = "tid", IsPrimaryKey = true)]
        public System.String Tid { get; set; }
 
        /// <summary>
        /// 付款时间,如果有多次付款,这里返回的是首次付款时间
        /// </summary>
        [SugarColumn(ColumnName = "pay_time")]
        public System.DateTime? PayTime { get; set; }
 
        /// <summary>
        /// 完全发货时间
        /// </summary>
        [SugarColumn(ColumnName = "all_delivered_time")]
        public System.DateTime? AllDeliveredTime { get; set; }
 
        /// <summary>
        /// 折扣信息
        /// </summary>
        [SugarColumn(ColumnName = "discount")]
        public System.Decimal? Discount { get; set; }
 
        /// <summary>
        /// 外部支付交易Id
        /// </summary>
        [SugarColumn(ColumnName = "alipay_trade_id")]
        public System.String AlipayTradeId { get; set; }
 
        /// <summary>
        /// 产品总金额(该订单产品明细表中的产品金额的和)
        /// </summary>
        [SugarColumn(ColumnName = "sum_product_payment")]
        public System.Decimal? SumProductPayment { get; set; }
 
        /// <summary>
        /// 买家留言,不超过500字
        /// </summary>
        [SugarColumn(ColumnName = "buyer_feedback")]
        public System.String BuyerFeedback { get; set; }
 
        /// <summary>
        /// 买家loginId,旺旺Id
        /// </summary>
        [SugarColumn(ColumnName = "buyer_login_id")]
        public System.String BuyerLoginId { get; set; }
 
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "modify_time")]
        public System.DateTime? ModifyTime { get; set; }
 
        /// <summary>
        /// 关闭原因。buyerCancel:买家取消订单,sellerGoodsLack:卖家库存不足,other:其它
        /// </summary>
        [SugarColumn(ColumnName = "close_reason")]
        public System.String CloseReason { get; set; }
 
        /// <summary>
        /// 卖家支付宝id
        /// </summary>
        [SugarColumn(ColumnName = "seller_alipay_id")]
        public System.String SellerAlipayId { get; set; }
 
        /// <summary>
        /// 完成时间
        /// </summary>
        [SugarColumn(ColumnName = "complete_time")]
        public System.DateTime? CompleteTime { get; set; }
 
        /// <summary>
        /// 卖家oginId,旺旺Id
        /// </summary>
        [SugarColumn(ColumnName = "seller_loginid")]
        public System.String SellerLoginid { get; set; }
 
        /// <summary>
        /// 买家主账号id
        /// </summary>
        [SugarColumn(ColumnName = "buyer_id")]
        public System.String BuyerId { get; set; }
 
        /// <summary>
        /// 关闭订单操作类型。CLOSE_TRADE_BY_SELLER:卖家关闭交易,CLOSE_TRADE_BY_BOPS:BOPS后台关闭交易,CLOSE_TRADE_BY_SYSTEM:系统(超时)关闭交易,CLOSE_TRADE_BY_BUYER:买家关闭交易,CLOSE_TRADE_BY_CREADIT:诚信保障投诉关闭
        /// </summary>
        [SugarColumn(ColumnName = "close_operate_type")]
        public System.String CloseOperateType { get; set; }
 
        /// <summary>
        /// 应付款总金额,totalAmount = ∑itemAmount + shippingFee,单位为元
        /// </summary>
        [SugarColumn(ColumnName = "total_amount")]
        public System.Decimal? TotalAmount { get; set; }
 
        /// <summary>
        /// 卖家主账号id
        /// </summary>
        [SugarColumn(ColumnName = "seller_id")]
        public System.String SellerId { get; set; }
 
        /// <summary>
        /// 运费,单位为元
        /// </summary>
        [SugarColumn(ColumnName = "shipping_fee")]
        public System.Decimal? ShippingFee { get; set; }
 
        /// <summary>
        /// 买家数字id
        /// </summary>
        [SugarColumn(ColumnName = "buyer_userid")]
        public System.String BuyerUserid { get; set; }
 
        /// <summary>
        /// 买家备忘信息
        /// </summary>
        [SugarColumn(ColumnName = "buyer_memo")]
        public System.String BuyerMemo { get; set; }
 
        /// <summary>
        /// 退款金额
        /// </summary>
        [SugarColumn(ColumnName = "refund")]
        public System.Decimal? Refund { get; set; }
 
        /// <summary>
        /// 交易状态,waitbuyerpay:等待买家付款;waitsellersend:等待卖家发货;waitbuyerreceive:等待买家收货;confirm_goods:已收货;success:交易成功;cancel:交易取消;terminated:交易终止;未枚举:其他状态
        /// </summary>
        [SugarColumn(ColumnName = "trade_status")]
        public System.String TradeStatus { get; set; }
 
        /// <summary>
        /// 退款金额
        /// </summary>
        [SugarColumn(ColumnName = "refund_payment")]
        public System.Decimal? RefundPayment { get; set; }
 
        /// <summary>
        /// 红包金额
        /// </summary>
        [SugarColumn(ColumnName = "coupon_fee")]
        public System.Decimal? CouponFee { get; set; }
 
        /// <summary>
        /// 订单的售中退款状态,等待卖家同意:waitselleragree ,待买家修改:waitbuyermodify,等待买家退货:waitbuyersend,等待卖家确认收货:waitsellerreceive,退款成功:refundsuccess,退款失败:refundclose
        /// </summary>
        [SugarColumn(ColumnName = "refund_status")]
        public System.String RefundStatus { get; set; }
 
        /// <summary>
        /// 备注,1688指下单时的备注
        /// </summary>
        [SugarColumn(ColumnName = "remark")]
        public System.String Remark { get; set; }
 
        /// <summary>
        /// 关闭订单备注
        /// </summary>
        [SugarColumn(ColumnName = "close_remark")]
        public System.String CloseRemark { get; set; }
 
        /// <summary>
        /// 收货时间,这里返回的是完全收货时间
        /// </summary>
        [SugarColumn(ColumnName = "receiving_time")]
        public System.DateTime? ReceivingTime { get; set; }
 
        /// <summary>
        /// 卖家数字id
        /// </summary>
        [SugarColumn(ColumnName = "seller_userid")]
        public System.String SellerUserid { get; set; }
 
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "create_time")]
        public System.DateTime? CreateTime { get; set; }
 
        /// <summary>
        /// 退款单ID
        /// </summary>
        [SugarColumn(ColumnName = "refund_id")]
        public System.String RefundId { get; set; }
 
        /// <summary>
        /// 联系人姓名
        /// </summary>
        [SugarColumn(ColumnName = "contact_person")]
        public System.String ContactPerson { get; set; }
 
        /// <summary>
        /// 省份
        /// </summary>
        [SugarColumn(ColumnName = "province")]
        public System.String Province { get; set; }
 
        /// <summary>
        /// 城市
        /// </summary>
        [SugarColumn(ColumnName = "city")]
        public System.String City { get; set; }
 
        /// <summary>
        /// 县,区
        /// </summary>
        [SugarColumn(ColumnName = "area")]
        public System.String Area { get; set; }
 
        /// <summary>
        /// 详细地址
        /// </summary>
        [SugarColumn(ColumnName = "address")]
        public System.String Address { get; set; }
 
        /// <summary>
        /// 手机
        /// </summary>
        [SugarColumn(ColumnName = "mobile")]
        public System.String Mobile { get; set; }
 
        /// <summary>
        /// 镇,街道
        /// </summary>
        [SugarColumn(ColumnName = "town")]
        public System.String Town { get; set; }
 
        /// <summary>
        /// 有赞订单发货状态 0未发货,1已发货 2部分发货
        /// </summary>
        [SugarColumn(ColumnName = "yz_sendgoods_status")]
        public System.Int32 YzSendgoodsStatus { get; set; }
    }
 
}