package cn.reghao.bnt.common.machine.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author reghao
 * @date 2025-09-26 13:51:05
 */
@AllArgsConstructor
@Getter
@Setter
public class DiskInfo {
    private String model;
    private String name;
    private long size;
    private String sizeStr;
    private List<DiskPartition> diskPartitionList;

    public DiskInfo(String model, String name, long size, String sizeStr) {
        this.model = model;
        this.name = name;
        this.size = size;
        this.sizeStr = sizeStr;
        this.diskPartitionList = new ArrayList<>();
    }
}
