* refactor classic and block schedules to use same alternate schedule selector * handle start year and end year * add migrations for classic and block schedules * allow editing block template start and end year * add tests that include years * add date range editing to classic (alternate) schedules * fix running tests locally * restore media files load; needed for local folder scanners * update changelog * feedback
18 lines
429 B
C#
18 lines
429 B
C#
namespace ErsatzTV.Application.Scheduling;
|
|
|
|
public record PlayoutTemplateViewModel(
|
|
int Id,
|
|
TemplateViewModel Template,
|
|
DecoTemplateViewModel DecoTemplate,
|
|
int Index,
|
|
ICollection<DayOfWeek> DaysOfWeek,
|
|
ICollection<int> DaysOfMonth,
|
|
ICollection<int> MonthsOfYear,
|
|
bool LimitToDateRange,
|
|
int StartMonth,
|
|
int StartDay,
|
|
int? StartYear,
|
|
int EndMonth,
|
|
int EndDay,
|
|
int? EndYear);
|