package com.cico.nest.lcdp.boot.core.qxsd.adapter.web.vo.eventType;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cico.nest.lcdp.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cico.nest.lcdp.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 EventTypePageReqVO extends PageParam {

    @Schema(description = "事件类型编号")
    private String code;

    @Schema(description = "事件类型名称", example = "李四")
    private String name;

    @Schema(description = "新路威事件类型编号")
    private String xlwCode;

    @Schema(description = "新路威事件类型名称", example = "lcdp")
    private String xlwName;

    @Schema(description = "隧道管控事件类型编号")
    private String sdgkCode;

    @Schema(description = "隧道管控事件类型名称", example = "张三")
    private String sdgkName;

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

}
