| | |
| | | package cc.mrbird.febs.dapp.entity; |
| | | |
| | | import cc.mrbird.febs.common.entity.BaseEntity; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author wzy |
| | | * @author |
| | | * @date 2022-03-21 |
| | | **/ |
| | | @Data |
| | | @TableName("dapp_account_money_change") |
| | | public class DappAccountMoneyChangeEntity extends BaseEntity { |
| | | |
| | | public DappAccountMoneyChangeEntity(Long memberId, BigDecimal preAmount, BigDecimal amount, BigDecimal afterAmount, String content, Integer type) { |
| | | public DappAccountMoneyChangeEntity() { |
| | | } |
| | | |
| | | 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; |
| | | //预期 |
| | | |
| | | @ApiModelProperty(value = "今日收入") |
| | | private BigDecimal amount; |
| | | //实际 |
| | | |
| | | @ApiModelProperty(value = "实际收入") |
| | | private BigDecimal afterAmount; |
| | | |
| | | |
| | | @ApiModelProperty(value = "贡献收入与业绩显示内容") |
| | | private String content; |
| | | |
| | | /** |
| | | * 类型 1-兑换 2-提现 3-采矿 |
| | | */ |
| | | private Integer type; |
| | | |
| | | @TableField(exist = false) |
| | | private String address; |
| | | } |