Php – Symfony Doctrine have two property for the same column in database
Here’s a sample entity
use ApiPlatformMetadataApiResource;
use DoctrineORMMapping as ORM;
use SymfonyComponentSerializerAnnotationGroups;
#[ORMTable(name: 'user')]
#[ApiResource(