package com.m2pool.lease.dto.v2;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "币种算法返回对象",value = "CoinAndAlgorithmListDto")
public class CoinAndAlgorithmListDto {


    @ApiModelProperty(value = "币种")
    private String coin;

    @ApiModelProperty(value = "币种对应算法返回对象")
    private List<AlgorithmListDto> algorithmList;

    @Data
    @ApiModel(description = "币种对应算法返回对象",value = "AlgorithmListDto")
    public static class AlgorithmListDto{
        @ApiModelProperty(value = "算法")
        private String algorithm;

        @ApiModelProperty(value = "支持该算法的矿机id集合")
        private List<Long> machineIds;
    }



}
