package installation

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	erc "simrs-vx/internal/domain/references/common"
	"time"
)

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

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

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