# WeeklyMonthlyRevenueResolveExceptionDTO.java

    package cloud.wconnect.rateshop.pojo.dto.weeklymonthlyrevenue;

    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.hibernate.validator.constraints.Range;
    import org.springframework.web.multipart.MultipartFile;

    /**
     * DTO: Weekly Monthly Revenue Resolve Exception
     *
     * @author lichen
     * @date 2025/10/31
     */
    @Data
    public class WeeklyMonthlyRevenueResolveExceptionDTO {

        /**
         * 1：忽略 2：有s3文件时，自动解决 3：手动上传文件解决
         */
        @NotNull(message = "The type cannot be null")
        @Range(min = 1, max = 3, message = "The category must be in [1:ignore, 2:auto resolve 3:manual resolve]")
        private Integer type;

        /**
         * 来源
         */
        private String source;

        /**
         * 报告文件
         */
        private MultipartFile file;

        public static final int IGNORE = 1;
        public static final int AUTO_RESOLVE = 2;
        public static final int MANUAL_RESOLVE = 3;
    }