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
|
Rev | Line | |
---|
[057037b] | 1 | using Newtonsoft.Json;
|
---|
| 2 |
|
---|
[b66b3ac] | 3 | namespace backend.Entities;
|
---|
| 4 |
|
---|
| 5 | public 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.