DoctrineのMapping
SymfonyのEntity
にannotationを書くやつ
mapping定義
annotation、yaml、XMLから選んでmapping定義をする
annotationの場合はEntityの各propertyや各methodの上に書く
docs
https://www.doctrine-project.org/projects/doctrine-orm/en/2.9/reference/basic-mapping.html#basic-mapping
https://www.doctrine-project.org/projects/doctrine-orm/en/2.9/reference/association-mapping.html#association-mapping
https://www.doctrine-project.org/projects/doctrine-orm/en/2.9/reference/inheritance-mapping.html#inheritance-mapping
Entityにannotationでmapping定義する
DoctorineのAnnotation