Migrating to modern c# namespace
Using the short namesapce declaration for conciseness
This commit is contained in:
+13
-14
@@ -2,19 +2,18 @@ using System;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Icarus.Models
|
||||
namespace Icarus.Models;
|
||||
|
||||
public class LoginResult : BaseResult
|
||||
{
|
||||
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; }
|
||||
}
|
||||
[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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user