12 lines
293 B
C#
12 lines
293 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SharedModels.Requests;
|
|
|
|
public class RegistrationRequest
|
|
{
|
|
public string Username { get; set; } = null!;
|
|
[Required]
|
|
public string Email { get; set; } = null!;
|
|
[Required]
|
|
public string Password { get; set; } = null!;
|
|
} |