admin
2019-05-22 6eee4b9602f02664bfc4c55ae36583a1f419f73b
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
package com.yeshi.fanli.entity.bus.user;
 
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Transient;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
import com.google.gson.annotations.Expose;
 
/**
 * 丢失订单
 * 
 * @author cxx
 *
 * @date 2018年1月29日
 */
@Table("yeshi_ec_lost_order")
public class LostOrder {
 
    public final static int RESULT_CODE_VERFING = 1;// 审核中
    public final static int RESULT_CODE_SUCCESS = 2;// 成功
    public final static int RESULT_CODE_FAIL = 3;// 失败(通过后3日未处理成功则判断为失败)
 
    public final static int STATE_VERFING = 0;
    public final static int STATE_PASS = 1;
    public final static int STATE_REJECT = 2;
    
    
    public final static int TYPE_TAOBAO = 1;
 
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Expose
    @Column(name = "id")
    private Long id;
    @Expose
    @Column(name = "orderId")
    private String orderId;// 订单号
    @Column(name = "type")
    @Expose
    private Integer type;// 订单类型 1-淘宝订单
    @Column(name = "state")
    @Expose
    private Integer state;// 订单状态 0:审核 1:通过 2:拒绝
    @Column(name = "createTime")
    @Expose
    private Long createTime;
    @Column(name = "handleTime")
    @Expose
    private Long handleTime;
 
    @Column(name = "uid")
    @ManyToOne
    @JoinColumn(name = "uid")
    @Expose
    private UserInfo userInfo;
 
    @Column(name = "oid")
    @ManyToOne
    @JoinColumn(name = "oid")
    @Expose
    private Order order;
    @Column(name = "remake")
    @Expose
    private String remake;
    @Column(name = "judge")
    @Expose
    private String judge;// 系统判定:如果用户在本系统购买并成功上传过订单,且上传的丢失订单后6位相同的话,那么系统判定为匹配
 
    @Column(name = "result_code")
    @javax.persistence.Column(name = "result_code")
    @Expose
    private Integer resultCode;// 第三方平台订单爬取结果
    @Column(name = "ip_info")
    private String ipInfo;
 
    @Transient
    private Integer total;
    @Transient
    private Integer totalPass;
    @Transient
    private Integer totalReject;
 
    public Integer getResultCode() {
        return resultCode;
    }
 
    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getRemake() {
        return remake;
    }
 
    public void setRemake(String remake) {
        this.remake = remake;
    }
 
    public String getJudge() {
        return judge;
    }
 
    public void setJudge(String judge) {
        this.judge = judge;
    }
 
    public String getOrderId() {
        return orderId;
    }
 
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public Long getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
 
    public Long getHandleTime() {
        return handleTime;
    }
 
    public void setHandleTime(Long handleTime) {
        this.handleTime = handleTime;
    }
 
    public UserInfo getUserInfo() {
        return userInfo;
    }
 
    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }
 
    public Order getOrder() {
        return order;
    }
 
    public void setOrder(Order order) {
        this.order = order;
    }
 
    public Integer getTotal() {
        return total;
    }
 
    public void setTotal(Integer total) {
        this.total = total;
    }
 
    public Integer getTotalPass() {
        return totalPass;
    }
 
    public void setTotalPass(Integer totalPass) {
        this.totalPass = totalPass;
    }
 
    public Integer getTotalReject() {
        return totalReject;
    }
 
    public void setTotalReject(Integer totalReject) {
        this.totalReject = totalReject;
    }
 
    public String getIpInfo() {
        return ipInfo;
    }
 
    public void setIpInfo(String ipInfo) {
        this.ipInfo = ipInfo;
    }
 
}