package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 提现记录
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-02-06
|
*/
|
@TableName("t_withdrawal")
|
@Data
|
public class Withdrawal extends Model<Withdrawal> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
private Integer userId;
|
/**
|
* 申请时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
@ApiModelProperty(value = "申请时间")
|
private Date insertTime;
|
/**
|
* 打款时间
|
*/
|
@ApiModelProperty(value = "打款时间")
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
private Date complete;
|
|
@ApiModelProperty(value = "拒绝时间")
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
private Date refuseTime;
|
/**
|
* 申请金额
|
*/
|
@ApiModelProperty(value = "申请金额")
|
private BigDecimal amount;
|
/**
|
* 申请时可提现金额
|
*/
|
@ApiModelProperty(value = "申请时可提现金额")
|
private BigDecimal applyAmount;
|
/**
|
* 状态1待审核 2 已通过 3已拒绝
|
*/
|
@ApiModelProperty(value = "状态1待审核 2 已通过 3已拒绝")
|
private Integer state;
|
/**
|
* 1未打款 2已打款
|
*/
|
@ApiModelProperty(value = "1未打款 2已打款")
|
private Integer payment;
|
/**
|
* 拒绝理由
|
*/
|
private String reason;
|
@ApiModelProperty(value = "银行卡号")
|
private String bankCard;
|
@ApiModelProperty(value = "银行卡开户名")
|
private String accountName;
|
@ApiModelProperty(value = "银行卡开户行")
|
private String bankName;
|
@ApiModelProperty(value = "银行卡绑定手机号")
|
private String bankPhone;
|
@ApiModelProperty(value = "银行卡正面照")
|
private String bankCardImg;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public Date getInsertTime() {
|
return insertTime;
|
}
|
|
public void setInsertTime(Date insertTime) {
|
this.insertTime = insertTime;
|
}
|
|
public BigDecimal getAmount() {
|
return amount;
|
}
|
|
public void setAmount(BigDecimal amount) {
|
this.amount = amount;
|
}
|
|
public BigDecimal getApplyAmount() {
|
return applyAmount;
|
}
|
|
public void setApplyAmount(BigDecimal applyAmount) {
|
this.applyAmount = applyAmount;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Integer getPayment() {
|
return payment;
|
}
|
|
public void setPayment(Integer payment) {
|
this.payment = payment;
|
}
|
|
public String getReason() {
|
return reason;
|
}
|
|
public void setReason(String reason) {
|
this.reason = reason;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "Withdrawal{" +
|
"id=" + id +
|
", userId=" + userId +
|
", insertTime=" + insertTime +
|
", amount=" + amount +
|
", applyAmount=" + applyAmount +
|
", state=" + state +
|
", payment=" + payment +
|
", reason=" + reason +
|
"}";
|
}
|
}
|