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({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
comment: "ระดับศึกษา",
|
comment: "ระดับศึกษา",
|
||||||
type: "text", // ใช้ "text" แทน "string" เพื่อรองรับ long text
|
type: "text", // ใช้ "text" แทน "string" เพื่อรองรับ long text
|
||||||
default: null,
|
default: null,
|
||||||
})
|
})
|
||||||
educationLevel: string;
|
educationLevel: string;
|
||||||
|
|
@ -165,13 +165,15 @@ export class ProfileEducation extends EntityBase {
|
||||||
})
|
})
|
||||||
isEducation: boolean;
|
isEducation: boolean;
|
||||||
|
|
||||||
@OneToMany(() => ProfileEducationHistory, (profileEducationHistory) => profileEducationHistory.histories)
|
@OneToMany(
|
||||||
|
() => ProfileEducationHistory,
|
||||||
|
(profileEducationHistory) => profileEducationHistory.histories,
|
||||||
|
)
|
||||||
profileEducationHistories: ProfileEducationHistory[];
|
profileEducationHistories: ProfileEducationHistory[];
|
||||||
|
|
||||||
@ManyToOne(() => Profile, (profile) => profile.profileEducations)
|
@ManyToOne(() => Profile, (profile) => profile.profileEducations)
|
||||||
@JoinColumn({ name: "profileId" })
|
@JoinColumn({ name: "profileId" })
|
||||||
profile: Profile;
|
profile: Profile;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateProfileEducation {
|
export class CreateProfileEducation {
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,10 @@ export class ProfileInsignia extends EntityBase {
|
||||||
})
|
})
|
||||||
note: string;
|
note: string;
|
||||||
|
|
||||||
@OneToMany(() => ProfileInsigniaHistory, (profileInsigniaHistory) => profileInsigniaHistory.histories)
|
@OneToMany(
|
||||||
|
() => ProfileInsigniaHistory,
|
||||||
|
(profileInsigniaHistory) => profileInsigniaHistory.histories,
|
||||||
|
)
|
||||||
profileInsigniaHistories: ProfileInsigniaHistory[];
|
profileInsigniaHistories: ProfileInsigniaHistory[];
|
||||||
|
|
||||||
@ManyToOne(() => Profile, (profile) => profile.profileInsignias)
|
@ManyToOne(() => Profile, (profile) => profile.profileInsignias)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue