2017-11-30 15:06:13 -05:00
|
|
|
<?php
|
|
|
|
|
2018-02-14 16:42:39 -05:00
|
|
|
namespace App\Entity;
|
2017-11-30 15:06:13 -05:00
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Camera.lenses
|
|
|
|
*
|
|
|
|
* @ORM\Table(name="lenses", schema="camera")
|
2018-02-14 16:42:39 -05:00
|
|
|
* @ORM\Entity(repositoryClass="App\Repository\LensesRepository")
|
2017-11-30 15:06:13 -05:00
|
|
|
*/
|
|
|
|
class Lenses
|
|
|
|
{
|
|
|
|
use LensTrait;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var integer
|
|
|
|
*
|
|
|
|
* @ORM\Column(name="id", type="integer", nullable=false)
|
|
|
|
* @ORM\Id
|
2018-01-04 10:42:36 -05:00
|
|
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
|
|
|
* @ORM\SequenceGenerator(sequenceName="camera.lenses_id_seq", allocationSize=1, initialValue=1)
|
2017-11-30 15:06:13 -05:00
|
|
|
*/
|
|
|
|
private $id;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var boolean
|
|
|
|
*
|
|
|
|
* @ORM\Column(name="received", type="boolean", nullable=false)
|
|
|
|
*/
|
|
|
|
private $received = false;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var boolean
|
|
|
|
*
|
|
|
|
* @ORM\Column(name="formerly_owned", type="boolean", nullable=false)
|
|
|
|
*/
|
|
|
|
private $formerlyOwned = false;
|
|
|
|
}
|