# HotelKpiV2MetricsSaveCategoryDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hotelkpi.kpiv2.save;

    import cloud.wconnect.workperformance.pojo.dto.hotelkpi.kpi.save.HotelKpiMetricsSaveValueDTO;
    import jakarta.validation.Valid;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    import java.util.List;

    /**
     * DTO: Hotel KPI V2 Metrics Save Category
     *
     * @author zc
     * @date 2025/08/19
     */
    @Data
    public class HotelKpiV2MetricsSaveCategoryDTO {

        /**
         * 分类
         */
        @NotNull(message = "The category cannot be null")
        private Integer category;

        /**
         * Actual/OTB
         */
        @Valid
        private List<HotelKpiMetricsSaveValueDTO> actual;

        /**
         * Budget
         */
        @Valid
        private List<HotelKpiMetricsSaveValueDTO> budget;

        /**
         * LY
         */
        @Valid
        private List<HotelKpiMetricsSaveValueDTO> ly;
    }