Files
gridpilot.gg/packages/racing/domain/value-objects/LeagueTimezone.ts
2025-12-05 12:24:38 +01:00

14 lines
276 B
TypeScript

export class LeagueTimezone {
private readonly id: string;
constructor(id: string) {
if (!id || id.trim().length === 0) {
throw new Error('LeagueTimezone id must be a non-empty string');
}
this.id = id;
}
getId(): string {
return this.id;
}
}