Sube carpetas API, API.Tests, Application y Domain del Backend
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Application.DTOs.User.Response;
|
||||
|
||||
/// <summary>
|
||||
/// Confirms a forced password reset was performed; the generated temporary password is never included here.
|
||||
/// </summary>
|
||||
public sealed record ResetPasswordResponse(
|
||||
Guid UserId
|
||||
);
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
|
||||
namespace Application.DTOs.User.Response;
|
||||
|
||||
public sealed class UserResponse(
|
||||
Guid userId,
|
||||
string email,
|
||||
string username,
|
||||
string role,
|
||||
string? phone,
|
||||
Guid? createdByOwnerId,
|
||||
bool isActive)
|
||||
{
|
||||
public Guid UserId { get; init; } = userId;
|
||||
public string Email { get; init; } = email;
|
||||
public string Username { get; init; } = username;
|
||||
public string Role { get; init; } = role;
|
||||
public string? PhoneNumber { get; init; } = phone;
|
||||
public Guid? CreatedByOwnerId { get; init; } = createdByOwnerId;
|
||||
public bool IsActive { get; init; } = isActive;
|
||||
}
|
||||
Reference in New Issue
Block a user