ModelBreak
March 13, 2019 ยท View on GitHub
Description
A record of an employee's break during a shift.
Properties
| Name | Getter | Setter | Type | Description | Notes |
|---|---|---|---|---|---|
| id | getId() | setId($value) | string | UUID for this object | [optional] |
| start_at | getStartAt() | setStartAt($value) | string | RFC 3339; follows same timezone info as `Shift`. Precision up to the minute is respected; seconds are truncated. | |
| end_at | getEndAt() | setEndAt($value) | string | RFC 3339; follows same timezone info as `Shift`. Precision up to the minute is respected; seconds are truncated. The `end_at` minute is not counted when the break length is calculated. For example, a break from `00:00` to `00:11` is considered a 10 minute break (midnight to 10 minutes after midnight). | [optional] |
| break_type_id | getBreakTypeId() | setBreakTypeId($value) | string | The `BreakType` this `Break` was templated on. | |
| name | getName() | setName($value) | string | A human-readable name. | |
| expected_duration | getExpectedDuration() | setExpectedDuration($value) | string | Format: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of the break. | |
| is_paid | getIsPaid() | setIsPaid($value) | bool | Whether this break counts towards time worked for compensation purposes. |
Note: All properties are protected and only accessed via getters and setters.