# HotelKpiCrawlDailyDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hotelkpi.internal.crawl.value.v1;

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

    import java.util.List;

    /**
     * DTO: Hotel KPI Crawl Daily
     *
     * @author zc
     * @date 2025/03/21
     */
    @Data
    public class HotelKpiCrawlDailyDTO {

        /**
         * 指标类型
         */
        @NotNull(message = "The metricsType cannot be null")
        private Integer metricsType;

        /**
         * 数值
         */
        @Valid
        @NotEmpty(message = "The list cannot be empty")
        private List<HotelKpiCrawlDailyValueDTO> list;
    }