network.nerve.kit.model.dto.MultiSignTransferDto 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.util.List;
@ApiModel
public class MultiSignTransferDto {
@ApiModelProperty(description = "公钥集合",type = @TypeDescriptor(value = List.class, collectionElement = String.class))
private List pubKeys;
@ApiModelProperty(description = "最小签名数")
private int minSigns;
@ApiModelProperty(description = "转账交易输入列表", type = @TypeDescriptor(value = List.class, collectionElement = CoinFromDto.class))
private List inputs;
@ApiModelProperty(description = "转账交易输出列表", type = @TypeDescriptor(value = List.class, collectionElement = CoinToDto.class))
private List outputs;
@ApiModelProperty(description = "交易备注")
private String remark;
public List getInputs() {
return inputs;
}
public void setInputs(List inputs) {
this.inputs = inputs;
}
public List getOutputs() {
return outputs;
}
public void setOutputs(List outputs) {
this.outputs = outputs;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
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