# HotelKpiSettingCopyToDTO.java

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

    import lombok.Data;

    import jakarta.validation.constraints.NotEmpty;
    import jakarta.validation.constraints.NotNull;
    import java.util.List;

    /**
     * DTO: Hotel KPI Setting Copy To
     *
     * @author zc
     * @date 2024/06/29
     */
    @Data
    public class HotelKpiSettingCopyToDTO {

        /**
         * To 年份(yyyy)
         */
        @NotNull(message = "The toYear cannot be null")
        private Long toYear;

        /**
         * 资产 id 集合
         */
        @NotEmpty(message = "The propertyIds cannot be empty")
        private List<Integer> propertyIds;
    }