initial commit from an older template
This commit is contained in:
11
Models/DTO/GetTwoFactorDTO.cs
Normal file
11
Models/DTO/GetTwoFactorDTO.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace GamificationService.Models.DTO;
|
||||
|
||||
public class GetTwoFactorDTO
|
||||
{
|
||||
[Required]
|
||||
public int TwoFactorProvider { get; set; }
|
||||
[StringLength(50, MinimumLength = 3, ErrorMessage = "Username must be between 3 and 50 characters")]
|
||||
public string? Username { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user