src/Entity/Menu.php line 11
<?php
namespace App\Entity;
use App\Repository\MenuRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MenuRepository::class)]
#[ORM\Table(name: 'site_menu')]
class Menu
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $url = null;
#[ORM\Column]
private ?int $ord = null;
#[ORM\Column(length: 255)]
private ?string $controller = null;
#[ORM\Column(length: 255)]
private ?string $item = null;
#[ORM\Column]
private ?int $user_logged = null;
public function getId(): ?int
{
return $this->id;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setUrl(string $url): self
{
$this->url = $url;
return $this;
}
public function getOrd(): ?int
{
return $this->ord;
}
public function setOrd(int $ord): self
{
$this->ord = $ord;
return $this;
}
public function getStatus(): ?int
{
return $this->status;
}
public function setStatus(int $status): self
{
$this->status = $status;
return $this;
}
public function getController(): ?string
{
return $this->controller;
}
public function setController(string $controller): self
{
$this->controller = $controller;
return $this;
}
public function getItem(): ?string
{
return $this->item;
}
public function setItem(string $item): self
{
$this->item = $item;
return $this;
}
public function getUserLogged(): ?int
{
return $this->user_logged;
}
public function setUserLogged(int $user_logged): self
{
$this->user_logged = $user_logged;
return $this;
}
}