Files
Sharpbin/SharpbinV3/DTOs/LoginRequest.cs
T

14 lines
356 B
C#

using System.ComponentModel.DataAnnotations;
namespace SharpbinV3.Server.DTOs
{
public class LoginRequest
{
[StringLength(50, MinimumLength = 3)]
public string? Username { get; set; }
public string? Email { get; set; }
[StringLength(128, MinimumLength = 6)]
public string? Password { get; set; }
}
}