# RevenueDTO.java

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

    import lombok.AllArgsConstructor;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    import jakarta.validation.Valid;
    import java.util.List;

    /**
     * DTO: Revenue
     *
     * @author yyt
     * 2023/10/26
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class RevenueDTO {

        /**
         * otb
         */
        @Valid
        private OtbRevenueDTO otb;

        /**
         * budget
         */
        @Valid
        private BudgetDTO budget;

        /**
         * segment
         */
        @Valid
        private List<SegmentDTO> segments;

        /**
         * transient and group
         */
        @Valid
        private List<TransientAndGroupDTO> transientAndGroup;

        /**
         * transient and group next year
         */
        @Valid
        private List<TransientAndGroupLyDTO> transientAndGroupLy;

        /**
         * Last Year OTB 相关内容
         */
        @Valid
        private LastYearOtbDTO lastYearOtb;

        /**
         * 不同客源收入
         */
        @Valid
        private CustomersDTO customers;

    }