package com.pqs9900.pojo.DataInfo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/** @Author denghuajun
 * @Description //TODO 服务器状态表
 * @Date  2019/3/15 11:03
 **/
@Table(name = "PQS_SERVERSTATE")
public class ServerState {
    @Id
    @Column(name = "SEV_INDEX")
    private String sevIndex;//服务器guid
    @Column(name = "TimeID")
    private Date timeId;//时间
    @Column(name = "SE_CPU")
    private Float seCpu;//CPU
    @Column(name = "SE_RAM")
    private Float seRam;//内存
    @Column(name = "SE_HDD")
    private Float seHdd;//硬盘

    public String getSevIndex() {
        return sevIndex;
    }

    public void setSevIndex(String sevIndex) {
        this.sevIndex = sevIndex;
    }

    public Date getTimeId() {
        return timeId;
    }

    public void setTimeId(Date timeId) {
        this.timeId = timeId;
    }

    public Float getSeCpu() {
        return seCpu;
    }

    public void setSeCpu(Float seCpu) {
        this.seCpu = seCpu;
    }

    public Float getSeRam() {
        return seRam;
    }

    public void setSeRam(Float seRam) {
        this.seRam = seRam;
    }

    public Float getSeHdd() {
        return seHdd;
    }

    public void setSeHdd(Float seHdd) {
        this.seHdd = seHdd;
    }

    @Override
    public String toString() {
        return "ServerState{" +
                "sevIndex='" + sevIndex + '\'' +
                ", timeId=" + timeId +
                ", seCpu=" + seCpu +
                ", seRam=" + seRam +
                ", seHdd=" + seHdd +
                '}';
    }
}
