2025-05-25 18:36:59 +02:00

12 lines
358 B
C#

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!;
}