feat/prescription-56: merapikan models

This commit is contained in:
Andrian Roshandy
2025-09-28 07:10:32 +07:00
parent e7851f4dc2
commit 4fbd8ee757
9 changed files with 186 additions and 22 deletions

No files matched your search

+3 -2
View File
@@ -1,5 +1,5 @@
export interface MedicineMethod {
id: string
id: number
name: string
code: string
}
@@ -28,8 +28,9 @@ export interface DeleteDto {
id?: string
}
export function genMedicine(): CreateDto {
export function genMedicineMethod(): MedicineMethod {
return {
id: 0,
name: 'name',
code: 'code',
}