sort education profile

This commit is contained in:
kittapath 2025-01-06 17:19:14 +07:00
parent f1fb0665c7
commit c7d7732fb6
6 changed files with 214 additions and 5 deletions

View file

@ -169,6 +169,14 @@ export class ProfileEducation extends EntityBase {
})
profileEmployeeId: string;
@Column({
nullable: true,
comment:
"ลำดับชั้นของเครื่องราช เอาไว้ตรวจสอบเวลาขอว่าต้องได้ชั้นที่สูงกว่าที่เคยได้รับแล้วเท่านั้น",
default: null,
})
level: number;
@OneToMany(
() => ProfileEducationHistory,
(profileEducationHistory) => profileEducationHistory.histories,