Room Form
Field reference for room configuration.
Fields
| Field | Type | Required | Max Length | Validation | Notes |
|---|---|---|---|---|---|
| Room ID | Integer | Auto | - | - | System-generated identifier |
| Building | Select (FK) | Yes | - | Must exist | Parent building |
| Room Number | Text | Yes | 20 | - | Room number/identifier |
| Capacity | Integer | No | - | >= 0 | Seating capacity |
| Room Type | Select (Lookup) | No | - | ROOM_TYPE | Classroom, Lab, etc. |
| Is Active | Boolean | No | - | - | Room is available |
Room Type Values
| Code | Description | Notes |
|---|---|---|
| CLASSROOM | Classroom | Standard lecture room |
| LAB | Laboratory | Science/computer lab |
| SEMINAR | Seminar Room | Small discussion room |
| AUDITORIUM | Auditorium | Large lecture hall |
| STUDIO | Studio | Art/music studio |
| CLINICAL | Clinical Space | Health sciences |
| ONLINE | Online/Virtual | Virtual meeting space |
Computed Fields (Read-Only)
| Field | Description |
|---|---|
| Building Name | From building record |
| Campus | From building's campus |
| Full Location | Building Name - Room Number |
| Scheduled Sections | Sections meeting in this room |
Validation Rules
- Building + Room Number must be unique
- Capacity should be set for scheduling purposes
- Section max enrollment should not exceed room capacity