mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add endpoint to access and modify user information.
This commit is contained in:
11
Marechai.Data/Models/UserRoleRequest.cs
Normal file
11
Marechai.Data/Models/UserRoleRequest.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Marechai.Data.Models;
|
||||
|
||||
public sealed record UserRoleRequest
|
||||
{
|
||||
[Required]
|
||||
[JsonPropertyName("roleName")]
|
||||
public string RoleName { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user