Projekt

Obecné

Profil

Stáhnout (450 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 cd91f841 Vojtěch Bartička
using Models.Enums;
2
3 c349bab3 Lukáš Vlček
namespace Models.Authentication;
4
5
public class LoginResponse
6
{
7
    public LoginResponse(bool ok, string token, DateTime expiration)
8
    {
9
        Ok = ok;
10
        Token = token;
11
        Expiration = expiration;
12
    }
13
14
    public LoginResponse()
15
    {
16
    }
17
18 11f447b9 Vojtěch Bartička
#nullable disable
19 c349bab3 Lukáš Vlček
    public bool Ok { get; set; }
20
    public string Token { get; set; }
21
    public DateTime Expiration { get; set; }
22 cd91f841 Vojtěch Bartička
    public ERole Role { get; set; }
23 c349bab3 Lukáš Vlček
}