package org.fanli.facade.user.entity.money.extract;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.FetchType;
|
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 org.fanli.facade.system.entity.common.SystemManage;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.fanli.base.entity.user.UserInfo;
|
|
/**
|
* 提现记录
|
*
|
* @author cxx
|
*
|
* @date 2018年1月29日
|
*/
|
@Entity
|
@Table(name = "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;// 正在处理
|
|
@Id
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@Column(name = "`id`")
|
private Long id;
|
|
public Extract(Long id) {
|
this.id = id;
|
}
|
public Extract() {
|
|
}
|
|
@ManyToOne(fetch = FetchType.EAGER)
|
@JoinColumn(name = "uid")
|
@org.yeshi.utils.mybatis.Column(name = "uid")
|
private UserInfo userInfo;// 用户
|
|
private String account;// 庄户
|
|
private String name;// 提现名称
|
|
private Integer type;// 提现类型
|
|
private BigDecimal money;// 提现金额
|
|
private Long extractTime;
|
|
private String ip;
|
|
private Integer state;
|
|
private String reason;
|
|
@ManyToOne(fetch = FetchType.EAGER)
|
@JoinColumn(name = "sid")
|
private SystemManage system;
|
|
@Column(name = "adminId")
|
@Expose
|
@org.yeshi.utils.mybatis.Column(name = "adminId")
|
private Long adminId; // 任务id 目前默认值
|
|
// 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 SystemManage getSystem() {
|
return system;
|
}
|
|
public void setSystem(SystemManage 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;
|
}
|
|
}
|