Doctrine trait + base entity class