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,