migrate + fix issue #1636

This commit is contained in:
Bright 2025-07-17 13:08:34 +07:00
parent c729526f0f
commit 6472798b69
4 changed files with 1332 additions and 10 deletions

View file

@ -292,6 +292,14 @@ export class ProfileSalaryTemp extends EntityBase {
})
posNumCodeSitAbb: string;
@Column({
nullable: true,
length: 255,
comment: "ด้านทางการบริหาร",
default: null,
})
positionExecutiveField: string;
@ManyToOne(() => ProfileSalary, (profileSalary) => profileSalary.profileSalaryTemps)
@JoinColumn({ name: "salaryId" })
profileSalary: ProfileSalary;
@ -342,6 +350,7 @@ export class CreateProfileSalaryTemp {
commandName?: string | null;
posNumCodeSit?: string | null;
posNumCodeSitAbb?: string | null;
positionExecutiveField?: string | null;
}
export type UpdateProfileSalaryTemp = {
@ -375,4 +384,5 @@ export type UpdateProfileSalaryTemp = {
commandName?: string | null;
posNumCodeSit?: string | null;
posNumCodeSitAbb?: string | null;
positionExecutiveField?: string | null;
};