Files
ersatztv/ErsatzTV.Core/Domain/ProgramScheduleItem.cs
T
2021-02-08 21:13:53 -06:00

17 lines
555 B
C#

using System;
namespace ErsatzTV.Core.Domain
{
public abstract class ProgramScheduleItem
{
public int Id { get; set; }
public int Index { get; set; }
public StartType StartType => StartTime.HasValue ? StartType.Fixed : StartType.Dynamic;
public TimeSpan? StartTime { get; set; }
public int MediaCollectionId { get; set; }
public MediaCollection MediaCollection { get; set; }
public int ProgramScheduleId { get; set; }
public ProgramSchedule ProgramSchedule { get; set; }
}
}