Doctrine2:如何映射2个实体

I seem to be having a lot of trouble mapping 2 entities in Doctrine2.

I have a class User, a class Person and a class Candidate. Both Person and Candidate extend from User, in a "Is an"-relation, so both Person and Candidate should have a oneToOne relation with User. Both Person and Candidate have a property "userid" which is the foreign key that should map to the userid from User.

This all seems rather simple but I can't get it to work. When looking at the documentation of Doctrine (http://doctrine-orm.readthedocs.org/en/latest/reference/inheritance-mapping.html?highlight=DiscriminatorColumn#single-table-inheritance), I cannot use Mapped Superclasses because I want user to be an entity as well. And I cannot use Single Table Inheritance because I do not have an DiscriminatorColumn.

I have all the necessary tables in my PostgreSql database, and I'm using yml for the necessary mapping files.

Anyone that can point me in the right direction?