source: iknow-api/Models/User.cs@ 3347c1b

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

Implement refresh token functionality with associated services and repositories

  • Property mode set to 100644
File size: 549 bytes
RevLine 
[2859225]1
2
[e49c3ed]3namespace iknow_api.Models
[2859225]4{
5 public enum UserRole
6 {
7 Admin,
8 Professor,
9 Strudent
10 }
11
[9a57e89]12 public class User
[2859225]13 {
14 public int Id { get; set; }
15 public string? Name { get; set; }
16 public string? Surname { get; set; }
17 public string? Index { get; set; }
18 public string? Email { get; set; }
[5b42c8d]19 public string? PasswordHash { get; set; }
[2859225]20 public DateTime Bday { get; set; }
21 public DateTime CreatedAt { get; set; }
22 public UserRole Role { get; set; }
[3347c1b]23
[2859225]24 }
25}
Note: See TracBrowser for help on using the repository browser.