you forgot the namespace statement:

````php
namespace Acme\SubscriptionBundle\Entity\Transaction;
````