package com.docus.server.dto.scheduling.management.schvirtuallog;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 虚拟机使用情况 AddDTO
 *
 * @author AutoGenerator
 * @since 2023-07-15
 */
@Data
@ApiModel(value = "AddSchVirtualLogDTO对象", description = "虚拟机使用情况")
public class AddSchVirtualLogDTO implements Serializable {

    @ApiModelProperty(value = "CPU使用率")
    private String cpuUtilization;

    @ApiModelProperty(value = "物理内存总量（单位：MB）")
    private String memoryTotal;

    @ApiModelProperty(value = "物理内存余量（单位：MB）")
    private String memoryAllowance;

    @ApiModelProperty(value = "当前网络上行速率(KBPS)")
    private String uplinkRate;

    @ApiModelProperty(value = "当前网络下行速率")
    private String descendingRate;

    @ApiModelProperty(value = "采集器终端ip地址")
    private String ip;

    @ApiModelProperty(value = "客户端创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date clientTime;

    @ApiModelProperty(value = "多个磁盘大小（单位：MB），当前使用量和总容量（单位：MB）")
    private String diskJson;

}
