17 lines
538 B
Go
17 lines
538 B
Go
package responsible_doctor_hist
|
|
|
|
import (
|
|
ecore "simrs-vx/internal/domain/base-entities/core"
|
|
ed "simrs-vx/internal/domain/main-entities/doctor"
|
|
"time"
|
|
)
|
|
|
|
type ResponsibleDoctorHist struct {
|
|
ecore.Main // adjust this according to the needs
|
|
Encounter_Id *uint `json:"encounter_id"`
|
|
Doctor_Code *string `json:"doctor_code"`
|
|
Doctor *ed.Doctor `json:"doctor,omitempty" gorm:"foreignKey:Doctor_Code;references:Code"`
|
|
StartedAt *time.Time `json:"startedAt"`
|
|
FinishedAt *time.Time `json:"finishedAt"`
|
|
}
|