package cc.mrbird.febs.dapp.entity;
|
|
import cc.mrbird.febs.common.entity.BaseEntity;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
@Data
|
@TableName("dapp_online_transfer")
|
public class DappOnlineTransferEntity extends BaseEntity {
|
|
// public DappOnlineTransferEntity() {}
|
//
|
// public DappOnlineTransferEntity(String address, BigDecimal amount, Integer type, Integer targetType, String fromType, String symbol, String batchNo) {
|
// new DappOnlineTransferEntity(address, amount, type, targetType, symbol, fromType, "BSC", batchNo);
|
// }
|
//
|
// public DappOnlineTransferEntity(String address, BigDecimal amount, Integer type, Integer targetType, String fromType, String symbol, String chain, String batchNo) {
|
// this.address = address;
|
// this.amount = amount;
|
// this.type = type;
|
// this.targetType = targetType;
|
// this.symbol = symbol;
|
// this.chain = chain;
|
// this.batchNo = batchNo;
|
// this.fromType = fromType;
|
// this.hasFinish = 2;
|
// }
|
|
private String address;
|
|
private BigDecimal amount;
|
|
/**
|
* 流水类型 1-买入 2-卖出 3-挖矿 4-奖励
|
*/
|
private Integer type;
|
|
/**
|
* 对象类型 1-普通账户 2-销毁账户 3-技术账户
|
*/
|
private Integer targetType;
|
|
/**
|
* 发送地址类型 枚举类
|
*/
|
private String fromType;
|
|
/**
|
* 币种 TFC/USDT
|
*/
|
private String symbol;
|
|
private String chain;
|
|
private String batchNo;
|
|
/**
|
* 是否已转账 1-是 2-否
|
*/
|
private Integer hasFinish;
|
|
private String txHash;
|
|
}
|