package radiologymcuorderitem

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	ems "simrs-vx/internal/domain/main-entities/mcu-src"
	erc "simrs-vx/internal/domain/references/common"
)

type RadiologyMcuOrderItem struct {
	ecore.BigMain                           // adjust this according to the needs
	RadiologyMcuOrder_Id uint64             `json:"radiologyMcuOrder_id" gorm:"uniqueIndex:idx_order_src"`
	McuSrc_Code          string             `json:"mcuSrc_code" gorm:"uniqueIndex:idx_order_src"`
	McuSrc               *ems.McuSrc        `json:"mcuSrc,omitempty" gorm:"foreignKey:McuSrc_Code;references:Code"`
	Note                 *string            `json:"note" gorm:"size:1024"`
	Result               *string            `json:"result"`
	Status_Code          erc.DataStatusCode `json:"status_code"`
}
