package procedureroom

import (
	ei "simrs-vx/internal/domain/main-entities/infra"
	ebase "simrs-vx/internal/domain/main-entities/procedure-room/base"
	es "simrs-vx/internal/domain/main-entities/specialist"
	ess "simrs-vx/internal/domain/main-entities/subspecialist"
	eu "simrs-vx/internal/domain/main-entities/unit"
)

type ProcedureRoom struct {
	ebase.ProcedureRoom
	Infra         *ei.Infra          `json:"infra,omitempty" gorm:"foreignKey:Infra_Code;references:Code"`
	Unit          *eu.Unit           `json:"unit,omitempty" gorm:"foreignKey:Unit_Code;references:Code"`
	Specialist    *es.Specialist     `json:"specialist,omitempty" gorm:"foreignKey:Specialist_Code;references:Code"`
	Subspecialist *ess.Subspecialist `json:"subspecialist,omitempty" gorm:"foreignKey:Subspecialist_Code;references:Code"`
}
