1
0
mirror of synced 2025-01-18 22:41:43 +03:00
doctrine2/tests/models/forum/ForumAvatar.php

23 lines
355 B
PHP
Raw Normal View History

2008-08-16 19:40:59 +00:00
<?php
2009-01-04 16:15:32 +00:00
#namespace Doctrine\Tests\Models\Forum;
#use Doctrine\ORM\Entity;
class ForumAvatar
2008-08-16 19:40:59 +00:00
{
public $id;
2008-08-16 19:40:59 +00:00
public static function initMetadata($mapping)
{
$mapping->mapField(array(
'fieldName' => 'id',
'type' => 'integer',
'id' => true,
'idGenerator' => 'auto'
));
}
}
?>