31 lines
705 B
C#
31 lines
705 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Traffic.Data.ViewModels
|
|
{
|
|
public class LoginResultModel
|
|
{
|
|
[JsonPropertyName("Id")]
|
|
public int Id { get; set; }
|
|
|
|
[JsonPropertyName("Name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonPropertyName("Role")]
|
|
public int Role { get; set; }
|
|
|
|
[JsonPropertyName("Token")]
|
|
public string Token { get; set; }
|
|
|
|
[JsonPropertyName("Message")]
|
|
public string Message { get; set; }
|
|
|
|
[JsonPropertyName("Success")]
|
|
public bool Success { get; set; }
|
|
}
|
|
}
|