Skip to main content

Schedule Personnel

Overview

The SchedulePersonnel entity tracks personnel assignments to specific schedules. It defines when and which staff members are allocated to a scheduled activity, enabling effective workforce planning and tracking of labor resources.

Table Structure

The following table outlines the SQL columns for the schedule_personnel table, providing a brief description of each, along with sample data where applicable.

ColumnTypeDescriptionExample
idString (ULID)Unique identifier for the entity.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
enabledBooleanIf the entity is enabled or not.true
created_dateDateTimeDate the entity was created.2024-12-31T19:48:44Z
created_byStringPerson who created the entity.TamakiMES
modified_dateDateTimeDate the entity was modified. Value is null upon creation, and gets initially populated upon the first edit.2024-12-31T19:48:44Z
modified_byStringLast person to modify the entity. Value is null upon creation, and gets initially populated upon the first edit.TamakiMES
notesStringNotes about the entity.This entity has these extra notes
spare1StringThe first spare column that can be used for additional context on the entity.some extra context 1
spare2StringThe second spare column that can be used for additional context on the entity.some extra context 2
spare3StringThe third spare column that can be used for additional context on the entity.some extra context 3
end_dateDateTimePlanned end date and time for the personnel assignment.2025-01-01T19:48:44Z
start_dateDateTimePlanned start date and time for the personnel assignment.2024-12-31T19:48:44Z
person_idString (ULID)Reference to the person that is assigned to the schedule. See personnel.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
schedule_idString (ULID)Reference to the schedule that the person is assigned to. See schedules.01JAP8RJBN-8ZTPXSGY-J9GSDPE1

Field Details

end_date and start_date

These fields define the time window during which the person is assigned to the schedule. This may be the same as the schedule's timeframe, but could also represent a subset of the schedule's duration if the person is only needed for part of the operation.

person_id

References the specific person assigned to the schedule. This links to the Person entity, allowing for detailed tracking of personnel utilization, skills allocation, and availability.

schedule_id

References the schedule to which this personnel assignment belongs. This creates a many-to-many relationship between schedules and personnel, as a single schedule may require multiple people, and a person may be assigned to multiple schedules over time.