src/Entity/Formules.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FormulesRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassFormulesRepository::class)]
  7. class Formules
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $nom_formule null;
  15.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  16.     private ?string $description null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $type null;
  19.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  20.     private ?\DateTimeInterface $date_creation null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  22.     private ?\DateTimeInterface $date_update null;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $prix null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $unite null;
  27.     #[ORM\Column(nullabletrue)]
  28.     private ?int $etat null;
  29.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  30.     private ?array $destination null;
  31.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  32.     private ?array $entreprises_cibles null;
  33.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  34.     private ?array $pays_cibles null;
  35.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  36.     private ?array $villes_cibles null;
  37.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  38.     private ?array $cp_cibles null;
  39.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  40.     private ?array $tailles_entreprise_cible null;
  41.     #[ORM\Column(length255nullabletrue)]
  42.     private ?string $periodicite null;
  43.     #[ORM\Column(length255nullabletrue)]
  44.     private ?string $dure null;
  45.     #[ORM\Column(length255nullabletrue)]
  46.     private ?string $bonnus_geo null;
  47.     #[ORM\Column(length255nullabletrue)]
  48.     private ?string $bonnus_event null;
  49.     #[ORM\Column(length255nullabletrue)]
  50.     private ?string $bonnus_pub null;
  51.     #[ORM\Column(length255nullabletrue)]
  52.     private ?string $regime_tva null;
  53.     #[ORM\Column(length255)]
  54.     private ?string $frequence null;
  55.     #[ORM\Column(nullabletrue)]
  56.     private ?bool $formule_first_page null;
  57.     #[ORM\Column(length255nullabletrue)]
  58.     private ?string $Duree_bonnus_event null;
  59.     #[ORM\Column(length255nullabletrue)]
  60.     private ?string $duree_bonnus_pub null;
  61.     #[ORM\Column(length255nullabletrue)]
  62.     private ?string $codeFacturation null;
  63.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  64.     private ?string $descriptionFacture null;
  65.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  66.     private ?array $user_limit null;
  67.     #[ORM\Column(nullabletrue)]
  68.     private ?bool $isVisible null;
  69.     #[ORM\Column(length255nullabletrue)]
  70.     private ?string $stripe_id_product null;
  71.     #[ORM\Column(length255nullabletrue)]
  72.     private ?string $stripe_id_price null;
  73.     #[ORM\Column(length255nullabletrue)]
  74.     private ?string $reglement_fractionne null;
  75.     public function getId(): ?int
  76.     {
  77.         return $this->id;
  78.     }
  79.         public function getIsVisible(): ?bool
  80.     {
  81.         return $this->isVisible;
  82.     }
  83.     public function setIsVisible(?bool $isVisible): self
  84.     {
  85.         $this->isVisible $isVisible;
  86.         return $this;
  87.     }
  88.     public function getNomFormule(): ?string
  89.     {
  90.         return $this->nom_formule;
  91.     }
  92.     public function setNomFormule(?string $nom_formule): static
  93.     {
  94.         $this->nom_formule $nom_formule;
  95.         return $this;
  96.     }
  97.     public function getDescription(): ?string
  98.     {
  99.         return $this->description;
  100.     }
  101.     public function setDescription(?string $description): static
  102.     {
  103.         $this->description $description;
  104.         return $this;
  105.     }
  106.     public function getType(): ?string
  107.     {
  108.         return $this->type;
  109.     }
  110.     public function setType(?string $type): static
  111.     {
  112.         $this->type $type;
  113.         return $this;
  114.     }
  115.     public function getDateCreation(): ?\DateTimeInterface
  116.     {
  117.         return $this->date_creation;
  118.     }
  119.     public function setDateCreation(?\DateTimeInterface $date_creation): static
  120.     {
  121.         $this->date_creation $date_creation;
  122.         return $this;
  123.     }
  124.     public function getDateUpdate(): ?\DateTimeInterface
  125.     {
  126.         return $this->date_update;
  127.     }
  128.     public function setDateUpdate(?\DateTimeInterface $date_update): static
  129.     {
  130.         $this->date_update $date_update;
  131.         return $this;
  132.     }
  133.     public function getPrix(): ?string
  134.     {
  135.         return $this->prix;
  136.     }
  137.     public function setPrix(?string $prix): static
  138.     {
  139.         $this->prix $prix;
  140.         return $this;
  141.     }
  142.     public function getUnite(): ?string
  143.     {
  144.         return $this->unite;
  145.     }
  146.     public function setUnite(?string $unite): static
  147.     {
  148.         $this->unite $unite;
  149.         return $this;
  150.     }
  151.     public function getEtat(): ?int
  152.     {
  153.         return $this->etat;
  154.     }
  155.     public function setEtat(?int $etat): static
  156.     {
  157.         $this->etat $etat;
  158.         return $this;
  159.     }
  160.     public function getDestination(): ?array
  161.     {
  162.         return $this->destination;
  163.     }
  164.     public function setDestination(?array $destination): static
  165.     {
  166.         $this->destination $destination;
  167.         return $this;
  168.     }
  169.     public function getEntreprisesCibles(): ?array
  170.     {
  171.         return $this->entreprises_cibles;
  172.     }
  173.     public function setEntreprisesCibles(?array $entreprises_cibles): static
  174.     {
  175.         $this->entreprises_cibles $entreprises_cibles;
  176.         return $this;
  177.     }
  178.     public function getPaysCibles(): ?array
  179.     {
  180.         return $this->pays_cibles;
  181.     }
  182.     public function setPaysCibles(?array $pays_cibles): static
  183.     {
  184.         $this->pays_cibles $pays_cibles;
  185.         return $this;
  186.     }
  187.     public function getVillesCibles(): ?array
  188.     {
  189.         return $this->villes_cibles;
  190.     }
  191.     public function setVillesCibles(?array $villes_cibles): static
  192.     {
  193.         $this->villes_cibles $villes_cibles;
  194.         return $this;
  195.     }
  196.     public function getCpCibles(): ?array
  197.     {
  198.         return $this->cp_cibles;
  199.     }
  200.     public function setCpCibles(?array $cp_cibles): static
  201.     {
  202.         $this->cp_cibles $cp_cibles;
  203.         return $this;
  204.     }
  205.     public function getTaillesEntrepriseCible(): ?array
  206.     {
  207.         return $this->tailles_entreprise_cible;
  208.     }
  209.     public function setTaillesEntrepriseCible(?array $tailles_entreprise_cible): static
  210.     {
  211.         $this->tailles_entreprise_cible $tailles_entreprise_cible;
  212.         return $this;
  213.     }
  214.     public function getPeriodicite(): ?string
  215.     {
  216.         return $this->periodicite;
  217.     }
  218.     public function setPeriodicite(?string $periodicite): static
  219.     {
  220.         $this->periodicite $periodicite;
  221.         return $this;
  222.     }
  223.     public function getDure(): ?string
  224.     {
  225.         return $this->dure;
  226.     }
  227.     public function setDure(?string $dure): static
  228.     {
  229.         $this->dure $dure;
  230.         return $this;
  231.     }
  232.     public function getBonnusGeo(): ?string
  233.     {
  234.         return $this->bonnus_geo;
  235.     }
  236.     public function setBonnusGeo(?string $bonnus_geo): static
  237.     {
  238.         $this->bonnus_geo $bonnus_geo;
  239.         return $this;
  240.     }
  241.     public function getBonnusEvent(): ?string
  242.     {
  243.         return $this->bonnus_event;
  244.     }
  245.     public function setBonnusEvent(?string $bonnus_event): static
  246.     {
  247.         $this->bonnus_event $bonnus_event;
  248.         return $this;
  249.     }
  250.     public function getBonnusPub(): ?string
  251.     {
  252.         return $this->bonnus_pub;
  253.     }
  254.     public function setBonnusPub(?string $bonnus_pub): static
  255.     {
  256.         $this->bonnus_pub $bonnus_pub;
  257.         return $this;
  258.     }
  259.     public function getRegimeTva(): ?string
  260.     {
  261.         return $this->regime_tva;
  262.     }
  263.     public function setRegimeTva(?string $regime_tva): static
  264.     {
  265.         $this->regime_tva $regime_tva;
  266.         return $this;
  267.     }
  268.     public function getFrequence(): ?string
  269.     {
  270.         return $this->frequence;
  271.     }
  272.     public function setFrequence(string $frequence): static
  273.     {
  274.         $this->frequence $frequence;
  275.         return $this;
  276.     }
  277.     public function isFormuleFirstPage(): ?bool
  278.     {
  279.         return $this->formule_first_page;
  280.     }
  281.     public function setFormuleFirstPage(?bool $formule_first_page): static
  282.     {
  283.         $this->formule_first_page $formule_first_page;
  284.         return $this;
  285.     }
  286.     public function getDureeBonnusEvent(): ?string
  287.     {
  288.         return $this->Duree_bonnus_event;
  289.     }
  290.     public function setDureeBonnusEvent(?string $Duree_bonnus_event): static
  291.     {
  292.         $this->Duree_bonnus_event $Duree_bonnus_event;
  293.         return $this;
  294.     }
  295.     public function getDureeBonnusPub(): ?string
  296.     {
  297.         return $this->duree_bonnus_pub;
  298.     }
  299.     public function setDureeBonnusPub(?string $duree_bonnus_pub): static
  300.     {
  301.         $this->duree_bonnus_pub $duree_bonnus_pub;
  302.         return $this;
  303.     }
  304.     public function getCodeFacturation(): ?string
  305.     {
  306.         return $this->codeFacturation;
  307.     }
  308.     public function setCodeFacturation(?string $codeFacturation): static
  309.     {
  310.         $this->codeFacturation $codeFacturation;
  311.         return $this;
  312.     }
  313.     public function getDescriptionFacture(): ?string
  314.     {
  315.         return $this->descriptionFacture;
  316.     }
  317.     public function setDescriptionFacture(?string $descriptionFacture): static
  318.     {
  319.         $this->descriptionFacture $descriptionFacture;
  320.         return $this;
  321.     }
  322.     public function getUserLimit(): ?array
  323.     {
  324.         return $this->user_limit;
  325.     }
  326.     public function setUserLimit(?array $user_limit): static
  327.     {
  328.         $this->user_limit $user_limit;
  329.         return $this;
  330.     }
  331.     public function getStripeIdProduct(): ?string
  332.     {
  333.         return $this->stripe_id_product;
  334.     }
  335.     public function setStripeIdProduct(?string $stripe_id_product): static
  336.     {
  337.         $this->stripe_id_product $stripe_id_product;
  338.         return $this;
  339.     }
  340.     public function getStripeIdPrice(): ?string
  341.     {
  342.         return $this->stripe_id_price;
  343.     }
  344.     public function setStripeIdPrice(?string $stripe_id_price): static
  345.     {
  346.         $this->stripe_id_price $stripe_id_price;
  347.         return $this;
  348.     }
  349.     public function getReglementFractionne(): ?string
  350.     {
  351.         return $this->reglement_fractionne;
  352.     }
  353.     public function setReglementFractionne(?string $reglement_fractionne): static
  354.     {
  355.         $this->reglement_fractionne $reglement_fractionne;
  356.         return $this;
  357.     }
  358. }