<?php
namespace App\Entity;
use App\Repository\TaskStatusRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=TaskStatusRepository::class)
*/
class TaskStatus
{
const TASK_STATUS_LETREHOZOTT = 1;
const TASK_STATUS_FEJLESZTESALATT = 2;
const TASK_STATUS_BEFEJEZETT = 3;
const TASK_STATUS_FELFUGESZTETT = 4;
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=50)
*/
private $name;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
}