website refactor

This commit is contained in:
2026-01-16 16:46:57 +01:00
parent 37b1aa626c
commit 2f53727702
445 changed files with 1160 additions and 1150 deletions

View File

@@ -1,13 +1,13 @@
import type { Entity } from '@core/shared/domain/Entity';
import { Entity } from '@core/shared/domain/Entity';
import { GameId } from './GameId';
import { GameName } from './GameName';
export class Game implements Entity<GameId> {
readonly id: GameId;
export class Game extends Entity<GameId> {
readonly name: GameName;
private constructor(props: { id: GameId; name: GameName }) {
this.id = props.id;
super(props.id);
this.name = props.name;
}