สลับตำแหน่งเงินเดือน
This commit is contained in:
parent
ab365257de
commit
021ee8cd6e
4 changed files with 74 additions and 1 deletions
|
|
@ -124,6 +124,13 @@ export class ProfileSalary extends EntityBase {
|
|||
})
|
||||
templateDoc: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ลำดับตำแหน่ง",
|
||||
default: null,
|
||||
})
|
||||
order: number;
|
||||
|
||||
@OneToMany(() => ProfileSalaryHistory, (profileSalaryHistory) => profileSalaryHistory.histories)
|
||||
profileSalaryHistories: ProfileSalaryHistory[];
|
||||
|
||||
|
|
|
|||
|
|
@ -130,6 +130,13 @@ export class ProfileSalaryHistory extends EntityBase {
|
|||
})
|
||||
profileSalaryId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ลำดับตำแหน่ง",
|
||||
default: null,
|
||||
})
|
||||
order: number;
|
||||
|
||||
@ManyToOne(() => ProfileSalary, (profileSalary) => profileSalary.profileSalaryHistories)
|
||||
@JoinColumn({ name: "profileSalaryId" })
|
||||
histories: ProfileSalary;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue