<?php
namespace App\Entity;
use App\Repository\AclGroupRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=AclGroupRepository::class)
*/
class AclGroup
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private int $id;
/**
* @ORM\Column(type="string", length=255)
*/
private string $slug;
/**
* @ORM\Column(type="string", length=255)
*/
private string $title;
/**
* @ORM\Column(type="boolean", options={"default":true})
*/
private bool $enabled;
public function __construct()
{
$this->enabled = TRUE;
}
public function getId(): int
{
return $this->id;
}
public function getSlug(): string
{
return $this->slug;
}
public function setSlug( string $slug ): self
{
$this->slug = $slug;
return $this;
}
public function getTitle(): string
{
return $this->title;
}
public function setTitle( string $title ): self
{
$this->title = $title;
return $this;
}
public function getEnabled(): bool
{
return $this->enabled;
}
public function setEnabled( bool $enabled ): self
{
$this->enabled = $enabled;
return $this;
}
}