network.nerve.kit.model.dto.StopConsensusDto Maven / Gradle / Ivy
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.math.BigInteger;
import java.util.List;
@ApiModel
public class StopConsensusDto {
@ApiModelProperty(description = "创建节点的交易hash")
private String agentHash;
@ApiModelProperty(description = "节点地址")
private String agentAddress;
@ApiModelProperty(description = "创建节点的保证金")
private BigInteger deposit;
@ApiModelProperty(description = "手续费单价" ,required = false)
private BigInteger price;
@ApiModelProperty(description = "停止委托列表", type = @TypeDescriptor(value = List.class, collectionElement = StopDepositDto.class))
private List depositList;
public String getAgentHash() {
return agentHash;
}
public void setAgentHash(String agentHash) {
this.agentHash = agentHash;
}
public List getDepositList() {
return depositList;
}
public void setDepositList(List depositList) {
this.depositList = depositList;
}
public String getAgentAddress() {
return agentAddress;
}
public void setAgentAddress(String agentAddress) {
this.agentAddress = agentAddress;
}
public BigInteger getDeposit() {
return deposit;
}
public void setDeposit(BigInteger deposit) {
this.deposit = deposit;
}
public BigInteger getPrice() {
return price;
}
public void setPrice(BigInteger price) {
this.price = price;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy