Teacher.cs 719 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. namespace pr13.Models;
  4. public partial class Teacher
  5. {
  6. public int IdTeacher { get; set; }
  7. public string? Surname { get; set; }
  8. public string? Name { get; set; }
  9. public string? Patronymic { get; set; }
  10. public int? IdGender { get; set; }
  11. public DateTime? Birthdate { get; set; }
  12. public int? Expirience { get; set; }
  13. public string? Email { get; set; }
  14. public string? Phone { get; set; }
  15. public virtual Gender? IdGenderNavigation { get; set; }
  16. public virtual User IdTeacherNavigation { get; set; } = null!;
  17. public virtual ICollection<TeachersCourse> TeachersCourses { get; set; } = new List<TeachersCourse>();
  18. }