package com.zcloud.accident.dto;

import com.alibaba.cola.dto.PageQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
import java.time.LocalDate;
import java.time.LocalDateTime;


/**
* web-client
* @Author fangjiakai
* @Date 2025-10-29 14:28:45
*/
@Data
public class AccidentPageQry extends PageQuery {

    /**
    * 查询条件操作前缀,支持以下几种数据库查询操作：
    * - `like`: 模糊匹配查询，对应SQL的LIKE操作符
    * - `eq`: 等值查询，对应SQL的=操作符
    * - `gt`: 大于比较查询
    * - `lt`: 小于比较查询
    * - `ge`: 大于等于比较查询
    * - `le`: 小于等于比较查询
    * - `ne`: 不等比较查询，对应SQL的!=操作符
    */
    @ApiModelProperty(value = "所属企业", name = "eqCorpinfoId")
    private Long eqCorpinfoId;
    @ApiModelProperty(value = "事故名称", name = "likeIncidentName")
    private String likeIncidentName;
    @ApiModelProperty(value = "事故地点", name = "likeLocation")
    private String likeLocation;
    @ApiModelProperty(value = "事故类型", name = "likeIncidentType")
    private String eqIncidentType;
    @ApiModelProperty(value = "事故级别", name = "likeIncidentLevel")
    private String eqIncidentLevel;
    @ApiModelProperty(value = "开始时间", name = "geIncidentDate")
    private String geIncidentDate;
    @ApiModelProperty(value = "结束时间", name = "leIncidentDate")
    private String leIncidentDate;
    @ApiModelProperty(value = "类型1事件2事故", name = "eqType")
    private Integer eqType;
}

