2017-11-09 11:53:01 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace CameraBundle\Entity;
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Camera.previouslyOwnedLenses
|
|
|
|
*
|
|
|
|
* @ORM\Table(name="previously_owned_lenses", schema="camera")
|
|
|
|
* @ORM\Entity
|
|
|
|
*/
|
|
|
|
class PreviouslyOwnedLenses
|
|
|
|
{
|
2017-11-20 13:22:21 -05:00
|
|
|
use LensTrait;
|
2017-11-09 11:53:01 -05:00
|
|
|
/**
|
|
|
|
* @var integer
|
|
|
|
*
|
|
|
|
* @ORM\Column(name="id", type="integer", nullable=false)
|
|
|
|
* @ORM\Id
|
|
|
|
* @ORM\GeneratedValue(strategy="SEQUENCE")
|
|
|
|
* @ORM\SequenceGenerator(sequenceName="camera.previously_owned_lenses_id_seq", allocationSize=1, initialValue=1)
|
|
|
|
*/
|
|
|
|
private $id;
|
|
|
|
}
|