11 lines
241 B
C#
11 lines
241 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MikrocopApi.Dtos;
|
|
|
|
public sealed class ValidatePasswordRequestDto
|
|
{
|
|
[Required]
|
|
[StringLength(128, MinimumLength = 8)]
|
|
public string Password { get; set; } = string.Empty;
|
|
}
|