package com.mini.capi.model.info;

import lombok.Data;

import java.io.Serializable;

@Data
public class DiskInfo implements Serializable {

    private String device;         // 设备
    private String mountPoint;     // 挂载点
    private String totalSize;      // 总容量
    private String usedSize;       // 已使用
    private double usageRate;      // 使用率

    public DiskInfo() {
    }

    public DiskInfo(String device, String mountPoint, String totalSize, String usedSize, double usageRate) {
        this.device = device;
        this.mountPoint = mountPoint;
        this.totalSize = totalSize;
        this.usedSize = usedSize;
        this.usageRate = usageRate;
    }
}
