Teacher.cs 748 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Teachers.Models;
  4. public partial class Teacher
  5. {
  6. public int Id { get; set; }
  7. public string? Surname { get; set; }
  8. public string? Name { get; set; }
  9. public string? Patronymic { get; set; }
  10. public int? Gender { get; set; }
  11. public DateTime? Birthday { get; set; }
  12. public int? Experience { get; set; }
  13. public string? Email { get; set; }
  14. public string? Phone { get; set; }
  15. public virtual Gender? GenderNavigation { get; set; }
  16. public virtual ICollection<SubjectsTaught> SubjectsTaughts { get; set; } = new List<SubjectsTaught>();
  17. public virtual ICollection<TeacherCourse> TeacherCourses { get; set; } = new List<TeacherCourse>();
  18. }