Dev cleaning (#106)

This commit is contained in:
Munawwirul Jamal
2025-10-08 00:03:36 +07:00
committed by GitHub
parent 7fdd5c61f0
commit 3eb9dde21d
892 changed files with 51326 additions and 1 deletions
+42
View File
@@ -0,0 +1,42 @@
import { type Base, genBase } from "./_base"
export interface Installation extends Base {
code: string
name: string
encounterClass_code?: string | null
}
export interface CreateDto {
name: string
code: string
encounterClass_code?: string | null
}
export interface GetListDto {
page: number
size: number
name?: string
code?: string
encounterClass_code?: string
}
export interface GetDetailDto {
id?: string
}
export interface UpdateDto extends CreateDto {
id?: number
}
export interface DeleteDto {
id?: string
}
export function genInstallation(): Installation {
return {
...genBase(),
name: 'name',
code: 'code',
encounterClass_code: null,
}
}