19 lines
774 B
Go
19 lines
774 B
Go
package doctorfee
|
|
|
|
import (
|
|
ecore "simrs-vx/internal/domain/base-entities/core"
|
|
ed "simrs-vx/internal/domain/main-entities/doctor"
|
|
ei "simrs-vx/internal/domain/main-entities/item"
|
|
erc "simrs-vx/internal/domain/references/clinical"
|
|
)
|
|
|
|
type DoctorFee struct {
|
|
ecore.Main // adjust this according to the needs
|
|
Doctor_Id *uint `json:"doctor_id"`
|
|
Doctor *ed.Doctor `json:"doctor,omitempty" gorm:"foreignKey:Doctor_Id;references:Id"`
|
|
FeeTypeCode *erc.DoctorFeeTypeCode `json:"feeType_code" gorm:"size:11"`
|
|
Price *float64 `json:"price"`
|
|
Item_Id *uint `json:"item_id"`
|
|
Item *ei.Item `json:"item,omitempty" gorm:"foreignKey:Item_Id;references:Id"`
|
|
}
|