using Galaeth.Core.Constants;
namespace Galaeth.Core.Dtos;
///
/// Dto representing a user.
///
public class UserDto
{
///
/// User's Id.
///
public Guid Id { get; set; }
///
/// User's name.
///
public string Username { get; set; }
///
/// User's email address.
///
public string EmailAddress { get; set; }
///
/// When the user was registered.
///
public DateTime RegistrationDate { get; set; }
///
/// When the user was registered in ticks.
///
public long RegistrationDateTicks { get; set; }
///
/// User's role.
///
public UserRole Role { get; set; }
///
/// User's role as title.
///
public string RoleTitle { get; set; }
}