From a1f3eda63259b0a7b62bba2511c77baf1ef645ea Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:56:02 +0700 Subject: [PATCH] feat: add field to profile gov --- src/entities/ProfileGovernment.ts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/entities/ProfileGovernment.ts b/src/entities/ProfileGovernment.ts index 05a94621..0df081d7 100644 --- a/src/entities/ProfileGovernment.ts +++ b/src/entities/ProfileGovernment.ts @@ -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; };