Teacher.cs 805 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. namespace AvaloniaApplication5.Models;
  4. public partial class Teacher
  5. {
  6. public int Id { get; set; }
  7. public string LastName { get; set; } = null!;
  8. public string FirstName { get; set; } = null!;
  9. public string PatronymicName { get; set; } = null!;
  10. public int? GenderId { get; set; }
  11. public DateTime DateOfBirth { get; set; }
  12. public int? Experience { get; set; }
  13. public string Email { get; set; } = null!;
  14. public string? Phone { get; set; }
  15. public virtual Gender? Gender { get; set; }
  16. public virtual ICollection<TeacherCourse> TeacherCourses { get; set; } = new List<TeacherCourse>();
  17. public virtual ICollection<TeacherDiscipline> TeacherDisciplines { get; set; } = new List<TeacherDiscipline>();
  18. }