This commit is contained in:
AdisakKanthawilang 2024-08-07 17:34:44 +07:00
parent 8a36a6c977
commit 6fc0c04a9b
4 changed files with 202 additions and 6 deletions

View file

@ -16,6 +16,7 @@ import { StrategyChild4 } from "./StrategyChild4";
import { StrategyChild3 } from "./StrategyChild3";
import { StrategyChild2 } from "./StrategyChild2";
import { StrategyChild1 } from "./StrategyChild1";
import { DevelopmentRisk } from "./DevelopmentRisk";
@Entity("development")
export class Development extends EntityBase {
@ -187,7 +188,12 @@ export class Development extends EntityBase {
@OneToMany(() => PlannedGoal, (plannedGoal: PlannedGoal) => plannedGoal.developmentPlannedGoal)
developmentPlannedGoals: PlannedGoal[];
////////////////////////////////////////tab ลักษณะโครงการ
@OneToMany(
() => DevelopmentRisk,
(developmentRisk: DevelopmentRisk) => developmentRisk.development,
)
developmentRisks: DevelopmentRisk[];
@OneToMany(
() => DevelopmentProjectType,
(developmentProjectType: DevelopmentProjectType) => developmentProjectType.development,
@ -821,8 +827,6 @@ export class UpdateDevelopment5 {
isOutBudget: boolean;
//end
@Column()
expect: string | null;
@Column()
topicAcademic: string | null;
@Column()
addressAcademic: string | null;
@ -846,7 +850,7 @@ export class UpdateDevelopment7 {
approved: Double | null;
//end
}
export class UpdateDevelopment8 {
export class UpdateDevelopment8_1 {
//move from tab5
@Column()
issues: string | null;
@ -860,3 +864,8 @@ export class UpdateDevelopment8 {
riskManagement: string | null;
//end
}
export class UpdateDevelopment8{
@Column()
expect: string | null;
}