source: resTools_backend/backend/Entities/User.cs@ d86edb7

Last change on this file since d86edb7 was a26f6a1, checked in by Danilo <danilo.najkov@…>, 2 years ago

full auth flow

  • Property mode set to 100644
File size: 530 bytes
Line 
1using Newtonsoft.Json;
2
3namespace backend.Entities;
4
5public class User
6{
7 public int Id { get; set; }
8 public string Email { get; set; }
9 public string Password { get; set; }
10 public bool IsAdmin { get; set; }
11 public bool IsConfirmed { get; set; }
12 public string? ConfirmationURL { get; set; }
13 public DateTime? ConfirmationValidTo { get; set; }
14 public string? PasswordResetURL { get; set; }
15 public DateTime? PasswordResetValidTo { get; set; }
16 public virtual Restaurant Restaurant { get; set; }
17}
Note: See TracBrowser for help on using the repository browser.