feat: add field to profile gov

This commit is contained in:
Methapon2001 2024-03-22 17:56:02 +07:00
parent 808971b5b2
commit a1f3eda632

View file

@ -164,11 +164,23 @@ export class ProfileGovernment extends EntityBase {
comment: "ด้านของตำแหน่ง",
})
positionEmployeePositionSide: string;
@Column({
nullable: true,
default: null,
})
positionPathSide: string;
@Column({
nullable: true,
default: null,
})
positionExecutiveSide: string;
}
export type CreateProfileGovernment = {
profileId: string;
positionId: string | null;
profileId: string | null;
posNoId: string | null;
ocId: string | null;
dateAppoint: Date | null;
@ -189,6 +201,8 @@ export type CreateProfileGovernment = {
positionEmployeeLevel: string | null;
positionEmployeePosition: string | null;
positionEmployeePositionSide: string | null;
positionPathSide: string | null;
positionExecutiveSide: string | null;
};
export type UpdateProfileGovernment = {
@ -213,4 +227,6 @@ export type UpdateProfileGovernment = {
positionEmployeeLevel?: string | null;
positionEmployeePosition?: string | null;
positionEmployeePositionSide?: string | null;
positionPathSide?: string | null;
positionExecutiveSide?: string | null;
};