Files
LaDOSE/LaDOSE.Src/LaDOSE.DTO/ApplicationUserDTO.cs
T

24 lines
683 B
C#

using System;
using System.Collections.Generic;
namespace LaDOSE.DTO
{
public class ApplicationUserDTO
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Username { get; set; }
/// <summary>Only ever read from a request; never populated on a response.</summary>
public string Password { get; set; }
/// <summary>Role names held by the user, e.g. <c>["Admin"]</c>. Empty means a plain user.</summary>
public List<string> Roles { get; set; }
public string Token { get; set; }
public DateTime Expire { get; set; }
}
}