modify Entity.php generate