package com.mini.capi.model.info;

import lombok.Data;

import java.io.Serializable;

@Data
public class CpuInfo implements Serializable {

    private double cpuUsage;       // CPU使用率
    private double memoryUsage;    // 内存使用率


    public CpuInfo() {
    }

    public CpuInfo(double cpuUsage, double memoryUsage) {
        this.cpuUsage = cpuUsage;
        this.memoryUsage = memoryUsage;
    }

}
