Appearance
Exam Classroom
exam.classroom
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
exam_center | exam center | link → exam.exam_center | required |
name | name | text | |
lab_name | lab name | text | |
is_computer_lab | is computer lab | check | default false |
total_computers | total computers | number | min 0 |
usable_computers | usable computers | number | min 0 |
total_benches | total benches | number | min 0 |
usable_benches | usable benches | number | min 0 |
students_per_bench | students per bench | number | min 1; max 4 |
floor | floor | select | one of: Basement - B3, Basement - B2, Basement - B1, Basement - B, Ground Floor, First Floor, Second Floor, Third Floor, Fourth Floor, Fifth Floor, Sixth Floor, Seventh Floor, Eighth Floor, Ninth Floor, Tenth Floor, Eleventh Floor, Twelfth Floor, Thirteenth Floor, Fourteenth Floor, Fifteenth Floor, Sixteenth Floor, Seventeenth Floor |
seating_preference | seating preference | select | one of: Same Class Students, Same Course Students, Different Year Same Course Students, Different Courses Same Year Students, Different Colleges Students |
Permissions
| Role | Can |
|---|---|
exam:super_admin | read, create, update, delete |
exam:admin | read, create, update, delete |
exam:college | read, create, update, delete |
exam:operator | read |
API
http
GET /api/exam/classroom?<field>=<value>&limit=100&offset=0
POST /api/exam/classroom
GET /api/exam/classroom/:id
PATCH /api/exam/classroom/:id
DELETE /api/exam/classroom/:id