31 lines
752 B
C#
31 lines
752 B
C#
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using UWLib;
|
|
|
|
namespace UWLecturePlan.Models
|
|
{
|
|
public class LecturesViewModel
|
|
{
|
|
|
|
public string? Semester { get; set; }
|
|
|
|
public string? Location { get; set; }
|
|
|
|
public string? Branch { get; set; }
|
|
|
|
public string? TypeFilter { get; set; }
|
|
|
|
public string Date { get; set; } = DateTime.Today.ToString("dd.MM.yyyy");
|
|
|
|
public List<LectureEvent> LectureEvents { get; set; } = [];
|
|
|
|
public List<string> Branches { get; set; } = [];
|
|
|
|
public List<string> Types { get; set; } = [];
|
|
|
|
public List<string> Semesters { get; set; } = [];
|
|
|
|
public Dictionary<DateTime, int> Days { get; set; } = [];
|
|
}
|
|
}
|