shoc-backend/Api.SeaHavenIndustries/DTOs/ForgetPassword_Dto.cs
2024-09-28 14:58:36 -04:00

12 lines
395 B
C#

using System.ComponentModel.DataAnnotations;
namespace Api.SeaHavenIndustries.DTOs
{
public class ForgetPassword_Dto
{
public string Email { get; set; }
[StringLength(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
public string? Password { get; set; }
public string? Code { get; set; }
}
}