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

network.nerve.kit.model.dto.MultiSignStopConsensusDto 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 network.nerve.core.rpc.model.TypeDescriptor;

import java.util.List;

@ApiModel
public class MultiSignStopConsensusDto extends StopConsensusDto {

    @ApiModelProperty(description = "公钥集合", type = @TypeDescriptor(value = List.class, collectionElement = String.class))
    private List pubKeys;
    @ApiModelProperty(description = "最小签名数")
    private int minSigns;

    public MultiSignStopConsensusDto() {

    }

    public List getPubKeys() {
        return pubKeys;
    }

    public void setPubKeys(List pubKeys) {
        this.pubKeys = pubKeys;
    }

    public int getMinSigns() {
        return minSigns;
    }

    public void setMinSigns(int minSigns) {
        this.minSigns = minSigns;
    }

}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy