source: ChapterX.Application/Auth/RegisterRequest.cs@ a8f4a2d

main
Last change on this file since a8f4a2d was b373fea, checked in by kikisrbinoska <srbinoskakristina07@…>, 13 days ago

Fixes for authentication and auhtorization\

  • Property mode set to 100644
File size: 450 bytes
RevLine 
[e294f7d]1using MediatR;
[b373fea]2using System.ComponentModel.DataAnnotations;
[e294f7d]3
4namespace ChapterX.Application.Auth
5{
[b373fea]6 public record RegisterRequest(
7 [Required][MaxLength(50)] string Username,
8 [Required][EmailAddress][MaxLength(200)] string Email,
9 [Required][MaxLength(100)] string Name,
10 [Required][MaxLength(100)] string Surname,
11 [Required][MinLength(8)][MaxLength(128)] string Password
12 ) : IRequest<RegisterResponse>;
[e294f7d]13}
Note: See TracBrowser for help on using the repository browser.