package com.microservices.mon.k8s.domain;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ApiModel("K8S资源占用情况")
public class K8SResourceUsage {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发生时间")
    private Date occurredTime;
    @ApiModelProperty(value = "资源类型")
    private String resourceType;
    @ApiModelProperty(value = "资源对象")
    private String resourceObject;
    @ApiModelProperty(value = "资源占用情况")
    private String message;
}
