feat: add LoginRequest and LoginResponse DTOs

This commit is contained in:
Chris Chen
2026-05-25 19:07:36 -07:00
parent a66a3f7cb0
commit b335867b30
2 changed files with 36 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
namespace ROLAC.API.DTOs.Auth;
public class LoginRequest
{
[Required]
[EmailAddress]
[MaxLength(256)]
public string Email { get; set; } = null!;
[Required]
[MinLength(8)]
[MaxLength(128)]
public string Password { get; set; } = null!;
}