1
0
mirror of synced 2025-02-03 13:59:27 +03:00
doctrine2/tests/Doctrine/Tests/Models/DDC869/DDC869ChequePayment.php

23 lines
415 B
PHP
Raw Normal View History

2011-09-07 18:29:43 -03:00
<?php
namespace Doctrine\Tests\Models\DDC869;
/**
* @Entity
*/
class DDC869ChequePayment extends DDC869Payment
{
/** @Column(type="string") */
2011-09-07 18:29:43 -03:00
protected $serialNumber;
2011-12-19 22:56:19 +01:00
2011-09-08 13:17:53 -03:00
public static function loadMetadata(\Doctrine\ORM\Mapping\ClassMetadataInfo $metadata)
{
$metadata->mapField(array(
'fieldName' => 'serialNumber',
'type' => 'string',
));
}
2011-09-07 18:29:43 -03:00
}