first commit

This commit is contained in:
2025-08-01 14:10:44 -04:00
commit cf32cfcbcd
149 changed files with 80416 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
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;
}
}