. */ namespace Doctrine\ORM\Mapping; /** * @Annotation * @Target({"PROPERTY","ANNOTATION"}) */ final class JoinColumn implements Annotation { /** @var string */ public $name; /** @var string */ public $referencedColumnName = 'id'; /** @var bool */ public $unique = false; /** @var bool */ public $nullable = true; /** @var mixed */ public $onDelete; /** @var string */ public $columnDefinition; /** * Field name used in non-object hydration (array/scalar). * * @var string */ public $fieldName; }