source:
resTools_backend/backend/DTOs/AuthenticateResponse.cs@
63f5ced
Last change on this file since 63f5ced was a26f6a1, checked in by , 2 years ago | |
---|---|
|
|
File size: 396 bytes |
Rev | Line | |
---|---|---|
[b66b3ac] | 1 | using backend.Entities; |
[057037b] | 2 | using Newtonsoft.Json; |
[b66b3ac] | 3 | |
4 | namespace backend.Models; | |
5 | ||
6 | ||
7 | public 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; } | |
[a26f6a1] | 17 | [JsonProperty] |
18 | public bool IsConfirmed { get; set; } | |
[b66b3ac] | 19 | } |
Note:
See TracBrowser
for help on using the repository browser.