wip
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
/**
|
||||
* Domain Entity: LiveryTemplate
|
||||
*/
|
||||
|
||||
|
||||
import { RacingDomainValidationError, RacingDomainInvariantError } from '../errors/RacingDomainError';
|
||||
import type { IEntity } from '@gridpilot/shared/domain';
|
||||
*
|
||||
* Represents an admin-defined livery template for a specific car.
|
||||
* Contains base image and sponsor decal placements.
|
||||
@@ -21,7 +22,7 @@ export interface LiveryTemplateProps {
|
||||
updatedAt?: Date;
|
||||
}
|
||||
|
||||
export class LiveryTemplate {
|
||||
export class LiveryTemplate implements IEntity<string> {
|
||||
readonly id: string;
|
||||
readonly leagueId: string;
|
||||
readonly seasonId: string;
|
||||
|
||||
Reference in New Issue
Block a user