Add database table mapping
Use Doctrine entity
Add unit tests