Lots of data and model setup
This commit is contained in:
15
SVSim.Database/Models/OwnedCardEntry.cs
Normal file
15
SVSim.Database/Models/OwnedCardEntry.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using DCGEngine.Database.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Represents viewer ownership of a <see cref="ShadowverseCardEntry"/>.
|
||||
/// </summary>
|
||||
[Owned]
|
||||
public class OwnedCardEntry
|
||||
{
|
||||
public CardEntry Card { get; set; } = new ShadowverseCardEntry();
|
||||
public int Count { get; set; }
|
||||
public bool IsProtected { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user