collection-crud/src/CameraBundle/Entity/PreviouslyOwnedCamera.php

27 lines
620 B
PHP
Raw Normal View History

2017-11-09 11:53:01 -05:00
<?php
namespace CameraBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Camera.previouslyOwnedCamera
*
* @ORM\Table(name="previously_owned_camera", schema="camera", indexes={@ORM\Index(name="IDX_6EF94C6BC54C8C93", columns={"type_id"})})
* @ORM\Entity
*/
class PreviouslyOwnedCamera
{
use CameraTrait;
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_camera_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
}