28 lines
600 B
C#
28 lines
600 B
C#
|
|
using FluentValidation;
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Text.Json.Serialization;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace WatchIt.Shared.Models.Accounts.Register
|
|||
|
|
{
|
|||
|
|
public class RegisterRequest
|
|||
|
|
{
|
|||
|
|
#region PROPERTIES
|
|||
|
|
|
|||
|
|
[JsonPropertyName("username")]
|
|||
|
|
public string Username { get; set; }
|
|||
|
|
|
|||
|
|
[JsonPropertyName("email")]
|
|||
|
|
public string Email { get; set; }
|
|||
|
|
|
|||
|
|
[JsonPropertyName("password")]
|
|||
|
|
public string Password { get; set; }
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
}
|