Appearance
Department
hrms.department
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
department_name | department name | text | required; unique |
college | college | link → core.college | |
shift | shift | text | |
start_time | start time | time | |
end_time | end time | time |
Permissions
| Role | Can |
|---|---|
hrms:admin | read, create, update, delete |
hrms:payroll | read |
hrms:manager | read |
hrms:employee | read |
API
http
GET /api/hrms/department?<field>=<value>&limit=100&offset=0
POST /api/hrms/department
GET /api/hrms/department/:id
PATCH /api/hrms/department/:id
DELETE /api/hrms/department/:id