From 9ff4f89ad4106b638b7beff82fab0cae532633d3 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Tue, 26 Mar 2024 09:16:09 +0700 Subject: [PATCH] feat: add nationality field to profile --- src/entities/Profile.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/entities/Profile.ts b/src/entities/Profile.ts index f8218989..71f8266d 100644 --- a/src/entities/Profile.ts +++ b/src/entities/Profile.ts @@ -158,6 +158,14 @@ export class Profile extends EntityBase { }) telephoneNumber: string; + @Column({ + nullable: true, + comment: "สัญชาติ", + length: 255, + default: null, + }) + nationality: string; + @Column({ nullable: true, comment: "เพศ", @@ -291,6 +299,7 @@ export class CreateProfile { birthDate: Date | null; ethnicity: string | null; telephoneNumber: string | null; + nationality: string | null; citizenId: string; religionId: string | null; posLevelId: string | null; @@ -313,6 +322,7 @@ export type UpdateProfile = { birthDate?: Date | null; ethnicity?: string | null; telephoneNumber?: string | null; + nationality?: string | null; citizenId?: string | null; religionId: string | null; posLevelId?: string | null;