website refactor
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
import { RacingDomainValidationError, RacingDomainInvariantError } from '../../errors/RacingDomainError';
|
||||
import type { IEntity } from '@core/shared/domain';
|
||||
import type { Entity } from '@core/shared/domain';
|
||||
|
||||
import type { Money } from '../../value-objects/Money';
|
||||
import { Position } from '../championship/Position';
|
||||
@@ -27,7 +27,7 @@ export interface PrizeProps {
|
||||
description: string | undefined;
|
||||
}
|
||||
|
||||
export class Prize implements IEntity<PrizeId> {
|
||||
export class Prize implements Entity<PrizeId> {
|
||||
readonly id: PrizeId;
|
||||
readonly seasonId: SeasonId;
|
||||
readonly position: Position;
|
||||
|
||||
Reference in New Issue
Block a user