xiaoyong931011
2023-08-14 657d6ca995fade9e0f23002c54263f1c972a254f
src/main/java/cc/mrbird/febs/dapp/entity/DappAccountMoneyChangeEntity.java
@@ -9,7 +9,7 @@
import java.util.Date;
/**
 * @author wzy
 * @author
 * @date 2022-03-21
 **/
@Data
@@ -19,27 +19,21 @@
    public DappAccountMoneyChangeEntity() {
    }
    public DappAccountMoneyChangeEntity(Long memberId, BigDecimal preAmount, BigDecimal amount, BigDecimal afterAmount, String content, Integer type) {
    public DappAccountMoneyChangeEntity(Long memberId, BigDecimal preAmount, BigDecimal amount, BigDecimal afterAmount, Integer type, String content) {
        this.memberId = memberId;
        this.preAmount = preAmount;
        this.amount = amount;
        this.afterAmount = afterAmount;
        this.content = content;
        this.type = type;
        this.setCreateBy("system");
        this.setUpdateBy("system");
        this.setCreateTime(new Date());
        this.setUpdateTime(new Date());
        this.setVersion(1);
        this.content = content;
    }
    private Long memberId;
    //原有积分
    private BigDecimal preAmount;
    //预期
    private BigDecimal amount;
    //实际
    private BigDecimal afterAmount;
    private String content;