30 lines
518 B
PHP
30 lines
518 B
PHP
|
<?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"})
|
||
|
})
|
||
|
* @ORM\Entity
|
||
|
*/
|
||
|
class Camera
|
||
|
{
|
||
|
use CameraTrait;
|
||
|
|
||
|
/**
|
||
|
* @var integer
|
||
|
*
|
||
|
* @ORM\Column(name="id", type="integer", nullable=false)
|
||
|
* @ORM\Id
|
||
|
* @ORM\GeneratedValue(strategy="SEQUENCE")
|
||
|
* @ORM\SequenceGenerator(sequenceName="camera_id_seq", allocationSize=1, initialValue=1)
|
||
|
*/
|
||
|
private $id;
|
||
|
|
||
|
}
|