package com.m2pool.lease.dto.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.time.LocalDateTime;


/**
 * <p>
 * GPU对应币种挖矿算力(只要gpu类型相同那么就使用这个配置)
 * </p>
 *
 * @author yyb
 * @since 2025-11-27
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "矿机对应实时算力放回对象",value = "MiningHashrateInfoDto" )
public class MiningHashrateInfoDto {
    @ApiModelProperty(value = "实时算力")
    private BigDecimal power;

    @ApiModelProperty(value = "最近实时算力记录时间")
    private LocalDateTime recordTime;

    @ApiModelProperty(value = "矿工号")
    private String miner;
}
