src/Entity/CRM/TranscriptionDicitionary.php line 10

  1. <?php
  2. namespace App\Entity\CRM;
  3. use App\Repository\CRM\TranscriptionDicitionaryRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassTranscriptionDicitionaryRepository::class)]
  7. class TranscriptionDicitionary
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $term null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $category null;
  17.     #[ORM\Column]
  18.     private ?int $matchType null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $suggestedReplacement null;
  21.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  22.     private ?string $description null;
  23.     #[ORM\Column]
  24.     private ?bool $isActive null;
  25.     public function getId(): ?int
  26.     {
  27.         return $this->id;
  28.     }
  29.     public function getTerm(): ?string
  30.     {
  31.         return $this->term;
  32.     }
  33.     public function setTerm(string $term): static
  34.     {
  35.         $this->term $term;
  36.         return $this;
  37.     }
  38.     public function getCategory(): ?string
  39.     {
  40.         return $this->category;
  41.     }
  42.     public function setCategory(string $category): static
  43.     {
  44.         $this->category $category;
  45.         return $this;
  46.     }
  47.     public function getMatchType(): ?int
  48.     {
  49.         return $this->matchType;
  50.     }
  51.     public function setMatchType(int $matchType): static
  52.     {
  53.         $this->matchType $matchType;
  54.         return $this;
  55.     }
  56.     public function getSuggestedReplacement(): ?string
  57.     {
  58.         return $this->suggestedReplacement;
  59.     }
  60.     public function setSuggestedReplacement(?string $suggestedReplacement): static
  61.     {
  62.         $this->suggestedReplacement $suggestedReplacement;
  63.         return $this;
  64.     }
  65.     public function getDescription(): ?string
  66.     {
  67.         return $this->description;
  68.     }
  69.     public function setDescription(?string $description): static
  70.     {
  71.         $this->description $description;
  72.         return $this;
  73.     }
  74.     public function isIsActive(): ?bool
  75.     {
  76.         return $this->isActive;
  77.     }
  78.     public function setIsActive(bool $isActive): static
  79.     {
  80.         $this->isActive $isActive;
  81.         return $this;
  82.     }
  83. }