เงินเดือนลูกจ้าง

This commit is contained in:
Kittapath 2024-03-16 12:05:45 +07:00
parent 4f178cffa0
commit 29f95d3ae2
8 changed files with 1317 additions and 28 deletions

View file

@ -19,6 +19,8 @@ import { ProfileOther } from "./ProfileOther";
import { EmployeePosLevel } from "./EmployeePosLevel";
import { EmployeePosType } from "./EmployeePosType";
import { EmployeePosMaster } from "./EmployeePosMaster";
import { ProfileSalaryEmployee } from "./ProfileSalaryEmployee";
import { ProfileDisciplineEmployee } from "./ProfileDisciplineEmployee";
@Entity("profileEmployee")
export class ProfileEmployee extends EntityBase {
@ -145,11 +147,11 @@ export class ProfileEmployee extends EntityBase {
@OneToMany(() => EmployeePosMaster, (posMaster) => posMaster.next_holder)
next_holders: EmployeePosMaster[];
// @OneToMany(() => ProfileSalary, (profileSalary) => profileSalary.profile)
// profileSalary: ProfileSalary[];
@OneToMany(() => ProfileSalaryEmployee, (profileSalary) => profileSalary.profile)
profileSalary: ProfileSalaryEmployee[];
// @OneToMany(() => ProfileDiscipline, (profileDiscipline) => profileDiscipline.profile)
// profileDiscipline: ProfileDiscipline[];
@OneToMany(() => ProfileDisciplineEmployee, (profileDiscipline) => profileDiscipline.profile)
profileDiscipline: ProfileDisciplineEmployee[];
// @OneToMany(() => ProfileCertificate, (profileCertificate) => profileCertificate.profile)
// profileCertificates: ProfileCertificate[];