fix: fix get composite schedule rejection condition
[e-mobility-charging-stations-simulator.git] / src / types / orm / entities / PerformanceRecord.ts
CommitLineData
e1d9a0f4 1// eslint-disable-next-line @typescript-eslint/no-unused-vars
66a7748d 2import { Collection, Entity, OneToMany, PrimaryKey, Property } from '@mikro-orm/core'
a6b3c6c3 3
e1d9a0f4 4// eslint-disable-next-line @typescript-eslint/no-unused-vars
66a7748d 5import type { PerformanceData } from './PerformanceData.js'
a6b3c6c3
JB
6
7@Entity()
8export class PerformanceRecord {
9 // @PrimaryKey()
a4385edc 10 // pk!: number
a6b3c6c3 11 // @Property()
a4385edc 12 // id!: string
a6b3c6c3 13 // @Property()
a4385edc 14 // URI!: string
a6b3c6c3 15 // @Property()
a4385edc 16 // createdAt!: Date
ae8ee665 17 // @Property()
a4385edc 18 // updatedAt?: Date
ae8ee665 19 // @OneToMany('PerformanceData', 'performanceRecord')
a4385edc 20 // performanceData? = new Collection<PerformanceData>(this)
a6b3c6c3 21}