source: iknow-api/Models/Users.cs@ 2859225

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

Implement user management features with database integration

  • Property mode set to 100644
File size: 545 bytes
Line 
1
2
3namespace iknow_api.Models
4{
5 public enum UserRole
6 {
7 Admin,
8 Professor,
9 Strudent
10 }
11
12 public class Users
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; }
19 public string? Password { get; set; }
20 public DateTime Bday { get; set; }
21 public DateTime CreatedAt { get; set; }
22 public UserRole Role { get; set; }
23 }
24}
Note: See TracBrowser for help on using the repository browser.