title: Doctrine - decoupled model from entity
body: <p>Here is the deal.
  Using Doctrine ORM for PHP and I need to "decouple" model from entity persistent layer.
  Say we have UserEntity which holds all the pretty stuff for db mapping,
  as: annotations, properties, setters/getters and so on.
  From the other hand i'd like to have a separate User class which only holds business related logic, for instance: User::getFullName().
  Furthermore i want User to extend UserEntity so User inherits all the access methods.</p>
  
  <p>Possible solutions i've checked through don't work for me:</p>
  
  <ul>
  <li>just extending model from entity and then specifying model in DQL does not work</li>
  <li>make UserEntity /** @MappedSuperclass */ does not work since in this case UserEntity "is not itself an entity"</li>
  <li>InheritanceType / DiscriminatorColumn / DiscriminatorMap does not work as well cause model is not an entity</li>
  </ul>
  
  <p>any ideas ?</p>