เพิ่ม id development
This commit is contained in:
parent
70e1ab9efd
commit
9d232d1f26
7 changed files with 62 additions and 241 deletions
|
|
@ -29,26 +29,12 @@ export class DevelopmentProject extends EntityBase {
|
|||
})
|
||||
profileDevelopmentId: string;
|
||||
|
||||
@ManyToOne(
|
||||
() => ProfileDevelopment,
|
||||
(profileDevelopment: ProfileDevelopment) => profileDevelopment.developmentProjects,
|
||||
)
|
||||
@JoinColumn({ name: "profileDevelopmentId" })
|
||||
profileDevelopment: ProfileDevelopment;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "โครงการ/หลักสูตรการฝึกอบรม",
|
||||
default: null,
|
||||
})
|
||||
profileDevelopmentHistoryId: string;
|
||||
|
||||
@ManyToOne(
|
||||
() => ProfileDevelopmentHistory,
|
||||
(profileDevelopmentHistory: ProfileDevelopmentHistory) => profileDevelopmentHistory.developmentHistoryProjects,
|
||||
)
|
||||
@JoinColumn({ name: "profileDevelopmentHistoryId" })
|
||||
profileDevelopmentHistory: ProfileDevelopmentHistory;
|
||||
}
|
||||
export class CreateDevelopmentProject {
|
||||
@Column()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue