feat(surgery-type): add new entity master data of surgery type
This commit is contained in:
14
src/entity/surgery_type.ts
Normal file
14
src/entity/surgery_type.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";
|
||||
|
||||
@Entity("surgery_types")
|
||||
export class SurgeryType {
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
type: "text",
|
||||
unique: true,
|
||||
})
|
||||
name: string;
|
||||
}
|
||||
@ -13,6 +13,7 @@ export * from "../entity/currencies";
|
||||
export * from "../entity/inpatient_rooms";
|
||||
export * from "../entity/inpatient_room_beds";
|
||||
export * from "../entity/surgery_room";
|
||||
export * from "../entity/surgery_type";
|
||||
export * from "../entity/nationality";
|
||||
export * from "../entity/diagnosis";
|
||||
export * from "../entity/diagnostic_procedure";
|
||||
|
||||
Reference in New Issue
Block a user