2011-09-08 20:17:53 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping\ClassMetadataInfo;
|
|
|
|
|
|
|
|
$metadata->mapField(array(
|
|
|
|
'id' => true,
|
|
|
|
'fieldName' => 'id',
|
|
|
|
'type' => 'integer',
|
|
|
|
'columnName' => 'id',
|
|
|
|
));
|
|
|
|
$metadata->mapField(array(
|
|
|
|
'fieldName' => 'value',
|
|
|
|
'type' => 'float',
|
|
|
|
));
|
2011-09-08 20:41:16 +04:00
|
|
|
$metadata->isMappedSuperclass = true;
|
2011-09-08 20:17:53 +04:00
|
|
|
$metadata->setCustomRepositoryClass("Doctrine\Tests\Models\DDC869\DDC869PaymentRepository");
|
|
|
|
$metadata->setIdGeneratorType(ClassMetadataInfo::GENERATOR_TYPE_AUTO);
|