basic profile info endpoints created
This commit is contained in:
19
WatchIt.Common/WatchIt.Common.Model/Accounts/Account.cs
Normal file
19
WatchIt.Common/WatchIt.Common.Model/Accounts/Account.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WatchIt.Common.Model.Accounts;
|
||||
|
||||
public abstract class Account
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
[JsonPropertyName("username")]
|
||||
public required string Username { get; set; }
|
||||
|
||||
[JsonPropertyName("email")]
|
||||
public required string Email { get; set; }
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string? Description { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user