repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: revert internal exports
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
orm
/
entities
/
PerformanceRecord.ts
diff --git
a/src/types/orm/entities/PerformanceRecord.ts
b/src/types/orm/entities/PerformanceRecord.ts
index c0d2ab800d3ab63b5d09fc851f397a506cd0b714..06114da6be0a602422504d2e238a6b3792cae81a 100644
(file)
--- a/
src/types/orm/entities/PerformanceRecord.ts
+++ b/
src/types/orm/entities/PerformanceRecord.ts
@@
-1,25
+1,19
@@
import { Collection, Entity, OneToMany, PrimaryKey, Property } from '@mikro-orm/core';
import { Collection, Entity, OneToMany, PrimaryKey, Property } from '@mikro-orm/core';
-import { PerformanceData } from './PerformanceData';
+import
type
{ PerformanceData } from './PerformanceData';
@Entity()
export class PerformanceRecord {
// @PrimaryKey()
// pk!: number;
@Entity()
export class PerformanceRecord {
// @PrimaryKey()
// pk!: number;
-
// @Property()
// id!: string;
// @Property()
// id!: string;
-
// @Property()
// URI!: string;
// @Property()
// URI!: string;
-
// @Property()
// createdAt!: Date;
// @Property()
// createdAt!: Date;
-
// @Property()
// updatedAt?: Date;
// @Property()
// updatedAt?: Date;
-
// @OneToMany('PerformanceData', 'performanceRecord')
// @OneToMany('PerformanceData', 'performanceRecord')
- // performanceData?= new Collection<PerformanceData>(this);
+ // performanceData?
= new Collection<PerformanceData>(this);
}
}
-