package com.m2pool.lease.dto.v2;

import com.m2pool.lease.dto.PayTypeDto;
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 = "ShopInfoDto" )
public class ShopInfoDto {

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;


    @ApiModelProperty(value = "店铺图片")
    private String image;

    @ApiModelProperty(value = "店铺描述")
    private String description;

    @ApiModelProperty(value = "已售矿机数")
    private Integer saleNumber;


    @ApiModelProperty(value = "店铺售出矿机包含的类型 多个以逗号隔开",example = "gpu,asci")
    private String type;

    @ApiModelProperty(value = "支持的挖矿币种",example = "NEXA,RXD")
    private String coin;

    @ApiModelProperty(value = "算法 (多个算法已逗号隔开)",example = "sha256,sha512")
    private String algorithm;

    @ApiModelProperty(value = "店铺支持的支付方式")
    private List<PayTypeDto> payTypes;


}
