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

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

@ -47,6 +47,7 @@ import { CommandSign } from "./CommandSign";
import { RoleKeycloak } from "./RoleKeycloak";
import { ProfileActposition } from "./ProfileActposition";
import { ProfileAssistance } from "./ProfileAssistance";
import { ProfileSalaryTemp } from "./ProfileSalaryTemp";
@Entity("profile")
export class Profile extends EntityBase {
@ -411,6 +412,13 @@ export class Profile extends EntityBase {
})
leaveType: string;
@Column({
comment: "สถานะการตรวจสอบ",
length: 40,
default: "PENDING",
})
statusCheckEdit: string;
@OneToMany(() => PosMaster, (posMaster) => posMaster.current_holder)
current_holders: PosMaster[];
@ -420,6 +428,9 @@ export class Profile extends EntityBase {
@OneToMany(() => ProfileSalary, (profileSalary) => profileSalary.profile)
profileSalary: ProfileSalary[];
@OneToMany(() => ProfileSalaryTemp, (profileSalaryTemp) => profileSalaryTemp.profile)
profileSalaryTemp: ProfileSalaryTemp[];
@OneToMany(() => ProfileDiscipline, (profileDiscipline) => profileDiscipline.profile)
profileDisciplines: ProfileDiscipline[];