2018-07-18 11:35:27 -04:00
|
|
|
<?php declare(strict_types=1);
|
2017-11-30 15:06:13 -05:00
|
|
|
|
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.flash
|
|
|
|
*/
|
2022-02-17 15:10:57 -05:00
|
|
|
#[ORM\Table(name: 'previously_owned_flash', schema: 'camera')]
|
|
|
|
#[ORM\Entity]
|
2017-11-30 15:06:13 -05:00
|
|
|
class PreviouslyOwnedFlash
|
|
|
|
{
|
2022-03-03 10:53:48 -05:00
|
|
|
use FlashTrait;
|
2022-02-18 11:34:25 -05:00
|
|
|
|
2022-03-03 11:15:12 -05:00
|
|
|
#[ORM\Column(name: 'id', type: 'integer', nullable: FALSE)]
|
2022-03-03 10:53:48 -05:00
|
|
|
#[ORM\Id]
|
|
|
|
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
|
|
|
|
private int $id;
|
2022-02-18 11:34:25 -05:00
|
|
|
|
2022-03-03 11:15:12 -05:00
|
|
|
#[ORM\Column(name: 'received', type: 'boolean', nullable: FALSE, options: ['default' => TRUE])]
|
|
|
|
private bool $received = TRUE;
|
2022-02-18 11:34:25 -05:00
|
|
|
|
2022-03-03 11:15:12 -05:00
|
|
|
#[ORM\Column(name: 'formerly_owned', type: 'boolean', nullable: FALSE, options: ['default' => TRUE])]
|
|
|
|
private bool $formerlyOwned = TRUE;
|
2017-11-30 15:06:13 -05:00
|
|
|
}
|