Files
ersatztv/ErsatzTV.Core/Domain/Scheduling/PlayoutHistory.cs
T
Jason DoveandGitHub 7d83e66ba6 add yaml playout history; allow yaml playouts to be extended (#1832)
* add multi_part; refactor skipping items

* save and apply history for yaml playouts

* do not remove history on yaml playout reset
2024-07-29 13:09:14 -05:00

27 lines
756 B
C#

namespace ErsatzTV.Core.Domain.Scheduling;
public class PlayoutHistory
{
public int Id { get; set; }
public int PlayoutId { get; set; }
public Playout Playout { get; set; }
public int? BlockId { get; set; }
public Block Block { get; set; }
public PlaybackOrder PlaybackOrder { get; set; }
public int Index { get; set; }
// something that uniquely identifies the collection within the block
public string Key { get; set; }
// last occurence of an item from this collection in the playout
public DateTime When { get; set; }
// used to efficiently ignore/remove "still active" history items
public DateTime Finish { get; set; }
// details about the item
public string Details { get; set; }
}