mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
15 lines
372 B
C#
15 lines
372 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SharpbinV3.DTOs
|
|
{
|
|
public class LoginRequest
|
|
{
|
|
[StringLength(50, MinimumLength = 3)]
|
|
public string? Username { get; set; }
|
|
[EmailAddress]
|
|
public string? Email { get; set; }
|
|
[StringLength(128, MinimumLength = 6)]
|
|
public string? Password { get; set; }
|
|
}
|
|
}
|