Appearance
Division
lms.division · numbered {batch}-{name}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
batch | batch | link → lms.batch | required |
name | name | text | required; max 50 characters |
is_active | is active | check | default true |
Unique together: batch + name
Permissions
| Role | Can |
|---|---|
lms:admin | read, create, update, delete |
lms:college_admin | read, create, update, delete |
lms:hod | read, create, update, delete |
lms:faculty | read |
lms:student | read |
API
http
GET /api/lms/division?<field>=<value>&limit=100&offset=0
POST /api/lms/division
GET /api/lms/division/:id
PATCH /api/lms/division/:id
DELETE /api/lms/division/:id