package com.m2pool.lease.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 矿池nexa机器实时平均算力
 * </p>
 *
 * @author yyb
 * @since 2025-07-29
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class LeaseNexaMachineAvgPower implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 挖矿账户
     */
    private String user;

    /**
     * 矿工
     */
    private String miner;

    /**
     * 记录开始时间
     */
    private LocalDateTime startTime;

    /**
     * 记录结束时间
     */
    private LocalDateTime endTime;

    /**
     * 实时平均算力
     */
    private BigDecimal realAvgPower;


}
