Concept Flow - @ManyToOne relationship
Define Entity A
Add @ManyToOne field to Entity A
Entity A references Entity B
Save Entity A with Entity B linked
Database stores foreign key in Entity A's table
Fetch Entity A retrieves linked Entity B
Shows how one entity holds a reference to another using @ManyToOne, storing a foreign key and linking data.