跳到主要内容

Time Tracking Entities

Entities for time logs, time slots, timesheets, screenshots, and activity monitoring.

TimeLog

Individual time entries recorded by employees.

ColumnTypeDescription
idUUIDPrimary key
startedAtDateStart timestamp
stoppedAtDate?Stop timestamp
logTypeenumTRACKED, MANUAL, IDLE, RESUMED
sourceenumWEB_TIMER, DESKTOP, MOBILE, BROWSER, HUBSTAFF, UPWORK
durationnumberDuration in seconds
isBillablebooleanBillable flag
descriptionstring?Time log description
reasonstring?Manual edit reason
isRunningbooleanCurrently running
editedAtDate?Last manual edit timestamp
employeeIdUUIDFK to employee
projectIdUUID?FK to project
taskIdUUID?FK to task
timesheetIdUUID?FK to timesheet

Relations:

RelationTypeTarget
employeeManyToOneEmployee
projectManyToOneOrganizationProject
taskManyToOneTask
timesheetManyToOneTimesheet
timeSlotsManyToManyTimeSlot

TimeSlot

10-minute activity slots that aggregate activity data.

ColumnTypeDescription
startedAtDateSlot start time
durationnumberDuration in seconds (≤600)
keyboardnumberKeyboard activity %
mousenumberMouse activity %
overallnumberCombined activity %
employeeIdUUIDFK to employee

Relations:

RelationTypeTarget
timeLogsManyToManyTimeLog
screenshotsOneToManyScreenshot
activitiesOneToManyActivity
minutesOneToManyTimeSlotMinute

TimeSlotMinute

Per-minute activity breakdown within a time slot.

ColumnTypeDescription
keyboardnumberKeyboard activity
mousenumberMouse activity
datetimeDateMinute timestamp
timeSlotIdUUIDFK to time slot

Timesheet

Weekly timesheet aggregations.

ColumnTypeDescription
durationnumberTotal duration (sec)
keyboardnumberKeyboard activity %
mousenumberMouse activity %
overallnumberOverall activity %
startedAtDateWeek start
stoppedAtDateWeek end
statusenumDRAFT, PENDING, IN_REVIEW, DENIED, APPROVED
approvedAtDate?Approval timestamp
approvedByIdUUID?Supervisor who approved
employeeIdUUIDFK to employee
isBilledbooleanWhether billed

Screenshot

Activity screenshots captured during time tracking.

ColumnTypeDescription
filestringFile path/URL
thumbstring?Thumbnail path/URL
recordedAtDateCapture timestamp
deletedAtDate?Soft delete timestamp
timeSlotIdUUIDFK to time slot
storageProviderenum?Storage provider used
isWorkRelatedboolean?Work-related classification

Activity

Application and URL activity tracking.

ColumnTypeDescription
titlestringWindow/app title
typeenumAPP, URL
dateDateActivity date
timeDateActivity time
durationnumberDuration in seconds
timeSlotIdUUIDFK to time slot
employeeIdUUIDFK to employee
projectIdUUID?FK to project
taskIdUUID?FK to task