-import { Entity, PrimaryKey, Property } from '@mikro-orm/core';
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
+import { Collection, Entity, OneToMany, PrimaryKey, Property } from '@mikro-orm/core';
-import { PerformanceData } from './PerformanceData';
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
+import type { PerformanceData } from './PerformanceData';
@Entity()
export class PerformanceRecord {
// @PrimaryKey()
// pk!: number;
-
// @Property()
- // id: string;
-
+ // id!: string;
// @Property()
- // URI: string;
-
+ // URI!: string;
+ // @Property()
+ // createdAt!: Date;
// @Property()
- // createdAt: Date;
-
- // @Property({ nullable: true })
// updatedAt?: Date;
-
- // @Property({ nullable: true })
- // performanceData?: PerformanceData[];
+ // @OneToMany('PerformanceData', 'performanceRecord')
+ // performanceData? = new Collection<PerformanceData>(this);
}
-