I have inherited class A from class B. When when i execute the accessor command like this

php app/console doctrine:generate:entities Blog

Then all the attributes from class B are automatically get inserted in class A.

Is that ok