Create associations between entities Doctrine 2
===

I am trying to connect 2 entities and i am having troubles with it.
I have two classes: User and Gender.
Each User is from a kind gender (male or female). At my database i have two tables with this structure:
  
     user(**id**, firstName, gender);
     gender(**id**, type);

Now i have created two entities at my system. User.php and Gender.php

#User

    <?php  
 
    /**
     * @Entity @Table(name="User")
     **/

    class User
    {
    /**
     * @Id @Column(type="integer") @GeneratedValue
     **/  
    private $id;
    
     /**
     * @Column(type="string")
     **/
    private $firstName;

     /**
     * @Column(type="string")
     * @ManyToOne(targetEntity="Gender")
     * @JoinColumn(name="type", referencedColumnName="type")
     * @var Gender[]
     **/
    private $gender;
    
     
    public function __construct($content) {
        $this->setContent($content);
    }   
 
    
    /**
     * @return int
     */
    public function getId() {
        return $this->id;
    }
     
    /**
     * @return string
     */
    public function getFirstName() {
        return $this->firstName;
    }
    
      /**
     * @return int
     */
    public function getGender() {
        return $this->gender;
    }
     
     
    
    /**
     * @param string $content
     */
    public function setFirstName($content) {
        $this->firstName = (string) $content;
    }
    
    /**
     * @param string $content
     */
    public function setGender($content) {
        $this->gender = (string) $content;
    }
     
    }

#Gender
    
    <?php  
 
    /**
     * @Entity @Table(name="Gender")
     **/

    class Gender
    {
    /**
     * @Id @Column(type="integer") @GeneratedValue
     **/  
    private $id;
    
     /**
     * @OneToMany(targetEntity="User", inversedBy="gender")
     * @JoinColumn(name="gender", referencedColumnName="gender")
     * @Column(type="string")
     **/
    private $type;
    
    
    /**
     * @param integer $content
     * 
     */
    public function getId() {
        return $this->id;
    }
    
    /**
     * @param string $content
     * 
     */
    public function getType() {
        return $this->type;
    }
    
    
    /**
     * @param string $content
     */
    public function setGender($content) {
        $this->gender = (string) $content;
    }
     
    }

What i want is to get the gender type when i get a User, so both entities have to be connected by gender-type attributes. 
I have tried to do so with **@ManyToOne** or **@JoinColumn** features, but i couldn't get it.

How can i do it? What i am doing wrong?
Thanks!