21 lines
513 B
C#
21 lines
513 B
C#
using System;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Icarus.Models
|
|
{
|
|
public class LoginResult : BaseResult
|
|
{
|
|
[JsonProperty("user_id")]
|
|
public int UserID { get; set; }
|
|
[JsonProperty("username")]
|
|
public string Username { get; set; }
|
|
[JsonProperty("token")]
|
|
public string Token { get; set; }
|
|
[JsonProperty("token_type")]
|
|
public string TokenType { get; set; }
|
|
[JsonProperty("expiration")]
|
|
public int Expiration { get; set; }
|
|
}
|
|
}
|