| 11 | |
| 12 | @Entity() |
| 13 | export 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() |
| 25 | export class Event { |
nothing calls this directly
no test coverage detected