f_all_schedule: One-to-Many (1:N)
One activity_type can be associated with many schedules
Referenced in f_all_schedule through activity_type field
v_event_payroll_summary: One-to-Many (1:N)
One activity_type can have many payroll entries
Referenced through activity_type_id
v_payroll_summary: One-to-Many (1:N)
One activity_type can have many payroll summaries
Referenced through activity_type_id
Column | Type | Description |
id | integer | Primary key |
client_code | varchar(28) | Organization identifier |
name | varchar(50) | Activity type name |
shortcode | varchar(8) | Short code identifier |
color | varchar(7) | Color code |
is_default | boolean | Default flag |
notes | text | Additional notes |
created_by | integer | Creator user ID |
created_at | timestamp | Creation timestamp |
is_archived | boolean | Archive status |
archived_at | timestamp | Archive timestamp |
archived_by | integer | Archiving user ID |