# HotelKpiCrawlValueIndexDTO.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 Value Index
     *
     * @author zc
     * @date 2024/06/30
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public class HotelKpiCrawlValueIndexDTO {

        /**
         * 索引
         */
        @NotNull(message = "The index cannot be null")
        private Integer index;

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