Refactored project to module structure
This commit is contained in:
18
Moonlight.Shared/Admin/Setup/ApplySetupDto.cs
Normal file
18
Moonlight.Shared/Admin/Setup/ApplySetupDto.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Moonlight.Shared.Admin.Setup;
|
||||
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user