| 1 | // eslint-disable-next-line @typescript-eslint/no-unused-vars |
| 2 | import { Collection, Entity, OneToMany, PrimaryKey, Property } from '@mikro-orm/core'; |
| 3 | |
| 4 | // eslint-disable-next-line @typescript-eslint/no-unused-vars |
| 5 | import type { PerformanceData } from './PerformanceData'; |
| 6 | |
| 7 | @Entity() |
| 8 | export class PerformanceRecord { |
| 9 | // @PrimaryKey() |
| 10 | // pk!: number; |
| 11 | // @Property() |
| 12 | // id!: string; |
| 13 | // @Property() |
| 14 | // URI!: string; |
| 15 | // @Property() |
| 16 | // createdAt!: Date; |
| 17 | // @Property() |
| 18 | // updatedAt?: Date; |
| 19 | // @OneToMany('PerformanceData', 'performanceRecord') |
| 20 | // performanceData? = new Collection<PerformanceData>(this); |
| 21 | } |