add doctor_code into device-order,material-order,mcu-order

This commit is contained in:
dpurbosakti
2025-11-10 15:58:45 +07:00
parent 9d8f09c0de
commit 46a67ea359
6 changed files with 40 additions and 27 deletions

No files matched your search

@@ -16,6 +16,7 @@ type McuOrder struct {
Encounter *ee.Encounter `json:"encounter,omitempty" gorm:"foreignKey:Encounter_Id;references:Id"`
Status_Code erc.DataStatusCode `json:"status_code" gorm:"not null;size:10"`
Doctor_Id *uint `json:"doctor_id"`
Doctor_Code *string `json:"doctor_code"`
Doctor *ed.Doctor `json:"doctor,omitempty" gorm:"foreignKey:Doctor_Id;references:Id"`
SpecimenPickTime *time.Time `json:"specimenPickTime"`
ExaminationDate *time.Time `json:"examinationDate"`