src/Entity/FrontOption.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FrontOptionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=FrontOptionRepository::class)
  7. */
  8. class FrontOption
  9. {
  10. const FRAIS_INSCRIPTION = "Frais d'adhésion";
  11. const TAUX_GOA = "taux GOA";
  12. const FRAIS_DOSSIER = "Frais de dossier";
  13. /**
  14. * @ORM\Id
  15. * @ORM\GeneratedValue
  16. * @ORM\Column(type="integer")
  17. */
  18. private $id;
  19. /**
  20. * @ORM\Column(type="string", length=255)
  21. */
  22. private $name;
  23. /**
  24. * @ORM\Column(type="json", nullable=true)
  25. */
  26. private $content;
  27. /**
  28. * @ORM\Column(type="string", length=255, nullable=true)
  29. */
  30. private $type;
  31. /**
  32. * @ORM\Column(type="json", nullable=true)
  33. */
  34. private $parameters = [];
  35. public function getId(): ?int
  36. {
  37. return $this->id;
  38. }
  39. public function getName(): ?string
  40. {
  41. return $this->name;
  42. }
  43. public function setName(string $name): self
  44. {
  45. $this->name = $name;
  46. return $this;
  47. }
  48. public function getContent()
  49. {
  50. return $this->content;
  51. }
  52. public function setContent( $content): self
  53. {
  54. $this->content = $content;
  55. return $this;
  56. }
  57. public function getType(): ?string
  58. {
  59. return $this->type;
  60. }
  61. public function setType(?string $type): self
  62. {
  63. $this->type = $type;
  64. return $this;
  65. }
  66. public function getParameters(): ?array
  67. {
  68. return $this->parameters;
  69. }
  70. public function setParameters(?array $parameters): self
  71. {
  72. $this->parameters = $parameters;
  73. return $this;
  74. }
  75. }