| 89 | }) |
| 90 | @Entity() |
| 91 | export class T { |
| 92 | @PrimaryKey({ type: 'uuid' }) |
| 93 | id: string = v4(); |
| 94 | |
| 95 | @Property() |
| 96 | end!: Date; |
| 97 | |
| 98 | @Enum(() => Status) |
| 99 | status!: Status; |
| 100 | |
| 101 | @ManyToOne(() => C) |
| 102 | init!: C; |
| 103 | |
| 104 | @OneToMany(() => TC, b => b.t) |
| 105 | tc = new Collection<TC>(this); |
| 106 | } |
| 107 | |
| 108 | @Entity() |
| 109 | export class TC { |
nothing calls this directly
no test coverage detected