chore: format

This commit is contained in:
Methapon2001 2024-03-18 15:11:27 +07:00
parent 7bc2915788
commit 991e954580
2 changed files with 17 additions and 12 deletions

View file

@ -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 {