package cn.iocoder.yudao.module.system.controller.admin.robot.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 机器人告警信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RobotWarnMsgPageReqVO extends PageParam {

    @Schema(description = "AGV编号")
    private String robotNo;

    @Schema(description = "告警等级 (1,2,3,4)")
    private Integer warnLevel;

    @Schema(description = "告警类型 (1:告警, 2:用户操作)")
    private Integer warnType;

    @Schema(description = "告警编号")
    private String warnCode;

    @Schema(description = "告警信息")
    private String warnMsg;

    @Schema(description = "告警解决方法")
    private String warnSolve;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] solveTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "是否已读(0:未读, 1:已读)")
    private Integer readStatus;

    @Schema(description = "阅读时间")
    private LocalDateTime readTime;

    @Schema(description = "任务号")
    private String taskNo;

    @Schema(description = "任务的id")
    private Long taskDetailId;

}