Appearance
Batch
lms.batch · every change is kept in the audit log · numbered {programme}-{academic_year}-{batch_name}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
batch_name | batch name | text | required; max 100 characters |
programme | programme | link → core.programme | required |
academic_year | academic year | link → core.academic_year | required |
college | college | link → core.college | required |
semesters | semesters | table of batch_semester | |
is_active | is active | check | default true |
Unique together: programme + academic_year + batch_name + college
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/batch?<field>=<value>&limit=100&offset=0
POST /api/lms/batch
GET /api/lms/batch/:id
PATCH /api/lms/batch/:id
DELETE /api/lms/batch/:id