Skip to main content

EmployeeShiftEntry

All shifts planned for an employee for a single month. This is a row in a shift plan.

type EmployeeShiftEntry {
actualTime: Int!
employee: Employee
id: EmployeeShiftEntryID!
pauseTime: Int!
plannedTime: Int!
shift(
date: Date!
): ShiftEntry!
shifts: [ShiftEntry]!
timeBalance: Int!
}

Fields

EmployeeShiftEntry.actualTime ● Int! non-null scalar

Actual recorded working time for the month in minutes

EmployeeShiftEntry.employee ● Employee object

The employee responsible for carrying out the shifts. Optional, as shift can be unassigned.

EmployeeShiftEntry.id ● EmployeeShiftEntryID! non-null scalar

Unique identifier for the employee shift entry

EmployeeShiftEntry.pauseTime ● Int! non-null scalar

The total sum of all pause times of the single shifts

EmployeeShiftEntry.plannedTime ● Int! non-null scalar

Total planned working time for the month in minutes

EmployeeShiftEntry.shift ● ShiftEntry! non-null object

A single entry for a single day.

EmployeeShiftEntry.shift.date ● Date! non-null scalar

EmployeeShiftEntry.shifts ● [ShiftEntry]! non-null object

All shifts planned for the given employee

EmployeeShiftEntry.timeBalance ● Int! non-null scalar

Balance between the planned and the actual recorded working time in minutes, can be positive or negative

Returned By

employeeShiftEntry query

Member Of

SavedShiftPlan object ● ShiftPlan interface ● ShiftPlanDraft object