Teams

Teams

new Teams(employees, car, starOfWorkingDay, endOfWorkingDay, shifts, holidays, sickLeaves, businessTrips, id, signal) → {Object}

This constructor function will create a team object and return it.
Parameters:
Name Type Default Description
employees array Array of employees ids
car number Id of car
starOfWorkingDay string When the team start working
endOfWorkingDay string When the team end working
shifts array Array of numbers, when the team is on shift
holidays string String with start and end of holidays
sickLeaves string String with start and end of sick leaves
businessTrips string String with start and end of business trips
id number Number, which represent the id of the team
signal number null Id of signal setted to the team
Source: