package encounter_document

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

type EncounterDocument struct {
	ecore.Main
	Encounter_Id       *uint           `json:"encounter_id"`
	Type_Code          ere.DocTypeCode `json:"type_code"`
	Name               string          `json:"name"`
	FilePath           *string         `json:"filePath"`
	FileName           *string         `json:"fileName"`
	Upload_Employee_Id *uint           `json:"upload_employee_id"`
	Upload_Employee    *ee.Employee    `json:"upload_employee,omitempty" gorm:"foreignKey:Upload_Employee_Id;references:Id"`
}
