From da6c4076788bbff460e257c73b533073a1e07c35 Mon Sep 17 00:00:00 2001 From: Bright Date: Tue, 10 Dec 2024 09:22:10 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B8=9E?= =?UTF-8?q?=E0=B8=B4=E0=B9=80=E0=B8=A8=E0=B8=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entities/CommandType.ts | 3 +++ src/entities/ProfileSalary.ts | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/entities/CommandType.ts b/src/entities/CommandType.ts index f3fb87fe..2ec53177 100644 --- a/src/entities/CommandType.ts +++ b/src/entities/CommandType.ts @@ -125,6 +125,9 @@ export class CreateCommandType { @Column() isAttachment: boolean; + + @Column() + isSalary?: boolean | null; } export type UpdateCommandType = Partial; diff --git a/src/entities/ProfileSalary.ts b/src/entities/ProfileSalary.ts index 704065f3..ad7217bd 100644 --- a/src/entities/ProfileSalary.ts +++ b/src/entities/ProfileSalary.ts @@ -231,6 +231,7 @@ export class CreateProfileSalaryEmployee { export class UpdateProfileSalaryEmployee { date?: Date | null; amount?: Double | null; + amountSpecial?: Double | null; positionSalaryAmount?: Double | null; mouthSalaryAmount?: Double | null; posNo: string | null; @@ -247,6 +248,7 @@ export class UpdateProfileSalaryEmployee { export type UpdateProfileSalary = { date?: Date | null; amount?: Double | null; + amountSpecial?: Double | null; positionSalaryAmount?: Double | null; mouthSalaryAmount?: Double | null; posNo?: string | null;