dev: hotfix, consultation

This commit is contained in:
2025-12-02 14:50:10 +07:00
parent e6ac4bbadd
commit 9a8ee9d90f
5 changed files with 24 additions and 27 deletions

No files matched your search

+7 -7
View File
@@ -2,8 +2,8 @@ export interface Consultation {
id: number
encounter_id: number
date?: string
unit_id: number
doctor_id?: number
unit_code: number
doctor_code?: number
problem: string
solution?: string
repliedAt?: string
@@ -13,13 +13,13 @@ export interface CreateDto {
encounter_id: number
date: string
problem: string
dstUnit_id: number
dstUnit_code: string
}
export interface UpdateDto {
id: number
problem: string
unit_id: number
unit_code: number
}
export interface DeleteDto {
@@ -31,7 +31,7 @@ export function genCreateDto(): CreateDto {
date: '',
encounter_id: 0,
problem: '',
dstUnit_id: 0,
dstUnit_code: '',
}
}
@@ -39,8 +39,8 @@ export function genConsultation(): Consultation {
return {
id: 0,
encounter_id: 0,
unit_id: 0,
doctor_id: 0,
unit_code: 0,
doctor_code: 0,
problem: '',
solution: '',
repliedAt: '',