TTShift Class Reference

Inherits from NSManagedObject
Declared in TTShift.h

Overview

NSManagedObject representation of a shift for a role.

  start

Date representing the start of the shift

@property (nullable, nonatomic, copy) NSDate *start

Declared In

TTShift.h

  end

Date representing the end of the shift.

@property (nullable, nonatomic, copy) NSDate *end

Declared In

TTShift.h

  userToken

The token of the user that has this shift.

@property (nullable, nonatomic, copy) NSString *userToken

Declared In

TTShift.h

  roleToken

The token of the role that has this shift.

@property (nullable, nonatomic, copy) NSString *roleToken

Declared In

TTShift.h

  organizationToken

Token of the organization where this shift exists.

@property (nullable, nonatomic, copy) NSString *organizationToken

Declared In

TTShift.h

  status

Status of the shift.

@property (nullable, nonatomic, copy) NSString *status

Discussion

Note: The status string “blackout” is used for off hours,

Declared In

TTShift.h

  user

The user that has this shift.

@property (nullable, nonatomic, retain) TTUser *user

Declared In

TTShift.h

  role

The role that has this shift.

@property (nullable, nonatomic, retain) TTRole *role

Declared In

TTShift.h