src/Entity/Terminology.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * Terminology
  6. *
  7. * @ORM\Table(name="terminology")
  8. * @ORM\Entity(repositoryClass="App\Repository\TerminologyRepository")
  9. */
  10. class Terminology
  11. {
  12. /**
  13. * @var int
  14. *
  15. * @ORM\Column(name="id", type="integer", nullable=false)
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. */
  19. private $id;
  20. /**
  21. * @var string
  22. *
  23. * @ORM\Column(name="terminology_key", type="string", length=255, nullable=false)
  24. */
  25. private $terminologyKey;
  26. /**
  27. * @var string|null
  28. *
  29. * @ORM\Column(name="singular_text", type="string", length=255, nullable=true)
  30. */
  31. private $singularText;
  32. /**
  33. * @var string|null
  34. *
  35. * @ORM\Column(name="plural_text", type="string", length=255, nullable=true)
  36. */
  37. private $pluralText;
  38. public function getId(): ?int
  39. {
  40. return $this->id;
  41. }
  42. public function getTerminologyKey(): ?string
  43. {
  44. return $this->terminologyKey;
  45. }
  46. public function setTerminologyKey(string $terminologyKey): self
  47. {
  48. $this->terminologyKey = $terminologyKey;
  49. return $this;
  50. }
  51. public function getSingularText(): ?string
  52. {
  53. return $this->singularText;
  54. }
  55. public function setSingularText(?string $singularText): self
  56. {
  57. $this->singularText = $singularText;
  58. return $this;
  59. }
  60. public function getPluralText(): ?string
  61. {
  62. return $this->pluralText;
  63. }
  64. public function setPluralText(?string $pluralText): self
  65. {
  66. $this->pluralText = $pluralText;
  67. return $this;
  68. }
  69. }