# HotelKpiExplainDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hotelkpi.explain;

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

    import java.math.BigDecimal;

    /**
     * DTO: Hotel KPI Explain
     * @author zc
     * @date 2024/6/28
     */
    @Data
    public class HotelKpiExplainDTO {

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

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