feat: add nationality field to profile
This commit is contained in:
parent
e368c4cae8
commit
9ff4f89ad4
1 changed files with 10 additions and 0 deletions
|
|
@ -158,6 +158,14 @@ export class Profile extends EntityBase {
|
||||||
})
|
})
|
||||||
telephoneNumber: string;
|
telephoneNumber: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
comment: "สัญชาติ",
|
||||||
|
length: 255,
|
||||||
|
default: null,
|
||||||
|
})
|
||||||
|
nationality: string;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: true,
|
nullable: true,
|
||||||
comment: "เพศ",
|
comment: "เพศ",
|
||||||
|
|
@ -291,6 +299,7 @@ export class CreateProfile {
|
||||||
birthDate: Date | null;
|
birthDate: Date | null;
|
||||||
ethnicity: string | null;
|
ethnicity: string | null;
|
||||||
telephoneNumber: string | null;
|
telephoneNumber: string | null;
|
||||||
|
nationality: string | null;
|
||||||
citizenId: string;
|
citizenId: string;
|
||||||
religionId: string | null;
|
religionId: string | null;
|
||||||
posLevelId: string | null;
|
posLevelId: string | null;
|
||||||
|
|
@ -313,6 +322,7 @@ export type UpdateProfile = {
|
||||||
birthDate?: Date | null;
|
birthDate?: Date | null;
|
||||||
ethnicity?: string | null;
|
ethnicity?: string | null;
|
||||||
telephoneNumber?: string | null;
|
telephoneNumber?: string | null;
|
||||||
|
nationality?: string | null;
|
||||||
citizenId?: string | null;
|
citizenId?: string | null;
|
||||||
religionId: string | null;
|
religionId: string | null;
|
||||||
posLevelId?: string | null;
|
posLevelId?: string | null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue