package medicinemixitem

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	em "simrs-vx/internal/domain/main-entities/medicine"
)

type MedicineMixItem struct {
	ecore.Main                  // adjust this according to the needs
	MedicineMix_Id *uint        `json:"medicineMix_id"`
	Medicine_Code  *string      `json:"medicine_code"`
	Medicine       *em.Medicine `json:"medicine,omitempty" gorm:"foreignKey:Medicine_Code;references:Code"`
	Dose           *uint8       `json:"dose"`
	Note           *string      `json:"note" gom:"size:1024"`
}
