package com.m2pool.lease.vo.v2;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 机器参数请求对象
 * </p>
 *
 * @author yyb
 * @since 2025-07-23
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "机器参数请求对象",value = "AsicMachineParamsVo" )
public class AsicMachineParamsVo {

    @ApiModelProperty(value = "矿机id(修改接口)")
    private Long id;

    @ApiModelProperty(value = "矿机型号/名称",example = "龍珠")
    private String name;

    @ApiModelProperty(value = "最大可租借天数(默认七天)",example = "7")
    private Integer maxLeaseDays;

    @ApiModelProperty(value = "可出售数量",example = "1")
    private Integer saleNumbers;


    @ApiModelProperty(value = "功耗",example = "0.01")
    private BigDecimal powerDissipation;

    @ApiModelProperty(value = "状态0上架 1下架",example = "上架")
    private Boolean state;

    @ApiModelProperty(value = "币种和算力配置")
    private List<AsicCoinAndAlgoVo> coinAndAlgoList;

    @ApiModelProperty(value = "币种价格配置")
    private List<MachinePayTypeVo> priceList;


}
