# RoomTypeDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.oooroom;

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

    import jakarta.validation.constraints.NotBlank;

    /**
     * DTO: Room Type
     *
     * @author yyt
     * 2023/8/5
     */
    @Data
    public class RoomTypeDTO {

        /**
         * 数据 id
         */
        private Integer id;

        /**
         * 房间类型
         */
        @NotBlank(message = "the roomType must not be blank")
        @Length(max = 255, message = "the roomType max length is 255")
        private String roomType;

        /**
         * 房间类型标识
         */
        @NotBlank(message = "the roomTypeSymbol must not be blank")
        @Length(max = 20, message = "the roomTypeSymbol max length is 20")
        private String roomTypeSymbol;

    }