# GmwrCrawlReportDTO.java

    package cloud.wconnect.workperformance.pojo.dto.gmwr;

    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: 采集报告DTO
     *
     * @author zc
     * @date 2024/10/18
     */
    @Data
    public class GmwrCrawlReportDTO {
        /**
         * 报告类型
         */
        @NotNull(message = "The reportType cannot be null")
        @Range(min = 1, max = 2, message = "The reportType must be in [1:Str 2:Str-IHG]")
        private Integer reportType;
        /**
         * 报告 S3 地址
         */
        @NotBlank(message = "The reportUrl cannot be blank")
        private String reportUrl;
    }