Merge dependabot/npm_and_yarn/ui/web/jsdom-23.1.0 into combined-prs-branch
[e-mobility-charging-stations-simulator.git] / src / types / orm / entities / PerformanceRecord.ts
index 41d38b39654c6bcf118591af3fbadcd6c9be42c9..36db5c5bc1b2f19235afac093074c3db4aabe310 100644 (file)
@@ -1,25 +1,21 @@
-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.js'
 
 @Entity()
 export class PerformanceRecord {
   // @PrimaryKey()
-  // pk!: number;
-
+  //   pk!: number
   // @Property()
-  // id: string;
-
+  //   id!: string
   // @Property()
-  // URI: string;
-
+  //   URI!: string
   // @Property()
-  // createdAt: Date;
-
-  // @Property({ nullable: true })
-  // updatedAt?: Date;
-
-  // @Property({ nullable: true })
-  // performanceData?: PerformanceData[];
+  //   createdAt!: Date
+  // @Property()
+  //   updatedAt?: Date
+  // @OneToMany('PerformanceData', 'performanceRecord')
+  //   performanceData? = new Collection<PerformanceData>(this)
 }
-