src/Entity/Common/Owner.php line 9
<?php
namespace App\Entity\Common;
use App\Model\Common\OwnerInterface;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Embeddable]
class Owner implements OwnerInterface
{
/**
* @var ?string
*/
#[ORM\Column(type: 'string', length: 36, nullable: true)]
private ?string $uuid = null;
/**
* @var bool
*/
#[ORM\Column(type: 'boolean', options: ['default' => true])]
private bool $active = true;
/**
* @var bool
*/
#[ORM\Column(type: 'boolean', options: ['default' => false])]
private bool $deleted = false;
/**
* @return string|null
*/
public function getUuid(): ?string
{
return $this->uuid;
}
/**
* @param string|null $uuid
*/
public function setUuid(?string $uuid): void
{
$this->uuid = $uuid;
}
/**
* @return bool
*/
public function isActive(): bool
{
return $this->active;
}
/**
* @param bool $active
*/
public function setActive(bool $active): void
{
$this->active = $active;
}
/**
* @return bool
*/
public function isDeleted(): bool
{
return $this->deleted;
}
/**
* @param bool $deleted
*/
public function setDeleted(bool $deleted): void
{
$this->deleted = $deleted;
}
}