feat/procedure-room-order: wip #2

+ procedure-room
This commit is contained in:
Andrian Roshandy
2025-12-03 09:43:36 +07:00
parent 4444e87cb3
commit ce93f996d9
6 changed files with 116 additions and 11 deletions
+24
View File
@@ -0,0 +1,24 @@
import { type Base, genBase } from "./_base";
import type { Infra } from "./infra";
export interface ProcedureRoom extends Base {
code: string
infra_code: string
infra?: Infra
type_code: string
unit_code: string
specialist_code?: string | null
subspecialist_code?: string | null
}
export function genProcedureRoom(): ProcedureRoom {
return {
...genBase(),
code: '',
infra_code: '',
type_code: '',
unit_code: '',
specialist_code: null,
subspecialist_code: null,
}
}