add tables

This commit is contained in:
Bright 2024-06-07 10:50:31 +07:00
parent 277bd39510
commit a46c942e1c
4 changed files with 158 additions and 2 deletions

View file

@ -23,7 +23,7 @@ import { ProfileGovernment } from "./ProfileGovernment";
import { ProfileFamilyFather } from "./ProfileFamilyFather";
import { ProfileFamilyMother } from "./ProfileFamilyMother";
import { ProfileFamilyCouple } from "./ProfileFamilyCouple";
import { ProfileEmployeeInformationHistory } from "./ProfileEmployeeInformationHistory"
import { ProfileChildren } from "./ProfileChildren";
import { Profile, ProfileAddressHistory } from "./Profile";
import { Province } from "./Province";
@ -562,6 +562,9 @@ export class ProfileEmployee extends EntityBase {
default: null,
})
employeeMoneyEmployer: string;
@OneToMany(() => ProfileEmployeeInformationHistory, (v) => v.profileEmployeeInformation)
information_histories: ProfileEmployeeInformationHistory[];
@OneToMany(() => EmployeePosMaster, (v) => v.current_holder)
current_holders: EmployeePosMaster[];
@ -779,7 +782,7 @@ export class CreateProfileEmployee {
employeeClass?: string | null;
}
export class CreateInformationProfileEmployeeTemp {
export class CreateInformationProfileEmployee {
positionEmployeeGroupId?: string | null;
positionEmployeeLineId?: string | null;
positionEmployeePositionId?: string | null;