public Professor(Name name, Document document, Email email, Course course, string phone) { Name = name; Document = document; Email = email; Course = course; Phone = phone.Replace("(", "").Replace(")", "").Replace("-", "").Trim(); Status = EProfessorStatus.Active; AddNotifications(Name.Notifications); AddNotifications(Document.Notifications); AddNotifications(Email.Notifications); AddNotifications(Course.Notifications); }
public void Activate() { Status = EProfessorStatus.Active; }
public void Inactivate() { Status = EProfessorStatus.Inactive; }