using Mirea.Api.Dto.Common; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Mirea.Api.Dto.Responses; /// /// Represents a response containing user information. /// public class UserResponse { /// /// Gets or sets the email address of the user. /// [Required] public required string Email { get; set; } /// /// Gets or sets the username of the user. /// [Required] public required string Username { get; set; } /// /// Gets or sets a value indicating whether the user has two-factor authentication enabled. /// [Required] public bool TwoFactorAuthenticatorEnabled { get; set; } /// /// Gets or sets a collection of OAuth providers used by the user. /// [Required] public required IEnumerable UsedOAuthProviders { get; set; } }