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