Appearance
Event / Announcement
hrms.announcement
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
title | title | text | required |
image | image | image | |
active | active | check | default true |
Permissions
| Role | Can |
|---|---|
hrms:admin | read, create, update, delete |
hrms:manager | read |
hrms:payroll | read |
hrms:employee | read |
API
http
GET /api/hrms/announcement?<field>=<value>&limit=100&offset=0
POST /api/hrms/announcement
GET /api/hrms/announcement/:id
PATCH /api/hrms/announcement/:id
DELETE /api/hrms/announcement/:id