1
0
mirror of synced 2025-01-10 02:57:10 +03:00
doctrine2/tests/Doctrine/Tests/Models/VersionedOneToOne/SecondRelatedEntity.php

33 lines
502 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Models\VersionedOneToOne;
/**
* @author Rob Caiger <rob@clocal.co.uk>
*
* @Entity
* @Table(name="second_entity")
*/
class SecondRelatedEntity
{
/**
* @Id
* @Column(name="id", type="integer")
* @GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @Column(name="name")
*/
public $name;
/**
* Version column
*
* @Column(type="integer", name="version")
* @Version
*/
public $version;
}