# WeeklyMonthlyRevenueOtherCopyToDTO.java

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

    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Weekly Monthly Revenue Other Copy To
     *
     * @author zc
     * @date 2024/05/15
     */
    @Data
    public class WeeklyMonthlyRevenueOtherCopyToDTO {

        /**
         * 分类（0:ALL, 1:F&B, 2:MISC）
         */
        @NotNull(message = "The category cannot be null")
        @Range(min = 0, max = 2, message = "The category must be in [0:ALL, 1:F&B, 2:MISC]")
        private Integer category;

        /**
         * 克隆源月份（yyyyMM）
         */
        @NotNull(message = "The fromMonth cannot be null")
        private Long fromMonth;

        /**
         * 克隆目标月份（yyyyMM）
         */
        @NotNull(message = "The toMonth cannot be null")
        private Long toMonth;
    }