Skip to main content

Schedule Equipment

Overview

The ScheduleEquipment entity tracks equipment assignments to specific schedules. It defines when and which equipment is allocated to a scheduled activity, allowing for effective equipment utilization planning and tracking.

Table Structure

The following table outlines the SQL columns for the schedule_equipment 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 equipment assignment.2025-01-01T19:48:44Z
start_dateDateTimePlanned start date and time for the equipment assignment.2024-12-31T19:48:44Z
equipment_idString (ULID)Reference to the equipment that is assigned to the schedule. See equipment.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
schedule_idString (ULID)Reference to the schedule that the equipment is assigned to. See schedules.01JAP8RJBN-8ZTPXSGY-J9GSDPE1

Field Details

end_date and start_date

These fields define the time window during which the equipment 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 equipment is only needed for part of the operation.

equipment_id

References the specific piece of equipment assigned to the schedule. This links to the Equipment entity in the Equipment Model, allowing for detailed tracking of equipment utilization and availability.

schedule_id

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