Kavita/API/DTOs/ResetPasswordDto.cs
2021-01-21 11:15:42 -06:00

13 lines
292 B
C#

using System.ComponentModel.DataAnnotations;
namespace API.DTOs
{
public class ResetPasswordDto
{
[Required]
public string UserName { get; init; }
[Required]
[StringLength(8, MinimumLength = 4)]
public string Password { get; init; }
}
}