Kavita/API/DTOs/ResetPasswordDto.cs
2021-06-03 07:16:32 -05:00

13 lines
293 B
C#

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