src/Entity/ContractStatus.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Entity\Base\AbstractEntity;
  4. use App\Repository\ContractStatusRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=ContractStatusRepository::class)
  8.  */
  9. class ContractStatus extends AbstractEntity
  10. {
  11.     const CONTRACT_STATUS_LETREHOZOTT 1;
  12.     const CONTRACT_STATUS_ELKULDOTT 2;
  13.     const CONTRACT_STATUS_ALAIRT 3;
  14.     const CONTRACT_STATUS_FELFUGESZTETT 4;
  15.     const CONTRACT_STATUS_VISSZAUTASITOTT 5;
  16.     const CONTRACT_STATUS_KIVITELEZETT 5;
  17.     /**
  18.      * @ORM\Column(type="string", length=50)
  19.      */
  20.     private $name;
  21.     public function getName(): ?string
  22.     {
  23.         return $this->name;
  24.     }
  25.     public function setName(string $name): self
  26.     {
  27.         $this->name $name;
  28.         return $this;
  29.     }
  30. }