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.
23 lines
689 B
23 lines
689 B
using YamlDotNet.Serialization; |
|
|
|
namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models; |
|
|
|
public class YamlPlayoutSchedule |
|
{ |
|
public string Name { get; set; } |
|
|
|
[YamlMember(Alias = "start_date", ApplyNamingConventions = false)] |
|
public string StartDate { get; set; } |
|
|
|
[YamlMember(Alias = "end_date", ApplyNamingConventions = false)] |
|
public string EndDate { get; set; } |
|
|
|
/// <summary> |
|
/// Priority for schedule matching. Higher values are checked first. Default is 0. |
|
/// </summary> |
|
public int Priority { get; set; } |
|
|
|
public List<YamlPlayoutInstruction> Reset { get; set; } = []; |
|
|
|
public List<YamlPlayoutInstruction> Playout { get; set; } = []; |
|
}
|
|
|