migrate (ตัด relation ฟิลด์ posType, posLevel, empPosType, empPosLevel)
This commit is contained in:
parent
60781ea254
commit
dbfc678e92
6 changed files with 255 additions and 178 deletions
|
|
@ -28,14 +28,14 @@ export class PosType extends EntityBase {
|
|||
@OneToMany(() => PosLevel, (posLevel: PosLevel) => posLevel.posType)
|
||||
posLevels: PosLevel[];
|
||||
|
||||
@OneToMany(() => ActualGoal, (actualGoal: ActualGoal) => actualGoal.posTypeActual)
|
||||
actualGoals: ActualGoal[];
|
||||
// @OneToMany(() => ActualGoal, (actualGoal: ActualGoal) => actualGoal.posTypeActual)
|
||||
// actualGoals: ActualGoal[];
|
||||
|
||||
@OneToMany(
|
||||
() => PlannedGoalPosition,
|
||||
(plannedGoalPosition: PlannedGoalPosition) => plannedGoalPosition.posTypePlanned,
|
||||
)
|
||||
plannedGoalPositions: PlannedGoalPosition[];
|
||||
// @OneToMany(
|
||||
// () => PlannedGoalPosition,
|
||||
// (plannedGoalPosition: PlannedGoalPosition) => plannedGoalPosition.posTypePlanned,
|
||||
// )
|
||||
// plannedGoalPositions: PlannedGoalPosition[];
|
||||
|
||||
@OneToMany(() => DevelopmentHistory, (developmentHistory) => developmentHistory.posType)
|
||||
developmentHistorys: DevelopmentHistory[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue