title: How does Doctrine generate:entities create getters and setter in symfony
body: <p>I have class User likr this</p>
  
  <pre><code>class user implements UserInterface {
  
  protected id ,
  protected username;
  </code></pre>
  
  <p>Then i have </p>
  
  <pre><code>class student extends user {
  
  
  protected id ,
  protected rollno;
  </code></pre>
  
  <p>Now when i run this</p>
  
  <pre><code>php app/console doctrine:generate:entities myBundle
  </code></pre>
  
  <p>Then propery username gets inserted in class student.</p>
  
  <p>I want to know that is this ok or its error. Because then whats the use of extending from base class if my lass is going to be populated with all stuff</p>