Change id types
This commit is contained in:
@@ -6,7 +6,7 @@ public class LoginResult : BaseResult
|
||||
{
|
||||
#region Properties
|
||||
[JsonProperty("user_id")]
|
||||
public int UserId { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
[JsonProperty("username")]
|
||||
public string? Username { get; set; }
|
||||
[JsonProperty("token")]
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ public class User
|
||||
[JsonProperty("id")]
|
||||
[Column("Id")]
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
[JsonProperty("username")]
|
||||
public string? Username { get; set; }
|
||||
[JsonProperty("password")]
|
||||
|
||||
Reference in New Issue
Block a user