Concept Flow - @OneToOne relationship
Define Entity A
Define Entity B
Add @OneToOne in Entity A
Add @OneToOne in Entity B (optional)
Save Entity A with Entity B
Database stores linked records
Fetch Entity A retrieves Entity B automatically
This flow shows how two entities are linked one-to-one by adding @OneToOne annotations and saving them, so fetching one gets the other.