<?php
namespace App\Entity;
use App\Repository\PcodeCategoryRepository;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PcodeCategoryRepository::class)
* @Auditable()
*/
class PcodeCategory
{
/**
* @ORM\Id()
* @ORM\Column(type="string", length=20)
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $label;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $level;
public function getId(): ?string
{
return $this->id;
}
public function setId(string $id): self
{
$this->id = $id;
return $this;
}
public function getLabel(): ?string
{
return $this->label;
}
public function setLabel(string $label): self
{
$this->label = $label;
return $this;
}
public function getLevel(): ?int
{
return $this->level;
}
public function setLevel(?int $level): self
{
$this->level = $level;
return $this;
}
}