just with two simple Symfony commands are all model php files is genereated. It is so cool.
php bin/console doctrine:mapping:import „App\Entity“ annotation –path=src/Entity |
for getter/setter
php bin/console make:entity –regenerate App |
Source: https://symfony.com/doc/current/doctrine/reverse_engineering.html