# ResolveExceptionDTO.java

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

    import cloud.wconnect.commonlib.pojo.dto.group.Addition;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    /**
     * DTO: Resolve Exception
     *
     * @author yyt
     * 2023/10/30
     */
    @Data
    public class ResolveExceptionDTO {

        /**
         * 类型（OPERA, OTHER, SHIJI）
         */
        @NotNull(message = "the type must not be null", groups = Addition.class)
        private String type;

        /**
         * 指定日期
         */
        private Long date;

        /**
         * 开始日期
         */
        @NotNull(message = "the startDate must not be null", groups = Addition.class)
        private Long startDate;

        /**
         * 结束日期
         */
        @NotNull(message = "the endDate must not be null", groups = Addition.class)
        private Long endDate;

        /**
         * 报告类型(1:History and Forecast,2:Business Block,3:Reservation Statistics,
         * 4:Reservation Forecast,5:Reservation Forecast Next Month,6:History Forecast Next Month,
         * 8: Reservations Forecast Next 14 days,
         * 9:History and Forecast Next 90 days,10:Market Code，12：History and Forecast this month（future），
         * 13：History and Forecast next month（future），14：History and Forecast the month after next，
         * 16：Reservation Forecast next 90 days，
         * 17：History and Forecast Business Block next 90 days 18：Group Business Summary 19：Manager flash,
         * 22：Group Pickup 23：History and Forecast from thirty days ago to yesterday)
         */
        @NotNull(message = "the fileType must not be null", groups = Addition.class)
        private Integer fileType;

    }