feat: add PagedResult, Member DTOs, and User DTOs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
namespace ROLAC.API.DTOs.Users;
|
||||
|
||||
public class CreateUserRequest
|
||||
{
|
||||
[Required] public int MemberId { get; set; }
|
||||
[Required, EmailAddress] public string Email { get; set; } = "";
|
||||
[Required, MinLength(1)] public List<string> Roles { get; set; } = [];
|
||||
public string LanguagePreference { get; set; } = "en";
|
||||
}
|
||||
Reference in New Issue
Block a user