src/Entity/ContactPipelineStep.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ContactPipelineStepRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassContactPipelineStepRepository::class)]
  6. class ContactPipelineStep
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private string $title;
  14.     #[ORM\Column(type'text'nullabletrue)]
  15.     private ?string $description null;
  16.     #[ORM\Column(type'integer')]
  17.     private int $position;
  18.     public function __toString(): string
  19.     {
  20.         return $this->title;
  21.     }
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getTitle(): ?string
  27.     {
  28.         return $this->title;
  29.     }
  30.     public function setTitle(string $title): self
  31.     {
  32.         $this->title $title;
  33.         return $this;
  34.     }
  35.     public function getDescription(): ?string
  36.     {
  37.         return $this->description;
  38.     }
  39.     public function setDescription(string $description): self
  40.     {
  41.         $this->description $description;
  42.         return $this;
  43.     }
  44.     public function getPosition(): ?int
  45.     {
  46.         return $this->position;
  47.     }
  48.     public function setPosition(int $position): self
  49.     {
  50.         $this->position $position;
  51.         return $this;
  52.     }
  53. }