yea boy, now I got it!
This commit is contained in:
10
OwnChar/Data/Providers/JsonFile/Model/JsonCharacter.cs
Normal file
10
OwnChar/Data/Providers/JsonFile/Model/JsonCharacter.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using OwnChar.Model;
|
||||
|
||||
namespace OwnChar.Data.Providers.JsonFile.Model
|
||||
{
|
||||
public class JsonCharacter : Character
|
||||
{
|
||||
public List<JsonProp> Properties { get; } = [];
|
||||
public List<JsonPropCat> PropertyCategories { get; } = [];
|
||||
}
|
||||
}
|
||||
11
OwnChar/Data/Providers/JsonFile/Model/JsonGroup.cs
Normal file
11
OwnChar/Data/Providers/JsonFile/Model/JsonGroup.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using OwnChar.Model;
|
||||
|
||||
namespace OwnChar.Data.Providers.JsonFile.Model
|
||||
{
|
||||
public class JsonGroup : Group
|
||||
{
|
||||
public List<JsonUserProfile> Owner { get; } = [];
|
||||
public List<JsonUserProfile> Members { get; } = [];
|
||||
public List<JsonCharacter> Characters { get; } = [];
|
||||
}
|
||||
}
|
||||
9
OwnChar/Data/Providers/JsonFile/Model/JsonProp.cs
Normal file
9
OwnChar/Data/Providers/JsonFile/Model/JsonProp.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using OwnChar.Model;
|
||||
|
||||
namespace OwnChar.Data.Providers.JsonFile.Model
|
||||
{
|
||||
public class JsonProp : Property
|
||||
{
|
||||
public JsonPropCat? Category { get; set; } = null;
|
||||
}
|
||||
}
|
||||
8
OwnChar/Data/Providers/JsonFile/Model/JsonPropCat.cs
Normal file
8
OwnChar/Data/Providers/JsonFile/Model/JsonPropCat.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using OwnChar.Model;
|
||||
|
||||
namespace OwnChar.Data.Providers.JsonFile.Model
|
||||
{
|
||||
public class JsonPropCat : PropertyCategory
|
||||
{
|
||||
}
|
||||
}
|
||||
9
OwnChar/Data/Providers/JsonFile/Model/JsonUserAccount.cs
Normal file
9
OwnChar/Data/Providers/JsonFile/Model/JsonUserAccount.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using OwnChar.Model;
|
||||
|
||||
namespace OwnChar.Data.Providers.JsonFile.Model
|
||||
{
|
||||
public class JsonUserAccount : UserAccount
|
||||
{
|
||||
public JsonUserProfile? Profile { get; set; }
|
||||
}
|
||||
}
|
||||
8
OwnChar/Data/Providers/JsonFile/Model/JsonUserProfile.cs
Normal file
8
OwnChar/Data/Providers/JsonFile/Model/JsonUserProfile.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using OwnChar.Model;
|
||||
|
||||
namespace OwnChar.Data.Providers.JsonFile.Model
|
||||
{
|
||||
public class JsonUserProfile : UserProfile
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user