# HotelKpiCrawlDailyValueDTO.java

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

    import cloud.wconnect.commonlib.annotation.validator.DigitsInteger;
    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    import jakarta.validation.constraints.NotNull;
    import java.math.BigDecimal;

    /**
     * DTO: Hotel KPI Crawl Daily Value
     *
     * @author zc
     * @date 2025/03/22
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public class HotelKpiCrawlDailyValueDTO {

        /**
         * 日期(yyyyMMdd)
         */
        @NotNull(message = "The date cannot be null")
        private Long date;

        /**
         * 数值
         */
        @DigitsInteger(integer = 10, message = "The value is wrong format")
        private BigDecimal value;
    }