# RoomTypeRoomsDTO.java

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

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

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Room Type Rooms
     *
     * @author: yyt
     * 2025-02-11
     */
    @Data
    public class RoomTypeRoomsDTO {

        /**
         * 数据日期（未来14天）
         */
        @NotNull(message = "the targetDate must not be null")
        private Long targetDate;

        /**
         * 房型
         */
        @NotBlank(message = "the roomType must not be blank")
        private String roomType;

        /**
         * 可用房间数
         */
        @Range(max = 1000, message = "the rooms max is 1000")
        private Integer rooms;

    }