41 lines
675 B
PHP
41 lines
675 B
PHP
|
<?php
|
||
|
|
||
|
namespace CameraBundle\Entity;
|
||
|
|
||
|
use Doctrine\ORM\Mapping as ORM;
|
||
|
|
||
|
/**
|
||
|
* Camera.flash
|
||
|
*
|
||
|
* @ORM\Table(name="flash", schema="camera")
|
||
|
* @ORM\Entity
|
||
|
*/
|
||
|
class Flash
|
||
|
{
|
||
|
use FlashTrait;
|
||
|
|
||
|
/**
|
||
|
* @var integer
|
||
|
*
|
||
|
* @ORM\Column(name="id", type="integer", nullable=false)
|
||
|
* @ORM\Id
|
||
|
* @ORM\GeneratedValue(strategy="SEQUENCE")
|
||
|
*/
|
||
|
private $id;
|
||
|
|
||
|
/**
|
||
|
* @var boolean
|
||
|
*
|
||
|
* @ORM\Column(name="received", type="boolean", nullable=false, options={"default" : false})
|
||
|
*/
|
||
|
private $received = false;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @var boolean
|
||
|
*
|
||
|
* @ORM\Column(name="formerly_owned", type="boolean", nullable=false, options={"default" : false})
|
||
|
*/
|
||
|
private $formerlyOwned = false;
|
||
|
}
|