<?php
namespace App\Entity;
use App\Repository\ActivityTypeRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ActivityTypeRepository::class)
*/
class ActivityType
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=100)
*/
private $labels;
/**
* @ORM\Column(type="string", length=100)
*/
private $slug;
public function getId(): ?int
{
return $this->id;
}
public function getLabels(): ?string
{
return $this->labels;
}
public function setLabels(string $labels): self
{
$this->labels = $labels;
return $this;
}
public function getSlug(): ?string
{
return $this->slug;
}
public function setSlug(string $slug): self
{
$this->slug = $slug;
return $this;
}
}