Files
Sharpbin/SharpbinV3.Server/DTOs/User/UserResponseDto.cs
T
whoswhip 67447d51ae feat: reports; improved+simplifed modals; extractError funcction;
refactor: change jwt claims to lowercase; use response dtos for sensitive data
fix: nullify user on token clears; change appsettings.dev View_Internal_API_Key
2026-01-14 19:41:52 -05:00

19 lines
513 B
C#

namespace SharpbinV3.Server.DTOs.User
{
public class UserSimpleDto
{
public int? UID { get; set; }
public Guid UUID { get; set; }
public string Username { get; set; } = string.Empty;
public string? DisplayName { get; set; }
public int[] Roles { get; set; } = [];
public int Visibility { get; set; }
}
public class UserResponseDto : UserSimpleDto
{
public string? Email { get; set; }
public long? LastLogin { get; set; }
}
}