package com.m2pool.lease.vo;

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.time.LocalDateTime;

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

    @ApiModelProperty(value = "商品 ID")
    private Long id;


    @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 = "币种单位")
    private String unit;


}
