Still no. Here is the updated documentation link: https://www.doctrine-project.org/projects/doctrine-orm/en/stable/reference/basic-mapping.html#identifiers-primary-keys
Every entity class must have an identifier/primary key. You can select the field that serves as the identifier with the #[Id] attribute.
(sry for the new answer - I can't comment yet)