using System.ComponentModel.DataAnnotations; namespace Jdb.Api.DTOs.Auth { public class ForgotPasswordRequest { [Required] [EmailAddress] [MaxLength(255)] public string Email { get; set; } = string.Empty; } }
info at phpclasses dot org