feat: add nationality field to profile

This commit is contained in:
Methapon2001 2024-03-26 09:16:09 +07:00
parent e368c4cae8
commit 9ff4f89ad4

View file

@ -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;