# HotelKpiV2CrawlValueIndexDTO.java

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

    import cloud.wconnect.commonlib.annotation.validator.DigitsCustom;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    import java.math.BigDecimal;

    /**
     * DTO: Hotel KPI Crawl Value Index
     *
     * @author zc
     * @date 2024/08/14
     */
    @Data
    public class HotelKpiV2CrawlValueIndexDTO {

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

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