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 Item {
id: string
id: number
name: string
code: string
itemGroup_code: string
@@ -36,8 +36,9 @@ export interface DeleteDto {
id?: string
}
export function genMedicine(): CreateDto {
export function genItem(): Item {
return {
id: 0,
name: 'test',
code: 'test',
itemGroup_code: 'test',