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