15 lines
395 B
C#
15 lines
395 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
using OwnChar.Model;
|
|
|
|
namespace OwnChar.Data.Providers.JsonFile.Model
|
|
{
|
|
public class JsonUserAccount : UserAccount
|
|
{
|
|
public virtual JsonUserProfile? Profile { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public override UserType Type { get => base.Type; set => base.Type = value; }
|
|
}
|
|
}
|