feat(patient): add new column of phone, telephone and bi number
This commit is contained in:
@ -1,14 +1,4 @@
|
|||||||
import {
|
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, ManyToOne, JoinColumn, OneToMany } from "typeorm";
|
||||||
Entity,
|
|
||||||
PrimaryGeneratedColumn,
|
|
||||||
Column,
|
|
||||||
CreateDateColumn,
|
|
||||||
UpdateDateColumn,
|
|
||||||
DeleteDateColumn,
|
|
||||||
ManyToOne,
|
|
||||||
JoinColumn,
|
|
||||||
OneToMany,
|
|
||||||
} from "typeorm";
|
|
||||||
|
|
||||||
import { Status } from "../../types/status";
|
import { Status } from "../../types/status";
|
||||||
import { Aldeia } from "../aldeia";
|
import { Aldeia } from "../aldeia";
|
||||||
@ -105,6 +95,16 @@ export class EmrPatient {
|
|||||||
@Column({ nullable: true, length: 128 })
|
@Column({ nullable: true, length: 128 })
|
||||||
electoral_id_number: string;
|
electoral_id_number: string;
|
||||||
|
|
||||||
|
// Bilhete de Identidade (BI)
|
||||||
|
@Column({ nullable: true, length: 128 })
|
||||||
|
bi_number: string;
|
||||||
|
|
||||||
|
@Column({ nullable: true, length: 128 })
|
||||||
|
phone: string;
|
||||||
|
|
||||||
|
@Column({ nullable: true, length: 128 })
|
||||||
|
telephone: string;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
created_at: Date;
|
created_at: Date;
|
||||||
|
|||||||
Reference in New Issue
Block a user