package com.m2pool.lease.dto;

import com.m2pool.lease.annotation.EncryptedField;
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-07-23
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "钱包配置修改矿机支付方式请求对象",value = "ProductMachineForWalletConfigVo" )
public class ProductMachineForWalletConfigVo {

    @ApiModelProperty(value = "钱包地址")
    @EncryptedField
    private String payAddress;

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

    @ApiModelProperty(value = "支付币种，可以多个以逗号隔开")
    private String symbol;

    @ApiModelProperty(value = "价格列表")
    private List<PriceVo> productMachineForWalletConfigVoList;

    @Data
    @ApiModel(description = "币(二级) 下拉列表返回对象",value = "PriceVo")
    public static class PriceVo{
        @ApiModelProperty(value = "矿机ID")
        private Long productMachineId;
        @ApiModelProperty(value = "单价,可以多个以逗号隔开")
        private String price;
    }


}
