add dpis controller

This commit is contained in:
Suphonchai Phoonsawat 2024-10-07 14:53:27 +07:00
parent 497decefe4
commit 4852131651
74 changed files with 606 additions and 336 deletions

View file

@ -6,7 +6,6 @@ import { ProfileFamilyMotherHistory } from "./ProfileFamilyMotherHistory";
@Entity("profileFamilyMother")
export class ProfileFamilyMother extends EntityBase {
@Column({
nullable: true,
default: null,
@ -76,7 +75,6 @@ export class ProfileFamilyMother extends EntityBase {
@ManyToOne(() => ProfileEmployee, (v) => v.profileFamilyMother)
@JoinColumn({ name: "profileEmployeeId" })
profileEmployee: ProfileEmployee;
}
export type CreateProfileFamilyMother = {
@ -87,9 +85,9 @@ export type CreateProfileFamilyMother = {
motherCareer: string | null;
motherCitizenId: string | null;
motherLive: boolean | null;
}
};
export type CreateProfileEmployeeFamilyMother= {
export type CreateProfileEmployeeFamilyMother = {
profileEmployeeId: string;
motherPrefix: string | null;
motherFirstName: string | null;
@ -97,9 +95,9 @@ export type CreateProfileEmployeeFamilyMother= {
motherCareer: string | null;
motherCitizenId: string | null;
motherLive: boolean | null;
}
};
export type UpdateProfileFamilyMother= {
export type UpdateProfileFamilyMother = {
motherPrefix: string | null;
motherFirstName: string | null;
motherLastName: string | null;