From 8bbc6e95556c1db708537e6da80d4a80b90ac130 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 7 Feb 2024 16:36:55 +0700 Subject: [PATCH] =?UTF-8?q?or=20null=20entity=20=E0=B8=97=E0=B8=B1?= =?UTF-8?q?=E0=B9=89=E0=B8=87=E0=B8=AB=E0=B8=A1=E0=B8=94=20=E0=B8=A1?= =?UTF-8?q?=E0=B8=B5=204=20controller=20=E0=B8=84=E0=B8=B7=E0=B8=AD=20(Pos?= =?UTF-8?q?Master,Position,PosDict=20=E0=B9=81=E0=B8=A5=E0=B8=B0=20Profile?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entities/Position.ts | 2 +- src/entities/Profile.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entities/Position.ts b/src/entities/Position.ts index 85c336c3..90630067 100644 --- a/src/entities/Position.ts +++ b/src/entities/Position.ts @@ -41,7 +41,7 @@ export class Position extends EntityBase { comment: "ตำแหน่งทางการบริหาร", default: null, }) - posExecutiveId: string; + posExecutiveId: string | null; @Column({ nullable: true, diff --git a/src/entities/Profile.ts b/src/entities/Profile.ts index 9741cb11..10794bb1 100644 --- a/src/entities/Profile.ts +++ b/src/entities/Profile.ts @@ -51,14 +51,14 @@ export class Profile extends EntityBase { length: 40, comment: "ไอดีระดับตำแหน่ง", }) - posLevelId: string; + posLevelId: string | null; @Column({ nullable: true, length: 40, comment: "ไอดีประเภทตำแหน่", }) - posTypeId: string; + posTypeId: string | null; // @Column({ // nullable: true,