migatation and get tab4
This commit is contained in:
parent
b9cc922edc
commit
3056dfeb2a
3 changed files with 57 additions and 46 deletions
|
|
@ -17,6 +17,7 @@ import { StrategyChild3 } from "./StrategyChild3";
|
|||
import { StrategyChild2 } from "./StrategyChild2";
|
||||
import { StrategyChild1 } from "./StrategyChild1";
|
||||
import { DevelopmentRisk } from "./DevelopmentRisk";
|
||||
import { DevelopmentOther } from "./DevelopmentOther";
|
||||
|
||||
@Entity("development")
|
||||
export class Development extends EntityBase {
|
||||
|
|
@ -194,6 +195,12 @@ export class Development extends EntityBase {
|
|||
)
|
||||
developmentRisks: DevelopmentRisk[];
|
||||
|
||||
@OneToMany(
|
||||
() => DevelopmentOther,
|
||||
(developmentOther: DevelopmentOther) => developmentOther.development,
|
||||
)
|
||||
developmentOthers: DevelopmentOther[];
|
||||
|
||||
@OneToMany(
|
||||
() => DevelopmentProjectType,
|
||||
(developmentProjectType: DevelopmentProjectType) => developmentProjectType.development,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue