更新钱包记录表
parent
7198e22ab9
commit
6d622857ca
|
@ -1,5 +1,8 @@
|
|||
package com.four.common.duck.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -9,51 +12,36 @@ import java.util.Date;
|
|||
public class RechargeWithdrawCash {
|
||||
|
||||
/**
|
||||
* 充值+提现id
|
||||
* 钱包记录id
|
||||
*/
|
||||
private Long rechargeWithdrawCashId;
|
||||
|
||||
/**
|
||||
* 充值+提现用户id
|
||||
* 用户id
|
||||
*/
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 充值+提现金额
|
||||
*/
|
||||
private BigDecimal money;
|
||||
|
||||
/**
|
||||
* 充值+提现时间
|
||||
* 钱包记录时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date time;
|
||||
|
||||
/**
|
||||
* 状态:1:提现 2:充值+签到
|
||||
* 钱包记录描述
|
||||
*/
|
||||
private Long status;
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* 用户的实名认证和银行卡id
|
||||
* 金额
|
||||
*/
|
||||
private Long certifiedBankCardId;
|
||||
private BigDecimal amount;
|
||||
|
||||
public Long getRechargeWithdrawCashId() {
|
||||
return rechargeWithdrawCashId;
|
||||
}
|
||||
|
||||
public RechargeWithdrawCash() {
|
||||
}
|
||||
|
||||
public RechargeWithdrawCash(Long rechargeWithdrawCashId, Long userId, BigDecimal money, Date time, Long status, Long certifiedBankCardId) {
|
||||
this.rechargeWithdrawCashId = rechargeWithdrawCashId;
|
||||
this.userId = userId;
|
||||
this.money = money;
|
||||
this.time = time;
|
||||
this.status = status;
|
||||
this.certifiedBankCardId = certifiedBankCardId;
|
||||
}
|
||||
|
||||
public void setRechargeWithdrawCashId(Long rechargeWithdrawCashId) {
|
||||
this.rechargeWithdrawCashId = rechargeWithdrawCashId;
|
||||
}
|
||||
|
@ -66,14 +54,6 @@ public class RechargeWithdrawCash {
|
|||
this.userId = userId;
|
||||
}
|
||||
|
||||
public BigDecimal getMoney() {
|
||||
return money;
|
||||
}
|
||||
|
||||
public void setMoney(BigDecimal money) {
|
||||
this.money = money;
|
||||
}
|
||||
|
||||
public Date getTime() {
|
||||
return time;
|
||||
}
|
||||
|
@ -82,19 +62,30 @@ public class RechargeWithdrawCash {
|
|||
this.time = time;
|
||||
}
|
||||
|
||||
public Long getStatus() {
|
||||
return status;
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setStatus(Long status) {
|
||||
this.status = status;
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Long getCertifiedBankCardId() {
|
||||
return certifiedBankCardId;
|
||||
public BigDecimal getAmount() {
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void setCertifiedBankCardId(Long certifiedBankCardId) {
|
||||
this.certifiedBankCardId = certifiedBankCardId;
|
||||
public void setAmount(BigDecimal amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
|
||||
public RechargeWithdrawCash() {
|
||||
}
|
||||
|
||||
public RechargeWithdrawCash(Long rechargeWithdrawCashId, Long userId, Date time, String description, BigDecimal amount) {
|
||||
this.rechargeWithdrawCashId = rechargeWithdrawCashId;
|
||||
this.userId = userId;
|
||||
this.time = time;
|
||||
this.description = description;
|
||||
this.amount = amount;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue