zhaojs
2023-09-27 74098f1401afe40f961d1d167bb18dd0a71c4d59
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
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
 
namespace Operater.DbModel
{
    /// <summary>
    /// 
    /// </summary>
 
    [SugarTable("ali_orderinfo")]
    public class AliOrderinfo
    {
        /// <summary>
        /// 
        /// </summary>
        public AliOrderinfo()
        {
        }
 
        /// <summary>
        /// 子订单id
        /// </summary>
        [SugarColumn(ColumnName = "oid", IsPrimaryKey = true)]
        public System.String Oid { get; set; }
 
        /// <summary>
        /// 主订单id
        /// </summary>
        [SugarColumn(ColumnName = "tid", IsPrimaryKey = true)]
        public System.String Tid { get; set; }
 
        /// <summary>
        /// 实付金额,单位为元
        /// </summary>
        [SugarColumn(ColumnName = "item_amount")]
        public System.Decimal? ItemAmount { get; set; }
 
        /// <summary>
        /// 商品名称
        /// </summary>
        [SugarColumn(ColumnName = "name")]
        public System.String Name { get; set; }
 
        /// <summary>
        /// 原始单价,以元为单位
        /// </summary>
        [SugarColumn(ColumnName = "price")]
        public System.Decimal? Price { get; set; }
 
        /// <summary>
        /// 产品ID(非在线产品为空)
        /// </summary>
        [SugarColumn(ColumnName = "product_id")]
        public System.String ProductId { get; set; }
 
        /// <summary>
        /// 商品图片url
        /// </summary>
        [SugarColumn(ColumnName = "product_img_url")]
        public System.String ProductImgUrl { get; set; }
 
        /// <summary>
        /// 产品快照url,交易订单产生时会自动记录下当时的商品快照,供后续纠纷时参考
        /// </summary>
        [SugarColumn(ColumnName = "product_snapshot_url")]
        public System.String ProductSnapshotUrl { get; set; }
 
        /// <summary>
        /// 以unit为单位的数量,例如多少个、多少件、多少箱、多少吨
        /// </summary>
        [SugarColumn(ColumnName = "quantity")]
        public System.Decimal? Quantity { get; set; }
 
        /// <summary>
        /// 退款金额,单位为元
        /// </summary>
        [SugarColumn(ColumnName = "refund")]
        public System.Decimal? Refund { get; set; }
 
        /// <summary>
        /// skuID
        /// </summary>
        [SugarColumn(ColumnName = "sku_id")]
        public System.String SkuId { get; set; }
 
        /// <summary>
        /// 子订单状态
        /// </summary>
        [SugarColumn(ColumnName = "order_status")]
        public System.String OrderStatus { get; set; }
 
        /// <summary>
        /// 售卖单位 例如:个、件、箱、吨
        /// </summary>
        [SugarColumn(ColumnName = "unit")]
        public System.String Unit { get; set; }
 
        /// <summary>
        /// 重量 按重量单位计算的重量,例如:100
        /// </summary>
        [SugarColumn(ColumnName = "weight")]
        public System.String Weight { get; set; }
 
        /// <summary>
        /// 重量单位 例如:g,kg,t
        /// </summary>
        [SugarColumn(ColumnName = "weight_unit")]
        public System.String WeightUnit { get; set; }
 
        /// <summary>
        /// 订单明细涨价或降价的金额
        /// </summary>
        [SugarColumn(ColumnName = "entry_discount")]
        public System.Decimal? EntryDiscount { get; set; }
 
        /// <summary>
        /// 订单销售属性ID
        /// </summary>
        [SugarColumn(ColumnName = "specId")]
        public System.String SpecId { get; set; }
 
        /// <summary>
        /// 子订单状态描述
        /// </summary>
        [SugarColumn(ColumnName = "status_str")]
        public System.String StatusStr { get; set; }
 
        /// <summary>
        /// WAIT_SELLER_AGREE 等待卖家同意 REFUND_SUCCESS 退款成功 REFUND_CLOSED 退款关闭 WAIT_BUYER_MODIFY 待买家修改 WAIT_BUYER_SEND 等待买家退货 WAIT_SELLER_RECEIVE 等待卖家确认收货
        /// </summary>
        [SugarColumn(ColumnName = "refund_status")]
        public System.String RefundStatus { get; set; }
 
        /// <summary>
        /// 关闭原因
        /// </summary>
        [SugarColumn(ColumnName = "close_reason")]
        public System.String CloseReason { get; set; }
 
        /// <summary>
        /// 1 未发货 2 已发货 3 已收货 4 已经退货 5 部分发货 8 还未创建物流订单
        /// </summary>
        [SugarColumn(ColumnName = "logistics_status")]
        public System.Int32? LogisticsStatus { get; set; }
 
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "gmt_create")]
        public System.DateTime? GmtCreate { get; set; }
 
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "gmt_modified")]
        public System.DateTime? GmtModified { get; set; }
 
        /// <summary>
        /// 明细完成时间
        /// </summary>
        [SugarColumn(ColumnName = "gmt_completed")]
        public System.DateTime? GmtCompleted { get; set; }
 
        /// <summary>
        /// 售中退款单号
        /// </summary>
        [SugarColumn(ColumnName = "refund_id")]
        public System.String RefundId { get; set; }
 
        /// <summary>
        /// 售后退款单号
        /// </summary>
        [SugarColumn(ColumnName = "refund_id_foras")]
        public System.String RefundIdForas { get; set; }
 
        /// <summary>
        /// sku具体信息,json格式
        /// </summary>
        [SugarColumn(ColumnName = "skuinfos")]
        public System.String Skuinfos { get; set; }
    }
}