Employee.cs 768 B

123456789101112131415161718192021222324
  1. using Microsoft.AspNetCore.Identity;
  2. using OnlineMetodist.API.Models;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OnlineMetodist.API.Models
  9. {
  10. public class Employee
  11. {
  12. public Guid Id { get; set; }
  13. public string Surname { get; set; }
  14. public string Name { get; set; }
  15. public string? Patronymic { get; set; }
  16. public string UserId { get; set; }
  17. public ApplicationUser User { get; set; } = null!;
  18. public ICollection<Event> Events { get; set; }
  19. public Guid? IdMC { get; set; }
  20. public MethodicalCommission? MethodicalCommission { get; set; } = null!;
  21. public MethodicalCommission? HeadMC { get; set; } = null!;
  22. }
  23. }