更新钱包记录表

master
童成 2023-10-31 13:43:07 +08:00
parent 7198e22ab9
commit 6d622857ca
1 changed files with 31 additions and 40 deletions

View File

@ -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;
}
}