I apologize in advance if this has been asked before.

I have successfully setup FOSUserBundle.

I am trying to setup "<http://symfony.com/doc/current/book/doctrine.html>" the product example from that link out of the documentation. 

What I would like to do is set it up so a specific user adds a product the User Id of the FOSUser that user is associated with that product.

I have two bundles in the Acme folder

Acme/UserBundle -> the FOSUser Setup

and

Acme/MainBundle -> where I am setting up products. 

I've gone over the relationship documents a few time and I am not quite clear on them in Symfony2.

I think it is a OneToMany relationship in the User Entity based on a "user\_id" in the Products table but i'm not a 100% sure how to do it.

Does anyone know a tutorial or even a basic idea on if I am going in the right direction on this? Thanks very much and I will obviously publish the successful results Once I get there.