package encounter

import (
	"time"

	erc "simrs-vx/internal/domain/references/common"

	ecore "simrs-vx/internal/domain/base-entities/core"
)

type EncounterLink struct {
	ecore.Main
	Simx_Id   uint `json:"simx_id" gorm:"unique"`
	Simgos_Id uint `json:"simgos_id" gorm:"unique"`
}

type EncounterSimxLog struct {
	ecore.Main
	Value      *string               `json:"value"`
	Date       *time.Time            `json:"date"`
	Status     erc.ProcessStatusCode `json:"status"`
	ErrMessage *string               `json:"errMessage"`
}

type EncounterSimgosLog struct {
	ecore.Main
	Value      *string               `json:"value"`
	Date       *time.Time            `json:"date"`
	Status     erc.ProcessStatusCode `json:"status"`
	ErrMessage *string               `json:"errMessage"`
}
