<?php

declare(strict_types=1);

use Doctrine\ORM\Mapping\ClassMetadata;

$metadata->isMappedSuperclass = true;

$metadata->mapField([
    'id'         => true,
    'fieldName'  => 'id',
    'type'       => 'integer',
    'columnName' => 'id',
]);

$metadata->mapManyToMany([
    'fieldName'    => 'members',
    'targetEntity' => 'DDC5934Member',
]);

$metadata->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_AUTO);
