Refine TS and linter configuration
[e-mobility-charging-stations-simulator.git] / src / types / orm / entities / PerformanceRecord.ts
CommitLineData
ae8ee665 1import { Collection, Entity, OneToMany, PrimaryKey, Property } from '@mikro-orm/core';
a6b3c6c3 2
6c1761d4 3import type { PerformanceData } from './PerformanceData';
a6b3c6c3
JB
4
5@Entity()
6export class PerformanceRecord {
7 // @PrimaryKey()
8 // pk!: number;
a6b3c6c3 9 // @Property()
ae8ee665 10 // id!: string;
a6b3c6c3 11 // @Property()
ae8ee665 12 // URI!: string;
a6b3c6c3 13 // @Property()
ae8ee665 14 // createdAt!: Date;
ae8ee665 15 // @Property()
a6b3c6c3 16 // updatedAt?: Date;
ae8ee665 17 // @OneToMany('PerformanceData', 'performanceRecord')
7f61131f 18 // performanceData? = new Collection<PerformanceData>(this);
a6b3c6c3 19}