From 79b15889217d9f6d2ef86ccba0c3ace5055a4b66 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 30 May 2022 11:12:17 +0800 Subject: [PATCH] add transfer --- src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java b/src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java index 265d5f9..a1198ff 100644 --- a/src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java +++ b/src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java @@ -21,11 +21,11 @@ public DappFundFlowEntity() {} - public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, Integer fee) { + public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee) { new DappFundFlowEntity(memberId, amount, type, status, fee, null); } - public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, Integer fee, String fromHash) { + public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee, String fromHash) { this.memberId = memberId; this.amount = amount; this.type = type; @@ -51,9 +51,13 @@ @TableField(exist = false) private String address; - private Integer fee; + private BigDecimal fee; private String toHash; private String fromHash; + + private BigDecimal newestPrice; + + private BigDecimal targetAmount; } -- Gitblit v1.9.1