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.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户挖矿账户矿工返回对象
 * </p>
 *
 * @author yyb
 * @since 2025-07-23
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户挖矿账户矿工实时算力返回对象",value = "UserMinerPowerDto" )
public class UserMinerPowerDto {
    /**
     * 挖矿机器 对应的矿工账号
     */
    @ApiModelProperty(value = "挖矿机器 对应的矿工账号")
    private String user;
    /**
     * 挖矿机器编号
     */
    @ApiModelProperty(value = "挖矿机器编号")
    private String miner;

    @ApiModelProperty(value = "机器挖矿币种")
    private String coin;

    @ApiModelProperty(value = "机器算力")
    private BigDecimal power;

    @ApiModelProperty(value = "记录开始时间")
    private LocalDateTime startTime;


}
