แก้ไขข้อมูลตำแหน่ง

This commit is contained in:
mamoss 2025-03-19 17:51:01 +07:00
parent 06fb09afa2
commit fc5f28ee36
7 changed files with 1403 additions and 1 deletions

View file

@ -7,6 +7,7 @@ import { CommandRecive } from "./CommandRecive";
import { ProfileSalary } from "./ProfileSalary";
import { ProfileSalaryHistory } from "./ProfileSalaryHistory";
import { CommandSign } from "./CommandSign";
import { ProfileSalaryTemp } from "./ProfileSalaryTemp";
@Entity("command")
export class Command extends EntityBase {
@ -167,6 +168,9 @@ export class Command extends EntityBase {
@OneToMany(() => ProfileSalary, (profileSalary) => profileSalary.command)
profileSalarys: ProfileSalary[];
@OneToMany(() => ProfileSalaryTemp, (profileSalaryTemp) => profileSalaryTemp.command)
profileSalaryTemps: ProfileSalaryTemp[];
@OneToMany(() => ProfileSalaryHistory, (profileSalaryHistory) => profileSalaryHistory.command)
profileSalaryHistorys: ProfileSalaryHistory[];
}