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;
|
|
@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;
|
}
|
|
}
|