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