Add ScheduleItem entity

Issue: #1
Modify "hasEnoughCapacity" method to declare the return type