Files
Moonlight/Moonlight.Shared/Http/Requests/Seup/ApplySetupDto.cs

20 lines
414 B
C#

using System.ComponentModel.DataAnnotations;
namespace Moonlight.Shared.Http.Requests.Seup;
public class ApplySetupDto
{
[Required]
[MinLength(3)]
[MaxLength(32)]
public string AdminUsername { get; set; }
[Required]
[EmailAddress]
public string AdminEmail { get; set; }
[Required]
[MinLength(8)]
[MaxLength(64)]
public string AdminPassword { get; set; }
}