Backend: Added duration to TimePeriodDto