# WeeklyMonthlyRevenuePhysicalCapacityDTO.java

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

    import lombok.Data;

    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Weekly Monthly Revenue Physical Capacity
     *
     * @author zc
     * @date 2024/05/14
     */
    @Data
    public class WeeklyMonthlyRevenuePhysicalCapacityDTO {

        /**
         * 日期（yyyyMMdd）
         */
        @NotNull(message = "The theDate cannot be null")
        private Long theDate;

        /**
         * 物理房间数量
         */
        @Min(value = 0, message = "The physicalCapacity cannot be less than 0")
        private Integer physicalCapacity;
    }