package com.fizz.business.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class LogDataForm implements Serializable {
    private static final long serialVersionUID = 1126261593345506267L;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间", format = "date", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @Schema(description = "结束时间", format = "date", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @Schema(description = "报警类型")
    private String logtype;

    /**
     * 报警模块
     */
    @Schema(description = "报警模块")
    private String module;

    /**
     * 警报内容
     */
    @Schema(description = "警报内容")
    private String logtext;

    /**
     * 报警状态
     */
    @Schema(description = "报警状态")
    private Integer status;

    private int pageNum;

    private int pageSize;

}
