From 5f947d492485e1dafa2e589e3420a03dc49eaf5b Mon Sep 17 00:00:00 2001 From: kittapath Date: Tue, 12 Nov 2024 13:38:07 +0700 Subject: [PATCH] no message --- src/entities/ProfileLeave.ts | 6 +++--- src/entities/ProfileSalary.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/entities/ProfileLeave.ts b/src/entities/ProfileLeave.ts index 666156d0..b3884f2f 100644 --- a/src/entities/ProfileLeave.ts +++ b/src/entities/ProfileLeave.ts @@ -120,9 +120,9 @@ export class CreateProfileLeave { dateLeaveStart: Date | null; dateLeaveEnd: Date | null; leaveDays: number | null; - leaveCount: number | null; - totalLeave: number | null; - status: string | null; + leaveCount?: number | null; + totalLeave?: number | null; + status?: string | null; reason: string | null; } diff --git a/src/entities/ProfileSalary.ts b/src/entities/ProfileSalary.ts index 8931826a..c3e6adc7 100644 --- a/src/entities/ProfileSalary.ts +++ b/src/entities/ProfileSalary.ts @@ -194,7 +194,7 @@ export class CreateProfileSalary { positionType: string | null; positionLevel: string | null; refCommandNo: string | null; - commandId: string | null; + commandId?: string | null; // commandType?: string | null; templateDoc: string | null; isGovernment?: boolean | null; @@ -204,7 +204,7 @@ export class CreateProfileSalaryEmployee { profileEmployeeId: string | null; date?: Date | null; amount?: Double | null; - commandId: string | null; + commandId?: string | null; positionSalaryAmount?: Double | null; mouthSalaryAmount?: Double | null; posNo: string | null;