24 lines
664 B
PHP
24 lines
664 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace App\Entity;
|
|
|
|
use App\Repository\CameraRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* Camera.previouslyOwnedCamera
|
|
*/
|
|
#[ORM\Table(name: 'previously_owned_camera', schema: 'camera')]
|
|
#[ORM\Index(name: 'IDX_6EF94C6BC54C8C93', columns: ['type_id'])]
|
|
#[ORM\Entity(repositoryClass: CameraRepository::class)]
|
|
class PreviouslyOwnedCamera
|
|
{
|
|
use CameraTrait;
|
|
|
|
#[ORM\Column(name: 'id', type: 'integer', nullable: FALSE)]
|
|
#[ORM\Id]
|
|
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
|
|
#[ORM\SequenceGenerator(sequenceName: 'prevously_owned_camera_id_seq', allocationSize: 1, initialValue: 1)]
|
|
private int $id;
|
|
}
|