source: iknow-api/Models/User.cs@ 5e22720

Last change on this file since 5e22720 was 5e22720, checked in by imbrsk <boris696boris@…>, 11 months ago

ADDEED ALL MODESL :)

  • Property mode set to 100644
File size: 1.0 KB
Line 
1
2
3namespace iknow_api.Models
4{
5 public enum UserRole
6 {
7 Admin,
8 Professor,
9 Strudent
10 }
11
12 public class User
13 {
14 public int Id { get; set; }
15 public string? Name { get; set; }
16 public string? EMBG {get; set; }
17 public string? Surname { get; set; }
18 public string? Index { get; set; }
19 public string? Email { get; set; }
20 public string? PasswordHash { get; set; }
21 public DateTime Bday { get; set; }
22 public DateTime CreatedAt { get; set; }
23 public UserRole Role { get; set; }
24 public HighSchool? HighSchool { get; set; }
25 public ContactInfo? ContactInfo { get; set; }
26 public EnrollmentInfo? EnrollmentInfo { get; set; }
27 public ICollection<UserDocuments>? Documents { get; set; }
28 public ICollection<Payment>? EnrolledSemesters { get; set; }
29 public ICollection<SemesterSubject>? EnrolledSemesterUserSubjects { get; set; }
30
31 public ICollection<SemesterSubject>? TeachingSubjects { get; set; }
32
33 }
34}
Note: See TracBrowser for help on using the repository browser.