package com.microservices.mon.k8s.domain;

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

import java.util.Date;


@Data
@ApiModel("K8S容器启停时间")
public class K8sPodStartStopDate {
    @ApiModelProperty(value = "容器名称")
    private String podName;

    @ApiModelProperty(value = "启动时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @ApiModelProperty(value = "停止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date stopDate;

    private Boolean isRunning = true;
}
