source: resTools_backend/backend/DTOs/AuthenticateResponse.cs@ 899b19d

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

reviews full feature

  • Property mode set to 100644
File size: 335 bytes
RevLine 
[b66b3ac]1using backend.Entities;
[057037b]2using Newtonsoft.Json;
[b66b3ac]3
4namespace backend.Models;
5
6
7public class AuthenticateResponse
8{
[057037b]9 [JsonProperty]
[b66b3ac]10 public int Id { get; set; }
[057037b]11 [JsonProperty]
12 public string Email { get; set; }
13 [JsonProperty]
[b66b3ac]14 public string Token { get; set; }
[899b19d]15 [JsonProperty]
16 public bool IsAdmin { get; set; }
[b66b3ac]17}
Note: See TracBrowser for help on using the repository browser.