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