package adm_employee_hist

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	ee "simrs-vx/internal/domain/main-entities/employee"
	"time"
)

type AdmEmployeeHist struct {
	ecore.Main                // adjust this according to the needs
	Encounter_Id *uint        `json:"encounter_id"`
	Employee_Id  *uint        `json:"employee_id"`
	Employee     *ee.Employee `json:"employee,omitempty" gorm:"foreignKey:Employee_Id;references:Id"`
	StartedAt    *time.Time   `json:"startedAt"`
	FinishedAt   *time.Time   `json:"finishedAt"`
}
