diff --git a/src/entities/ProfileFamily.ts b/src/entities/ProfileFamily.ts index f7661835..0a25b040 100644 --- a/src/entities/ProfileFamily.ts +++ b/src/entities/ProfileFamily.ts @@ -195,9 +195,10 @@ export class ProfileChildren extends EntityBase { @Column({ nullable: true, default: null, + type: "boolean", comment: "มีชีวิตบุตร", }) - childrenLive: string; + childrenLive: boolean; @Column({ nullable: true, @@ -254,7 +255,7 @@ export type CreateChildren = { childrenFirstName: string; childrenLastName: string; childrenPrefix: string; - childrenLive: string; + childrenLive: boolean; childrenCitizenId: string; }; @@ -264,7 +265,7 @@ export type UpdateChildren = { childrenFirstName?: string | null; childrenLastName?: string | null; childrenPrefix?: string | null; - childrenLive?: string | null; + childrenLive?: boolean | null; childrenCitizenId?: string | null; };