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.
Datatype | Name | Description |
---|---|---|
DateTime? | BeginOfCoreTime | That’s the time when the user must be logged in latest. |
DateTime? | EndOfCoreTime | That’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.
Datatype | Name | Description |
---|---|---|
DateTime | ValidSince | The date from which of the work model is valid |
List\<WorkdayDto> | WorkdayModels | List of the workday models |
bool | IsDefaultModel | True, if the given workmodel is the default (or fallback) work model of the user |
Bool | IsShortTimeWork | True, if the given workmodel defines a short-time work model |
WorkdayDto
Diese Klasse enthält die Definition für einen Arbeitstag.
Datatype | Name | Description |
---|---|---|
DateTime | Date | Defines the date of the workday model |
Bool | HasToWork | True, if the day is marked as a workday. |
DateTime | BeginOfWork | Begin of the defined time frame. |
double | WorkingTime | The defined working time of the day |
Double | FractionOfDay | Gets a value of 0,5 or 1 in order to define the fraction of the day of the workday. |
Double | EstimatedWorkingTime | The estimated working time for the given date. This flag combines (HasToWork) with (WorkingTime) |
Double | EstimatedDurationAsDay | Defines if the duration is a 0,5 or 1 |
Bool | EstimatedHasToWork | True, if HasToWork is true and the day is not a public holiday (!isPublicHoliday) |
Bool | IsPublicHoliday | True, if the day is a public holiday |
Bool | IsShortTimeWorkToday | True, if a short time work has been defined for the given workday |
WorkdayDto | RegularWorkday | Reference to a WorkdayDto if the given day is a short time work. So the regular workday is defined there. |
Double | WorktimeOffset | This is a daily offset to the worktime. With that offset the user can get additional worktime without working. |
Bool | DynamicWorktime | If 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? | BeginOfCoreTime | That’s the time when the user must be logged in latest. |
DateTime? | EndOfCoreTime | That’s the time when the user is allowed to log out without having a core time violation. |