Rework
This commit is contained in:
12
SQLiteEF/Game.cs
Normal file
12
SQLiteEF/Game.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace SQLiteEF;
|
||||
|
||||
[PrimaryKey("AppId")]
|
||||
public class Game(ulong appId, string name)
|
||||
{
|
||||
public ulong AppId { get; init; } = appId;
|
||||
public string Name { get; init; } = name;
|
||||
public ICollection<Player> PlayedBy { get; init; } = null!;
|
||||
public ICollection<TrackedTime> TrackedTimes { get; init; } = null!;
|
||||
}
|
Reference in New Issue
Block a user