Upgrade to .NET 10 and finalize foundation scaffold

This commit is contained in:
2026-01-28 14:29:42 +01:00
parent 71f61bb122
commit 257b473253
16 changed files with 328 additions and 6 deletions

16
Domain/Player.cs Normal file
View File

@@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
namespace GameList.Domain;
public class Player
{
public Guid Id { get; set; } = Guid.NewGuid();
[MaxLength(64)]
public string? DisplayName { get; set; }
public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow;
public ICollection<Suggestion> Suggestions { get; set; } = new List<Suggestion>();
public ICollection<Vote> Votes { get; set; } = new List<Vote>();
}