All Downloads are FREE. Search and download functionalities are using the official Maven repository.

network.nerve.kit.model.dto.CoinToDto Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version
package network.nerve.kit.model.dto;

import network.nerve.core.rpc.model.ApiModel;
import network.nerve.core.rpc.model.ApiModelProperty;

import java.math.BigInteger;

@ApiModel(name = "交易资产输出信息")
public class CoinToDto {

    @ApiModelProperty(description = "账户地址")
    private String address;
    @ApiModelProperty(description = "资产的链id")
    private int assetChainId;
    @ApiModelProperty(description = "资产id")
    private int assetId;
    @ApiModelProperty(description = "资产金额")
    private BigInteger amount;
    @ApiModelProperty(description = "锁定时间")
    private long lockTime = 0L;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getAssetChainId() {
        return assetChainId;
    }

    public void setAssetChainId(int assetChainId) {
        this.assetChainId = assetChainId;
    }

    public int getAssetId() {
        return assetId;
    }

    public void setAssetId(int assetId) {
        this.assetId = assetId;
    }

    public BigInteger getAmount() {
        return amount;
    }

    public void setAmount(BigInteger amount) {
        this.amount = amount;
    }

    public long getLockTime() {
        return lockTime;
    }

    public void setLockTime(long lockTime) {
        this.lockTime = lockTime;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy