# HotelKpiStrWeekCrawlDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hotelkpi.strdata.week.crawl;

    import jakarta.validation.Valid;
    import jakarta.validation.constraints.NotNull;
    import jakarta.validation.constraints.Size;
    import lombok.Data;

    import java.util.List;

    /**
     * DTO: Str Week Crawl
     *
     * @author zc
     * @date 2025/1/21
     */
    @Data
    public class HotelKpiStrWeekCrawlDTO {

        /**
         * 数据日期（yyyyMMdd）
         */
        @NotNull(message = "The dataDate cannot be null")
        private Long dataDate;

        /**
         * List
         */
        @Valid
        @Size(min = 2, max = 2, message = "The list size must be 2")
        private List<HotelKpiStrWeekCategoryCrawlDTO> list;
    }