# HkInventoryRoomTypeConfigDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hkinventory;

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    /**
     * 客房库存管理房型配置DTO
     *
     * @author lichen
     * @date 2025/4/21
     */
    @Data
    public class HkInventoryRoomTypeConfigDTO {

        /**
         * 房型名称
         */
        @NotBlank(message = "the roomTypeName cannot be blank")
        @Length(max = 255, message = "the roomTypeName cannot be longer than 255 characters")
        private String roomTypeName;

        /**
         * 总房间数
         */
        @NotNull(message = "the totalRooms cannot be null")
        private Integer totalRooms;

    }