Example first to make my question clear:
Tested old entity in Common Project: Posology entity (fields: unit, nuberperintake)
Entity in new Project: PatientMedication(fields: drugId, patientId)
PatientMedication may have multiple Posologies for a patient in different time.
I could add one field(column) 'PatientMedicationId' into Posology to have this many-to-one relation. But the thing is that it will change the entity in Common project and make it dependent on the new project.
So I am thinking that maybe I should use many-to-many to have this relation without introduce this dependency.
Is it a good solution? Is there any other idea?
Thanks in advance.