chore: format
This commit is contained in:
parent
7bc2915788
commit
991e954580
2 changed files with 17 additions and 12 deletions
|
|
@ -115,7 +115,7 @@ export class ProfileEducation extends EntityBase {
|
|||
@Column({
|
||||
nullable: true,
|
||||
comment: "ระดับศึกษา",
|
||||
type: "text", // ใช้ "text" แทน "string" เพื่อรองรับ long text
|
||||
type: "text", // ใช้ "text" แทน "string" เพื่อรองรับ long text
|
||||
default: null,
|
||||
})
|
||||
educationLevel: string;
|
||||
|
|
@ -164,14 +164,16 @@ export class ProfileEducation extends EntityBase {
|
|||
default: null,
|
||||
})
|
||||
isEducation: boolean;
|
||||
|
||||
@OneToMany(() => ProfileEducationHistory, (profileEducationHistory) => profileEducationHistory.histories)
|
||||
|
||||
@OneToMany(
|
||||
() => ProfileEducationHistory,
|
||||
(profileEducationHistory) => profileEducationHistory.histories,
|
||||
)
|
||||
profileEducationHistories: ProfileEducationHistory[];
|
||||
|
||||
@ManyToOne(() => Profile, (profile) => profile.profileEducations)
|
||||
@JoinColumn({ name: "profileId" })
|
||||
profile: Profile;
|
||||
|
||||
}
|
||||
|
||||
export class CreateProfileEducation {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue