package vclaimsep

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	evscl "simrs-vx/internal/domain/bpjs-entities/vclaim-sep-control-letter"
	evsp "simrs-vx/internal/domain/bpjs-entities/vclaim-sep-print"
)

type VclaimSep struct {
	ecore.Main
	Encounter_Id   *uint                           `json:"encounter_id"`
	Number         *string                         `json:"number" gorm:"unique;size:19"`
	Prints         []*evsp.VclaimSepPrint          `json:"prints,omitempty" gorm:"foreignKey:VclaimSep_Number;references:Number"`
	ControlLetters []*evscl.VclaimSepControlLetter `json:"controlLetters,omitempty" gorm:"foreignKey:VclaimSep_Number;references:Number"`
	Detail         *SepDetail                      `json:"detail,omitempty" gorm:"-"`
}
