Apply prettier formating
[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
JB
2
3import { PerformanceData } from './PerformanceData';
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
JB
17 // @OneToMany('PerformanceData', 'performanceRecord')
18 // performanceData?= new Collection<PerformanceData>(this);
a6b3c6c3 19}