shoc-backend/Api.SeaHavenIndustries/DTOs/ForgetPassword_Dto.cs

13 lines
395 B
C#
Raw Normal View History

2024-09-28 14:58:36 -04:00
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; }
}
}