# Entity Definitions

## Schedule
**Weekly layout of Time Slots**
- UUID
- Created at (Date/Time)
- Updated at (Date/Time)
- Title
- Start Date
- End Date
- Selection Start (Open for selection)
- Selection End (Closed for selection)
- Disabled (Visible to Admins or all users)
- Approved By (Admin who approved)

## Time Slot
**Block of time that can be selected**
- UUID
- Created at (Date/Time)
- Updated at (Date/Time)
- Schedule_ID
- Title
- Position: position_id
- Unit Number: User default, editable by Admin
- Vehicle Number: User default, editable by Admin
- Emergency Number: User default, editable by Admin
- Assigned to
- Start Date: Start of schedule by default, editable by Admin
- End Date: End of schedule by default, editable by Admin
- Start Time
- End Time
- DAYS_FLAG
- Overtime
- Notes: [ Note_id, ...]

## Note
- UUID
- Created at (Date/Time)
- Updated at (Date/Time)
- Content
- Created by

## User
- UUID
- Created at (Date/Time)
- Updated at (Date/Time)
- First Name
- Middle Initial
- Last Name
- Email
- Position: position_id
- Role: (Root, Admin, Supervisor, User, Read Only)
- Skills: [Assignmnt_id, ...]
- Sworn in date
- Seniority: Default based on Sworn in date and Position, Admin can update
- Default Vehicle Number
- Default Emergency Number
- Default Unit Number

## Position
**Rank/Position of the user in question (Officer, Dispatcher, etc.)**
- UUID
- Created at (Date/Time)
- Updated at (Date/Time)
- Name
- Description: *Optional*

## Skills
**Certifications or abilities that the user might know**
- UUID
- Created at (Date/Time)
- Updated at (Date/Time)
- Code
- Description
