latest work #20

Merged
philipp merged 233 commits from dev into main 2020-12-09 18:49:33 +00:00
Showing only changes of commit 5bbf522362 - Show all commits

View File

@ -1,4 +1,4 @@
import { Entity, Column, ManyToOne, OneToMany } from "typeorm"; import { Entity, Column, ManyToOne, OneToMany, ChildEntity } from "typeorm";
import { IsOptional, } from "class-validator"; import { IsOptional, } from "class-validator";
import { RunnerGroup } from "./RunnerGroup"; import { RunnerGroup } from "./RunnerGroup";
import { Address } from "./Address"; import { Address } from "./Address";
@ -7,7 +7,7 @@ import { RunnerTeam } from "./RunnerTeam";
/** /**
* Defines a runner organisation (business or school for example). * Defines a runner organisation (business or school for example).
*/ */
@Entity() @ChildEntity()
export class RunnerOrganisation extends RunnerGroup { export class RunnerOrganisation extends RunnerGroup {
/** /**