source: resTools_backend/backend/Entities/User.cs

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

vip functionallity + menu fields + alergens filtering + google/fb login + email queueing

  • Property mode set to 100644
File size: 566 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 bool IsVip { get; set; }
13 public string? ConfirmationURL { get; set; }
14 public DateTime? ConfirmationValidTo { get; set; }
15 public string? PasswordResetURL { get; set; }
16 public DateTime? PasswordResetValidTo { get; set; }
17 public virtual Restaurant Restaurant { get; set; }
18}
Note: See TracBrowser for help on using the repository browser.