implemented doctrine enum mapping