collection-crud/src/Entity/PreviouslyOwnedCamera.php

27 lines
652 B
PHP
Raw Normal View History

2018-07-18 11:35:27 -04:00
<?php declare(strict_types=1);
2017-11-09 11:53:01 -05:00
namespace App\Entity;
2017-11-09 11:53:01 -05:00
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(repositoryClass="App\Repository\CameraRepository")
2017-11-09 11:53:01 -05:00
*/
class PreviouslyOwnedCamera
{
use CameraTrait;
2017-11-30 15:06:13 -05:00
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
2018-01-04 10:42:36 -05:00
* @ORM\GeneratedValue(strategy="IDENTITY")
2018-02-14 15:08:03 -05:00
* @ORM\SequenceGenerator(sequenceName="prevously_owned_camera_id_seq", allocationSize=1, initialValue=1)
2017-11-30 15:06:13 -05:00
*/
private $id;
2017-11-09 11:53:01 -05:00
}