2017-11-30 15:06:13 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace CameraBundle\Entity;
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Camera.flash
|
|
|
|
*
|
|
|
|
* @ORM\Table(name="previously_owned_flash", schema="camera")
|
|
|
|
* @ORM\Entity
|
|
|
|
*/
|
|
|
|
class PreviouslyOwnedFlash
|
|
|
|
{
|
|
|
|
use FlashTrait;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var integer
|
|
|
|
*
|
|
|
|
* @ORM\Column(name="id", type="integer", nullable=false)
|
|
|
|
* @ORM\Id
|
2018-01-04 10:42:36 -05:00
|
|
|
* @ORM\GeneratedValue(strategy="IDENTITY")
|
2017-11-30 15:06:13 -05:00
|
|
|
*/
|
|
|
|
private $id;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var boolean
|
|
|
|
*
|
|
|
|
* @ORM\Column(name="received", type="boolean", nullable=false, options={"default" : true})
|
|
|
|
*/
|
|
|
|
private $received = true;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var boolean
|
|
|
|
*
|
|
|
|
* @ORM\Column(name="formerly_owned", type="boolean", nullable=false, options={"default" : true})
|
|
|
|
*/
|
|
|
|
private $formerlyOwned = true;
|
|
|
|
}
|