2017-11-30 15:06:13 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace CameraBundle\Entity;
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Camera
|
|
|
|
*
|
|
|
|
* @ORM\Table(name="camera", schema="camera", indexes={
|
|
|
|
@ORM\Index(name="IDX_747C826FC54C8C93", columns={"type_id"})
|
|
|
|
})
|
2018-01-03 16:35:10 -05:00
|
|
|
* @ORM\Entity(repositoryClass="CameraBundle\Repository\CameraRepository")
|
2017-11-30 15:06:13 -05:00
|
|
|
*/
|
2018-02-14 16:19:26 -05:00
|
|
|
class Camera {
|
2017-11-30 15:06:13 -05:00
|
|
|
use CameraTrait;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @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="camera__id_seq", allocationSize=1, initialValue=1)
|
2017-11-30 15:06:13 -05:00
|
|
|
*/
|
|
|
|
private $id;
|
|
|
|
}
|