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;

/**
 * <p>
 * 钱包配置修改商品支付方式返回对象
 * </p>
 *
 * @author yyb
 * @since 2025-07-23
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "钱包配置修改商品支付方式返回对象",value = "ProductForWalletConfigDto" )
public class ProductForWalletConfigDto {

    @ApiModelProperty(value = "商品id")
    private Long productId;
    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String name;

    /**
     * 商品图片路径
     */
    @ApiModelProperty(value = "商品图片路径")
    private String image;

    /**
     * 上下架状态，0 上架，1 下架
     */
    @ApiModelProperty(value = "上下架状态，0 上架，1 下架")
    private Integer state;

    /**
     * 算法
     */
    @ApiModelProperty(value = "算法")
    private String algorithm;

    /**
     * 商品描述
     */
    @ApiModelProperty(value = "商品描述")
    private String description;
    /**
     * 矿机挖矿币种 nexa rxd dgbo dgbq dgbs alph enx grs mona
     */
    @ApiModelProperty(value = "矿机挖矿币种 nexa rxd dgbo dgbq dgbs alph enx grs mona")
    private String coin;
    /**
     * 总矿机数
     */
    @ApiModelProperty(value = "总矿机数（已售 + 未售出矿机）")
    private Integer totalMachineNumber;

    @ApiModelProperty(value = "矿机列表")
    private List<ProductMachineForWalletConfigDto> machineList;
}
