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.
34 lines
1.1 KiB
34 lines
1.1 KiB
using Destructurama.Attributed; |
|
|
|
namespace ErsatzTV.Core.Domain; |
|
|
|
public class PlayoutProgramScheduleAnchor |
|
{ |
|
public int Id { get; set; } |
|
public int PlayoutId { get; set; } |
|
|
|
[NotLogged] |
|
public Playout Playout { get; set; } |
|
|
|
public int ProgramScheduleId { get; set; } |
|
|
|
[NotLogged] |
|
public ProgramSchedule ProgramSchedule { get; set; } |
|
|
|
public DateTime? AnchorDate { get; set; } |
|
|
|
public DateTimeOffset? AnchorDateOffset => AnchorDate.HasValue |
|
? new DateTimeOffset(AnchorDate.Value, TimeSpan.Zero).ToLocalTime() |
|
: null; |
|
|
|
public ProgramScheduleItemCollectionType CollectionType { get; set; } |
|
public int? CollectionId { get; set; } |
|
public Collection Collection { get; set; } |
|
public int? MultiCollectionId { get; set; } |
|
public MultiCollection MultiCollection { get; set; } |
|
public int? SmartCollectionId { get; set; } |
|
public SmartCollection SmartCollection { get; set; } |
|
public int? MediaItemId { get; set; } |
|
public MediaItem MediaItem { get; set; } |
|
public CollectionEnumeratorState EnumeratorState { get; set; } |
|
}
|
|
|