feat(surgery-type): add new entity master data of surgery type

This commit is contained in:
avicenan
2026-05-04 13:55:40 +07:00
parent f16e4928f0
commit 10c452522c
2 changed files with 15 additions and 0 deletions

View 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;
}

View File

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