package com.m2pool.lease.dto;


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;

/**
 * @Description 币种实时收益实体类
 * @Date 2024/6/14 15:57
 * @Author dy
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "链(一级) 下拉列表返回对象",value = "ChainListDto")
public class ChainListDto {


    @ApiModelProperty(value = "链名value")
    private String value;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "联名标签")
    private String label;

    @ApiModelProperty(value = "币(二级) 下拉列表")
    private List<CoinListDto> children;


    @Data
    @ApiModel(description = "币(二级) 下拉列表返回对象",value = "CoinListDto")
    public static class CoinListDto{
        @ApiModelProperty(value = "币种value")
        private String value;

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

        @ApiModelProperty(value = "币种是否绑定(只用于卖家钱包绑定页面相关接口) 0 未绑定 1 已绑定")
        private Integer hasBind;
    }


}
