namespace Web.Controllers;

public partial class HomeController
{
	public class ScheduleOptions(
		int timeSlots = 3, 
		string[]? absentStudents = null, 
		string[]? extended = null, 
		string[]? omittedEvents = null,
		string[]? mustIncludeEvents = null,
		bool reverse = false,
		DateTime date = new(),
		int slotPush = 0
	)
	{
		public int TimeSlots = timeSlots;
		public string[]? AbsentStudents = absentStudents;
		public string[]? ExtendedTeams = extended;
		public string[]? OmittedEvents = omittedEvents;
		public string[]? MustIncludeEvents = mustIncludeEvents;
		public bool Reverse { get; } = reverse;
		public int SlotPush { get; } = slotPush;
		public DateTime Date { get; } = date == new DateTime() ? DateTime.Today : date;
	}
}