package subspecialist

import (
	es "simrs-vx/internal/domain/main-entities/specialist"
	espb "simrs-vx/internal/domain/main-entities/subspecialist-position/base"
	esb "simrs-vx/internal/domain/main-entities/subspecialist/base"
)

type Subspecialist struct {
	esb.Basic
	Specialist             *es.Specialist `json:"specialist,omitempty" gorm:"foreignKey:Specialist_Code;references:Code"`
	SubspecialistPositions []espb.Basic   `json:"subspecialistPositions,omitempty" gorm:"foreignKey:Subspecialist_Code;references:Code"`
}
