package com.yeshi.makemoney.app.entity.money;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.makemoney.app.entity.user.UserInfo;
|
import org.springframework.data.annotation.Id;
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @author hxh
|
* @title: Extract
|
* @description: 提现
|
* @date 2022/4/1 11:57
|
*/
|
@Table("mm_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;
|
|
public Extract() {
|
}
|
|
|
public Extract(Long id) {
|
this.id = id;
|
}
|
|
|
@Id
|
private Long id;
|
|
/**
|
* 用户
|
**/
|
@Column(name = "uid")
|
private UserInfo user;
|
|
/**
|
* 处理的管理员ID
|
**/
|
@Expose
|
private Long adminId;
|
|
/**
|
* 账户(若为微信则为openid)
|
**/
|
private String account;
|
|
/**
|
* 名称(若为微信,为空)
|
**/
|
private String name;
|
|
/**
|
* 提现支付类型
|
**/
|
private ExtractPayType type;
|
|
/**
|
* 提现金额
|
**/
|
private BigDecimal money;
|
|
private String ip;
|
|
private Integer state;
|
|
private String reason;
|
|
|
/**
|
* 提现成功时间
|
**/
|
private Date successTime;
|
|
private Date createTime;
|
|
private Date updateTime;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public UserInfo getUser() {
|
return user;
|
}
|
|
public void setUser(UserInfo user) {
|
this.user = user;
|
}
|
|
public Long getAdminId() {
|
return adminId;
|
}
|
|
public void setAdminId(Long adminId) {
|
this.adminId = adminId;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public ExtractPayType getType() {
|
return type;
|
}
|
|
public void setType(ExtractPayType type) {
|
this.type = type;
|
}
|
|
public BigDecimal getMoney() {
|
return money;
|
}
|
|
public void setMoney(BigDecimal money) {
|
this.money = money;
|
}
|
|
public String getIp() {
|
return ip;
|
}
|
|
public void setIp(String ip) {
|
this.ip = ip;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public String getReason() {
|
return reason;
|
}
|
|
public void setReason(String reason) {
|
this.reason = reason;
|
}
|
|
public Date getSuccessTime() {
|
return successTime;
|
}
|
|
public void setSuccessTime(Date successTime) {
|
this.successTime = successTime;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
}
|