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

network.nerve.kit.model.dto.AccountBalanceDto 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;

/**
 * @author: PierreLuo
 * @date: 2019-06-30
 */
@ApiModel
public class AccountBalanceDto {

    @ApiModelProperty(description = "总余额")
    private String total;
    @ApiModelProperty(description = "锁定金额")
    private String freeze;
    @ApiModelProperty(description = "可用余额")
    private String available;
    @ApiModelProperty(description = "时间锁定金额")
    private String timeLock;
    @ApiModelProperty(description = " 共识锁定金额")
    private String consensusLock;
    @ApiModelProperty(description = "账户资产nonce值")
    private String nonce;
    @ApiModelProperty(description = "1:已确认的nonce值,0:未确认的nonce值")
    private int nonceType;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getFreeze() {
        return freeze;
    }

    public void setFreeze(String freeze) {
        this.freeze = freeze;
    }

    public String getAvailable() {
        return available;
    }

    public void setAvailable(String available) {
        this.available = available;
    }

    public String getTimeLock() {
        return timeLock;
    }

    public void setTimeLock(String timeLock) {
        this.timeLock = timeLock;
    }

    public String getConsensusLock() {
        return consensusLock;
    }

    public void setConsensusLock(String consensusLock) {
        this.consensusLock = consensusLock;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public int getNonceType() {
        return nonceType;
    }

    public void setNonceType(int nonceType) {
        this.nonceType = nonceType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy