# HotelKpiStrWeekDetailCrawlDTO.java

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

    import cloud.wconnect.commonlib.annotation.validator.DigitsInteger;
    import jakarta.validation.constraints.NotNull;
    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;
    import org.hibernate.validator.constraints.Range;

    import java.math.BigDecimal;

    /**
     * DTO: Str Week Detail Crawl
     *
     * @author zc
     * @date 2025/1/21
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public class HotelKpiStrWeekDetailCrawlDTO {
        /**
         * Category
         */
        @NotNull(message = "The category cannot be null")
        @Range(min = 1, max = 3, message = "The category must be in [1 - 3]")
        private Integer category;
        /**
         * My Property
         */
        @DigitsInteger(integer = 10, message = "The property is wrong format")
        private BigDecimal property;
        /**
         * My Property Chg
         */
        @DigitsInteger(integer = 10, message = "The propertyChg is wrong format")
        private BigDecimal propertyChg;
        /**
         * Comp Set
         */
        @DigitsInteger(integer = 10, message = "The compSet is wrong format")
        private BigDecimal compSet;
        /**
         * Comp Set Chg
         */
        @DigitsInteger(integer = 10, message = "The compSetChg is wrong format")
        private BigDecimal compSetChg;
        /**
         * Index
         */
        @DigitsInteger(integer = 10, message = "The index is wrong format")
        private BigDecimal index;
        /**
         * Index Chg
         */
        @DigitsInteger(integer = 10, message = "The indexChg is wrong format")
        private BigDecimal indexChg;
    }