When you need to add functionality that is not in the system, like an advertising campaign, then you need your own, custom entities.
- The system is prepared and configured for custom entities.
The configuration is placed in doctrine.yml, section
- An entity should be in namespace
- We use annotations for Doctrine mapping.
More in annotations reference.
- And maybe you are also interested in entity extension.
For step by step instructions on how to add a new entity to your project, follow "Adding a new entity" cookbook.