package com.m2pool.lease.dto;

import com.m2pool.lease.vo.BaseVo;
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;

/**
 * <p>
 * 店铺商品配置返回对象
 * </p>
 *
 * @author yyb
 * @since 2025-08-05
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "店铺商品配置返回对象",value = "ShopConfigDto")
public class ShopConfigDto extends BaseVo {


    /**
     * 商铺ID
     */
    @ApiModelProperty(value = "商铺ID")
    private Long shopId;


    /**
     * 币种类型 0 虚拟币 1 稳定币
     */
    @ApiModelProperty(value = "币种类型 0 虚拟币 1 稳定币")
    private Integer payType;

    /**
     * 卖方对应收款钱包
     */
    @ApiModelProperty(value = "卖方对应收款钱包")
    private String payAddress;

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

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

    @Data
    @ApiModel(description = "币种图片返回对象",value = "CoinDto")
    public static class CoinDto{
        @ApiModelProperty(value = "商品支付方式及价格单位 取值 虚拟币( nexa rxd dgbo dgbq dgbs alph enx grs mona) 稳定币（usdt usdc busd）")
        private String payCoin;

        @ApiModelProperty(value = "币种图片")
        private String image;

    }


}
