source: resTools_backend/backend/Entities/User.cs@ 13f1472

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

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

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