mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
860 B
21 lines
860 B
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 ProgramScheduleItemCollectionType CollectionType { get; set; } |
|
public int? MediaCollectionId { get; set; } |
|
public MediaCollection MediaCollection { get; set; } |
|
public int? TelevisionShowId { get; set; } |
|
public TelevisionShow TelevisionShow { get; set; } |
|
public int? TelevisionSeasonId { get; set; } |
|
public TelevisionSeason TelevisionSeason { get; set; } |
|
public int ProgramScheduleId { get; set; } |
|
public ProgramSchedule ProgramSchedule { get; set; } |
|
} |
|
}
|
|
|