title: Can Symfony2 generate:doctrine:entity generate entity with one-to-many relationship?
body: <p>I suppose the answer is no but I am asking to be sure. 
  SensioGeneratorBundle contains a command to generate entities. Do you know if it can generate the mappings for a one2Many or Many2Many field? Is there any project that implements this?</p>
  
  <p>The only example I found:</p>
  
  <pre><code> php app/console doctrine:generate:entity --entity=AcmeBlogBundle:Blog/Post --format=annotation --fields="title:string(255) body:text" --with-repository --no-interaction
  </code></pre>
  
  <p>Many thanks</p>