namespace MeetTheTeacher.Model;
///
/// Represents a teacher at a vocational college
///
///
public class Teacher : ICsvRepresentable
{
///
/// Creates a new instance of .
/// The name is the only required property.
///
/// Name of the teacher
public Teacher(string name)
{
Name = name;
}
///
/// Gets the name of the teacher
///
public string Name { get; }
///
/// Gets the time frame in which the teacher is available for consulting
///
public TimeFrame? ConsultingHour { get; init; }
///
/// Gets the school unit in which the teacher is available for consulting
///
public SchoolUnit? ConsultingHourUnit { get; init; }
///
/// Gets the day of the week the teacher is available for consulting
///
public DayOfWeek? ConsultingHourWeekDay { get; init; }
///
/// Gets the room in which the teacher is available for consulting
///
public string? Room { get; init; }
private string? ConsultingHourTime
{
get
{
// TODO
return null!;
}
}
public virtual CsvData ToCsvData() => null!; // TODO
}