Add initial implementation of API, database, and user management components.
This commit is contained in:
10
MikrocopApi/Dtos/ValidatePasswordRequestDto.cs
Normal file
10
MikrocopApi/Dtos/ValidatePasswordRequestDto.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace MikrocopApi.Dtos;
|
||||
|
||||
public sealed class ValidatePasswordRequestDto
|
||||
{
|
||||
[Required]
|
||||
[StringLength(128, MinimumLength = 8)]
|
||||
public string Password { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user