Formatting
This commit is contained in:
parent
a35e6d0a9f
commit
af75d6cfec
@ -1,5 +1,5 @@
|
|||||||
import { Entity, Column, ManyToOne, OneToMany } from "typeorm";
|
import { Entity, Column, ManyToOne, OneToMany } 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";
|
||||||
import { RunnerTeam } from "./RunnerTeam";
|
import { RunnerTeam } from "./RunnerTeam";
|
||||||
@ -18,9 +18,9 @@ export class RunnerOrganisation extends RunnerGroup {
|
|||||||
@ManyToOne(() => Address, address => address.groups, { nullable: true })
|
@ManyToOne(() => Address, address => address.groups, { nullable: true })
|
||||||
address?: Address;
|
address?: Address;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to link teams to runner groups.
|
* Used to link teams to runner groups.
|
||||||
*/
|
*/
|
||||||
@OneToMany(() => RunnerTeam, team => team.parentGroup, { nullable: true })
|
@OneToMany(() => RunnerTeam, team => team.parentGroup, { nullable: true })
|
||||||
teams: RunnerTeam[];
|
teams: RunnerTeam[];
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user