package com.ltgk.video.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ltgk.common.core.page.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class GetVideoStatusLogVo extends BasePage {
    @JsonProperty("videoId")
    @ApiModelProperty("监控id")
    private String videoId;
    @JsonProperty("runStatus")
    @ApiModelProperty("监控状态")
    private String runStatus;
    @JsonProperty("videoCode")
    @ApiModelProperty("监控编码")
    private String videoCode;
    @JsonProperty("videoName")
    @ApiModelProperty("监控名称")
    private String videoName;
    @JsonProperty("startTime")
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("endTime")
    @ApiModelProperty("结束时间")
    private Date endTime;
}
