package intern

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	ep "simrs-vx/internal/domain/main-entities/person"
	eu "simrs-vx/internal/domain/main-entities/user"
	erg "simrs-vx/internal/domain/references/organization"
)

type Intern struct {
	ecore.Main                              // adjust this according to the needs
	Person_Id     *uint                     `json:"person_id"`
	Person        *ep.Person                `json:"person,omitempty" gorm:"foreignKey:Person_Id"`
	Position_Code *erg.InternPosisitionCode `json:"position_code" gorm:"size:20"`
	User_Id       *uint                     `json:"user_id"`
	User          *eu.User                  `json:"user,omitempty" gorm:"foreignKey:User_Id"`
}
