wip
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
*
|
||||
* Represents a prize awarded to a driver for a specific position in a season.
|
||||
*/
|
||||
|
||||
|
||||
import { RacingDomainValidationError, RacingDomainInvariantError } from '../errors/RacingDomainError';
|
||||
import type { IEntity } from '@gridpilot/shared/domain';
|
||||
|
||||
import type { Money } from '../value-objects/Money';
|
||||
|
||||
@@ -23,7 +24,7 @@ export interface PrizeProps {
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export class Prize {
|
||||
export class Prize implements IEntity<string> {
|
||||
readonly id: string;
|
||||
readonly seasonId: string;
|
||||
readonly position: number;
|
||||
|
||||
Reference in New Issue
Block a user