package com.yeshi.fanli.entity.bus.user;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.fanli.entity.system.BusinessSystem;
|
|
/**
|
* 提现记录
|
*
|
* @author cxx
|
*
|
* @date 2018年1月29日
|
*/
|
@Table("yeshi_ec_extract")
|
public class Extract {
|
public static int STATE_NOT_PROCESS = 0;// 未处理
|
public static int STATE_PASS = 1;// 通过
|
public static int STATE_REJECT = 2;// 拒绝
|
public static int STATE_PROCESSING = 3;// 正在处理
|
|
@Column(name = "id")
|
private Long id;
|
|
@Column(name = "uid")
|
private UserInfo userInfo;// 用户
|
|
@Column(name = "sid")
|
private BusinessSystem system;
|
|
@Expose
|
@Column(name = "adminId")
|
private Long adminId; // 任务id 目前默认值
|
|
@Column(name = "account")
|
private String account;// 庄户
|
|
@Column(name = "name")
|
private String name;// 提现名称
|
|
@Column(name = "type")
|
private Integer type;// 提现类型
|
|
@Column(name = "money")
|
private BigDecimal money;// 提现金额
|
|
@Column(name = "extractTime")
|
private Long extractTime;
|
|
@Column(name = "ip")
|
private String ip;
|
|
@Column(name = "state")
|
private Integer state;
|
|
@Column(name = "reason")
|
private String reason;
|
|
|
|
public Extract(Long id) {
|
this.id = id;
|
}
|
public Extract() {
|
|
}
|
|
|
// TODO 等待添加字段
|
private Date receiveTime;// 到账时间
|
|
public Date getReceiveTime() {
|
return receiveTime;
|
}
|
|
public void setReceiveTime(Date receiveTime) {
|
this.receiveTime = receiveTime;
|
}
|
|
public Long getAdminId() {
|
return adminId;
|
}
|
|
public void setAdminId(Long adminId) {
|
this.adminId = adminId;
|
}
|
|
public BusinessSystem getSystem() {
|
return system;
|
}
|
|
public void setSystem(BusinessSystem system) {
|
this.system = system;
|
}
|
|
public String getReason() {
|
return reason;
|
}
|
|
public void setReason(String reason) {
|
this.reason = reason;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Long getExtractTime() {
|
return extractTime;
|
}
|
|
public void setExtractTime(Long extractTime) {
|
this.extractTime = extractTime;
|
}
|
|
public String getIp() {
|
return ip;
|
}
|
|
public void setIp(String ip) {
|
this.ip = ip;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public UserInfo getUserInfo() {
|
return userInfo;
|
}
|
|
public void setUserInfo(UserInfo userInfo) {
|
this.userInfo = userInfo;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public BigDecimal getMoney() {
|
return money;
|
}
|
|
public void setMoney(BigDecimal money) {
|
this.money = money;
|
}
|
|
}
|