# ProductivityRatioSettingsUploadDTO.java

    package cloud.wconnect.workperformance.pojo.dto.sva.productivityratiosettings;

    import jakarta.validation.constraints.NotEmpty;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.springframework.web.multipart.MultipartFile;

    import java.util.List;

    /**
     * 上传Productivity Ratio Excel DTO
     *
     * @author lichen
     * @date 2026/3/6
     */
    @Data
    public class ProductivityRatioSettingsUploadDTO {

        /**
         * 文件
         */
        @NotNull(message = "the file cannot be null")
        private MultipartFile file;

        /**
         * 年份
         */
        @NotNull(message = "the year cannot be null")
        private Integer year;

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

    }