feat(Core): update DTOs and shared models
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace FinlyticCore.Models.Auth;
|
||||
|
||||
/// <summary>
|
||||
/// DTO for updating user role or active status by an admin.
|
||||
/// </summary>
|
||||
public class UpdateUserRequestDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Updated user role (User, Premium, Admin).
|
||||
/// </summary>
|
||||
public string? Role { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Updated active state of user.
|
||||
/// </summary>
|
||||
public bool? IsActive { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Updated full name.
|
||||
/// </summary>
|
||||
public string? FullName { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user