package com.ho.business.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EmsMetric implements Serializable {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "station_id")
    private Integer stationId;

    @ApiModelProperty(value = "cpu占用率")
    private BigDecimal cpuRatio;

    @ApiModelProperty(value = "内存占用率")
    private BigDecimal memoryRatio;

    @ApiModelProperty(value = "磁盘占用率")
    private BigDecimal diskRatio;

    @ApiModelProperty(value = "日期")
    private LocalDate day;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "边端上送的sn号")
    private String sn;
}
