Hello
I've got this Videorental code.
The flow:
1. Another user wants to rent a video.
2. Hes Videorental creates a new Video object with a Rent object,
which sets he the renter and the other user the owner of the Video.
The User object has Videorental object, it has Video objects and some Video objects have Rent object. There isn't any inheritance going on.
Now I don't know How could I get data from a higher object, in this case the User.
The creation of the Video object takes place in Videorental.
I need to get the info of the owner of this Videorental, specifically the id.
Thanks