| | |
| | | package com.yeshi.fanli.entity.bus.user;
|
| | |
|
| | | import javax.persistence.Entity;
|
| | | import javax.persistence.GeneratedValue;
|
| | | import javax.persistence.GenerationType;
|
| | | import javax.persistence.Id;
|
| | | import javax.persistence.JoinColumn;
|
| | | import javax.persistence.ManyToOne;
|
| | | import javax.persistence.Table;
|
| | | import javax.persistence.Transient;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | |
| | | *
|
| | | * @date 2018年1月29日
|
| | | */
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_lost_order")
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_lost_order")
|
| | | @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日未处理成功则判断为失败)
|
| | |
|
| | | @Id
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | 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;
|
| | |
|
| | | @Expose
|
| | | @Column(name="id")
|
| | | @Column(name = "id")
|
| | | private Long id;
|
| | | @Expose
|
| | | @Column(name="orderId")
|
| | | @Column(name = "orderId")
|
| | | private String orderId;// 订单号
|
| | | @Column(name="type")
|
| | | @Column(name = "type")
|
| | | @Expose
|
| | | private Integer type;// 订单类型 1-淘宝订单
|
| | | @Column(name="state")
|
| | | @Column(name = "state")
|
| | | @Expose
|
| | | private Integer state;// 订单状态 0:审核 1:通过 2:拒绝
|
| | | @Column(name="createTime")
|
| | | @Column(name = "createTime")
|
| | | @Expose
|
| | | private Long createTime;
|
| | | @Column(name="handleTime")
|
| | | @Column(name = "handleTime")
|
| | | @Expose
|
| | | private Long handleTime;
|
| | |
|
| | | @Column(name="uid")
|
| | | @ManyToOne
|
| | | @JoinColumn(name = "uid")
|
| | | @Column(name = "uid")
|
| | | @Expose
|
| | | private UserInfo userInfo;
|
| | |
|
| | | @Column(name="oid")
|
| | | @ManyToOne
|
| | | @JoinColumn(name = "oid")
|
| | | @Column(name = "oid")
|
| | | @Expose
|
| | | private Order order;
|
| | | @Column(name="remake")
|
| | | @Column(name = "remake")
|
| | | @Expose
|
| | | private String remake;
|
| | | @Column(name="judge")
|
| | | @Column(name = "judge")
|
| | | @Expose
|
| | | private String judge;// 系统判定:如果用户在本系统购买并成功上传过订单,且上传的丢失订单后6位相同的话,那么系统判定为匹配
|
| | |
|
| | | @Column(name="result_code")
|
| | | @javax.persistence.Column(name="result_code")
|
| | | @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;
|
| | |
| | | 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;
|
| | | }
|
| | |
|
| | | }
|