namespace Brizco.Domain.Entities.Shift; public partial class Shift : ApiEntity { public Shift() { } internal Shift(string title, string description, TimeSpan startAt, TimeSpan endAt) { Title = title; Description = description; StartAt = startAt; EndAt = endAt; } public string Title { get; set; } = string.Empty; public TimeSpan StartAt { get; set; } public TimeSpan EndAt { get; set; } public string Description { get; set; } = string.Empty; public IReadOnlyCollection? Days => ShiftDays; internal List? ShiftDays { get; private set; } = new(); public IReadOnlyCollection? Plans => ShiftPlans; internal List? ShiftPlans { get; private set; } = new(); }