Newsbot.Collector/Newsbot.Collector.Domain/Requests/RegisterUserRequest.cs

12 lines
273 B
C#

using System.ComponentModel.DataAnnotations;
namespace Newsbot.Collector.Domain.Requests;
public class RegisterUserRequest
{
//public string? Name { get; set; }
[EmailAddress]
public string? Email { get; set; }
public string? Password { get; set; }
}