Zum Hauptinhalt springen
Version: 5.3

Work Model Service

CoreTimeDto

Diese Klasse enthält den Beginn und das Ende der Kernzeit. Es wird genutzt, um die Kernarbeitszeit Global in TimePunch zu setzen.

DatatypeNameDescription
DateTime?BeginOfCoreTimeThat’s the time when the user must be logged in latest.
DateTime?EndOfCoreTimeThat’s the time when the user is allowed to log out without having a core time violation.

WorkModelDto

Diese Klasse enthält die Definition für ein Arbeitszeitmodell.

DatatypeNameDescription
DateTimeValidSinceThe date from which of the work model is valid
List\<WorkdayDto>WorkdayModelsList of the workday models
boolIsDefaultModelTrue, if the given workmodel is the default (or fallback) work model of the user
BoolIsShortTimeWorkTrue, if the given workmodel defines a short-time work model

WorkdayDto

Diese Klasse enthält die Definition für einen Arbeitstag.

DatatypeNameDescription
DateTimeDateDefines the date of the workday model
BoolHasToWorkTrue, if the day is marked as a workday.
DateTimeBeginOfWorkBegin of the defined time frame.
doubleWorkingTimeThe defined working time of the day
DoubleFractionOfDayGets a value of 0,5 or 1 in order to define the fraction of the day of the workday.
DoubleEstimatedWorkingTimeThe estimated working time for the given date. This flag combines (HasToWork) with (WorkingTime)
DoubleEstimatedDurationAsDayDefines if the duration is a 0,5 or 1
BoolEstimatedHasToWorkTrue, if HasToWork is true and the day is not a public holiday (!isPublicHoliday)
BoolIsPublicHolidayTrue, if the day is a public holiday
BoolIsShortTimeWorkTodayTrue, if a short time work has been defined for the given workday
WorkdayDtoRegularWorkdayReference to a WorkdayDto if the given day is a short time work. So the regular workday is defined there.
DoubleWorktimeOffsetThis is a daily offset to the worktime. With that offset the user can get additional worktime without working.
BoolDynamicWorktimeIf dynamic worktime is set to true, there is no estimated worktime. The user can work as long and how much as he wants to.
DateTime?BeginOfCoreTimeThat’s the time when the user must be logged in latest.
DateTime?EndOfCoreTimeThat’s the time when the user is allowed to log out without having a core time violation.