source: resTools_backend/backend/DTOs/AuthenticateResponse.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: 451 bytes
Line 
1using backend.Entities;
2using Newtonsoft.Json;
3
4namespace backend.Models;
5
6
7public class AuthenticateResponse
8{
9 [JsonProperty]
10 public int Id { get; set; }
11 [JsonProperty]
12 public string Email { get; set; }
13 [JsonProperty]
14 public string Token { get; set; }
15 [JsonProperty]
16 public bool IsAdmin { get; set; }
17 [JsonProperty]
18 public bool IsConfirmed { get; set; }
19 [JsonProperty]
20 public bool isVip { get; set; }
21}
Note: See TracBrowser for help on using the repository browser.