Lots of data and model setup
This commit is contained in:
17
SVSim.Database/Models/OwnedItemEntry.cs
Normal file
17
SVSim.Database/Models/OwnedItemEntry.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
[Owned]
|
||||
public class OwnedItemEntry
|
||||
{
|
||||
public int Count { get; set; }
|
||||
|
||||
#region Navigation Properties
|
||||
|
||||
public ItemEntry Item { get; set; } = new ItemEntry();
|
||||
|
||||
public Viewer Viewer { get; set; } = new Viewer();
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user