package antibioticinuse

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	eas "simrs-vx/internal/domain/main-entities/antibiotic-src"
	emo "simrs-vx/internal/domain/main-entities/mcu-order"
)

type AntibioticInUse struct {
	ecore.Main                          // adjust this according to the needs
	McuOrder_Id      *uint              `json:"mcuOrder_id" gorm:"uniqueIndex:idx_order_src"`
	McuOrder         *emo.McuOrder      `json:"mcuOrder,omitempty" gorm:"foreignKey:McuOrder_Id;references:Id"`
	AntibioticSrc_Id *uint              `json:"antibioticSrcSrc_id" gorm:"uniqueIndex:idx_order_src"`
	AntibioticSrc    *eas.AntibioticSrc `json:"antibioticSrc,omitempty" gorm:"foreignKey:AntibioticSrc_Id;references:Id"`
}
