Coditas interview question

How can we mention relation between two tables in beans?