package com.m2pool.lease.vo.v2;

import com.m2pool.lease.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * <p>
 * 首页商品详情页矿机列表请求对象
 * </p>
 *
 * @author yyb
 * @since 2025-07-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "首页店铺详情页矿机列表请求对象",value = "ShopMachineVo" )
public class ShopMachineVo extends PageVo {

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

    //@ApiModelProperty(value = "最大算力")
    //private BigDecimal maxPower = BigDecimal.ZERO;
    //
    //@ApiModelProperty(value = "最小算力")
    //private BigDecimal minPower = BigDecimal.ZERO;
    //
    //@ApiModelProperty(value = "最大功耗 单位kw/h",example = "10")
    //private BigDecimal maxPowerDissipation = BigDecimal.ZERO;
    //
    //@ApiModelProperty(value = "最小功耗 单位kw/h",example = "10")
    //private BigDecimal minPowerDissipation = BigDecimal.ZERO;


    @ApiModelProperty(value = "最大单价")
    private BigDecimal maxPrice = BigDecimal.ZERO;

    @ApiModelProperty(value = "最小单价")
    private BigDecimal minPrice = BigDecimal.ZERO;

    @ApiModelProperty(value = "币种")
    private String coin;

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

    @ApiModelProperty(value = "价格排序方式 true:降序 false:升序")
    private Boolean priceSort;

    @ApiModelProperty(value = "实际算力排序方式 true:降序 false:升序")
    private Boolean powerSort;

    @ApiModelProperty(value = "功耗排序方式 true:降序 false:升序")
    private Boolean powerDissipationSort;

    @ApiModelProperty(value = "币种单位",example = "MH/S")
    private String unit;

    @ApiModelProperty(value = "类型 0:ASIC 1:GPU")
    private Boolean type;

    @ApiModelProperty(value = "币种算法关键字")
    private String keyword;


}
