* improve yaml shuffling behavior * add custom_title to playout instructions
23 lines
577 B
C#
23 lines
577 B
C#
using YamlDotNet.Serialization;
|
|
|
|
namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models;
|
|
|
|
public class YamlPlayoutInstruction
|
|
{
|
|
public virtual bool ChangesIndex => false;
|
|
|
|
public string Content { get; set; }
|
|
|
|
[YamlMember(Alias = "filler_kind", ApplyNamingConventions = false)]
|
|
public string FillerKind { get; set; }
|
|
|
|
[YamlMember(Alias = "custom_title", ApplyNamingConventions = false)]
|
|
public string CustomTitle { get; set; }
|
|
|
|
[YamlIgnore]
|
|
public string SequenceKey { get; set; }
|
|
|
|
[YamlIgnore]
|
|
public Guid SequenceGuid { get; set; }
|
|
}
|