MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / EndUser

Class EndUser

tests/features/load-count-where.test.ts:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12@Entity()
13export class EndUser {
14 @PrimaryKey()
15 id!: number;
16
17 @Property()
18 name!: string;
19
20 @OneToMany(() => Booking, booking => booking.endUser)
21 bookings = new Collection<Booking>(this);
22}
23
24@Entity()
25export class Event {

Callers

nothing calls this directly

Calls 3

PrimaryKeyFunction · 0.90
PropertyFunction · 0.90
OneToManyFunction · 0.90

Tested by

no test coverage detected