src/Entity/Structure.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\StructureRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Symfony\Component\Validator\Constraints as Assert;
  8. /**
  9.  * @ORM\Entity(repositoryClass=StructureRepository::class)
  10.  */
  11. class Structure
  12. {
  13.     /**
  14.      * @ORM\Id()
  15.      * @ORM\GeneratedValue()
  16.      * @ORM\Column(type="integer")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @ORM\Column(type="string", length=255, nullable=true)
  21.      * @Assert\Length(
  22.      *      max = 255,
  23.      *      maxMessage = "{{ limit }} caractères maximum"
  24.      * )
  25.      */
  26.     private $nom;
  27.     /**
  28.      * @ORM\Column(type="string", length=255, nullable=true)
  29.      * @Assert\Length(
  30.      *      max = 255,
  31.      *      maxMessage = "Le nom de la structure ne doit pas comporter plus de {{ limit }} caractères"
  32.      * )
  33.      */
  34.     private $adresse;
  35.     /**
  36.      * @ORM\Column(type="string", length=25, nullable=true)
  37.      */
  38.     private $adresseType;
  39.     /**
  40.      * @ORM\Column(type="string", length=10, nullable=true)
  41.      * @Assert\Length(
  42.      *      min = 5,
  43.      *      max = 5,
  44.      *      minMessage = "Le code postal doit comporter au moins {{ limit }} caractères",
  45.      *      maxMessage = "Le code postal ne doit pas comporter plus de {{ limit }} caractères",
  46.      *      exactMessage = "Le code postal doit comporter {{ limit }} caractères"
  47.      * )
  48.      * @Assert\Regex(
  49.      *     pattern     = "/^14|^27|^50|^61|^76/",
  50.      *     message="Seules les adresses en Normandie sont acceptées !"
  51.      * )
  52.      */
  53.     private $codePostal;
  54.     /**
  55.      * @ORM\Column(type="string", length=255, nullable=true)
  56.      * @Assert\Length(
  57.      *      max = 255,
  58.      *      maxMessage = "{{ limit }} caractères maximum"
  59.      * )
  60.      */
  61.     private $ville;
  62.     /**
  63.      * @ORM\Column(type="string", length=25, nullable=true)
  64.      * @Assert\Length(
  65.      *      min = 10,
  66.      *      max = 20,
  67.      *      minMessage = "Le téléphone doit comporter au moins {{ limit }} caractères",
  68.      *      maxMessage = "Le téléphone ne doit pas comporter plus de {{ limit }} caractères"
  69.      * )
  70.      */
  71.     private $telephoneStandard;
  72.     /**
  73.      * @ORM\Column(type="string", length=255, nullable=true)
  74.      * @Assert\Email(
  75.      *     message = "L'email '{{ value }}' n'est pas un email valide"
  76.      * )
  77.      */
  78.     private $mailStructure;
  79.     /**
  80.      * @ORM\Column(type="string", length=255, nullable=true)
  81.      * @Assert\Length(
  82.      *      max = 255,
  83.      *      maxMessage = "{{ limit }} caractères maximum"
  84.      * )
  85.      */
  86.     private $site;
  87.     /**
  88.      * @ORM\Column(type="string", length=255, nullable=true)
  89.      * @Assert\Length(
  90.      *      max = 255,
  91.      *      maxMessage = "{{ limit }} caractères maximum"
  92.      * )
  93.      */
  94.     private $reseauSocial;
  95.     /**
  96.      * @ORM\Column(type="string", length=255, nullable=true)
  97.      * @Assert\Length(
  98.      *      max = 255,
  99.      *      maxMessage = "{{ limit }} caractères maximum"
  100.      * )
  101.      */
  102.     private $dirigeantStatut;
  103.     /**
  104.      * @ORM\Column(type="string", length=255, nullable=true)
  105.      * @Assert\Length(
  106.      *      max = 255,
  107.      *      maxMessage = "{{ limit }} caractères maximum"
  108.      * )
  109.      */
  110.     private $dirigeantFonction;
  111.     /**
  112.      * @ORM\Column(type="string", length=255, nullable=true)
  113.      * @Assert\Length(
  114.      *      max = 255,
  115.      *      maxMessage = "{{ limit }} caractères maximum"
  116.      * )
  117.      */
  118.     private $dirigeantService;
  119.     /**
  120.      * @ORM\Column(type="string", length=25, nullable=true)
  121.      */
  122.     private $dirigeantCivilite;
  123.     /**
  124.      * @ORM\Column(type="string", length=255, nullable=true)
  125.      * @Assert\Length(
  126.      *      max = 255,
  127.      *      maxMessage = "{{ limit }} caractères maximum"
  128.      * )
  129.      */
  130.     private $dirigeantNom;
  131.     /**
  132.      * @ORM\Column(type="string", length=255, nullable=true)
  133.      * @Assert\Length(
  134.      *      max = 255,
  135.      *      maxMessage = "{{ limit }} caractères maximum"
  136.      * )
  137.      */
  138.     private $dirigeantPrenom;
  139.     /**
  140.      * @ORM\Column(type="string", length=25, nullable=true)
  141.      * @Assert\Length(
  142.      *      min = 10,
  143.      *      max = 20,
  144.      *      minMessage = "Le téléphone doit comporter au moins {{ limit }} caractères",
  145.      *      maxMessage = "Le téléphone ne doit pas comporter plus de {{ limit }} caractères"
  146.      * )
  147.      */
  148.     private $dirigeantTelephoneFixe;
  149.     /**
  150.      * @ORM\Column(type="string", length=25, nullable=true)
  151.      * @Assert\Length(
  152.      *      min = 10,
  153.      *      max = 20,
  154.      *      minMessage = "Le téléphone doit comporter au moins {{ limit }} caractères",
  155.      *      maxMessage = "Le téléphone ne doit pas comporter plus de {{ limit }} caractères"
  156.      * )
  157.      */
  158.     private $dirigeantTelephoneMobile;
  159.     /**
  160.      * @ORM\Column(type="string", length=255, nullable=true)
  161.      */
  162.     private $dirigeantMail;
  163.     /**
  164.      * @ORM\Column(type="string", length=255, nullable=true)
  165.      * @Assert\Length(
  166.      *      max = 255,
  167.      *      maxMessage = "{{ limit }} caractères maximum"
  168.      * )
  169.      */
  170.     private $dirigeantAdresse;
  171.     /**
  172.      * @ORM\Column(type="string", length=10, nullable=true)
  173.      * @Assert\Length(
  174.      *      min = 5,
  175.      *      max = 5,
  176.      *      minMessage = "Le code postal doit comporter au moins {{ limit }} caractères",
  177.      *      maxMessage = "Le code postal ne doit pas comporter plus de {{ limit }} caractères",
  178.      *      exactMessage = "Le code postal doit comporter {{ limit }} caractères"
  179.      * )
  180.      */
  181.     private $dirigeantCodePostal;
  182.     /**
  183.      * @ORM\Column(type="string", length=255, nullable=true)
  184.      * @Assert\Length(
  185.      *      max = 255,
  186.      *      maxMessage = "{{ limit }} caractères maximum"
  187.      * )
  188.      */
  189.     private $dirigeantVille;
  190.     /**
  191.      * @ORM\Column(type="string", length=255, nullable=true)
  192.      * @Assert\Length(
  193.      *      max = 255,
  194.      *      maxMessage = "{{ limit }} caractères maximum"
  195.      * )
  196.      */
  197.     private $formeJuridique;
  198.     /**
  199.      * @ORM\Column(type="datetime", nullable=true)
  200.      */
  201.     private $dateCreation;
  202.     /**
  203.      * @ORM\Column(type="string", length=20, nullable=true)
  204.      * @Assert\Length(
  205.      *      max = 20,
  206.      *      maxMessage = "{{ limit }} caractères maximum"
  207.      * )
  208.      */
  209.     private $siret;
  210.     /**
  211.      * @ORM\Column(type="string", length=255, nullable=true)
  212.      * @Assert\Length(
  213.      *      max = 255,
  214.      *      maxMessage = "{{ limit }} caractères maximum"
  215.      * )
  216.      */
  217.     private $codeNaf;
  218.     /**
  219.      * @ORM\Column(type="integer", nullable=true)
  220.      *
  221.      * @Assert\Regex(
  222.      *     pattern="/^[\d]*$/",
  223.      *     message="Seule une valeur positive est autorisée !"
  224.      * )
  225.      */
  226.     private $nbSalarie;
  227.     /**
  228.      * @ORM\Column(type="integer", nullable=true)
  229.      *
  230.      * @Assert\Regex(
  231.      *     pattern="/^[\d]*$/",
  232.      *     message="Seule une valeur positive est autorisée !"
  233.      * )
  234.      */
  235.     private $nbCdd;
  236.     /**
  237.      * @ORM\Column(type="integer", nullable=true)
  238.      *
  239.      * @Assert\Regex(
  240.      *     pattern="/^[\d]*$/",
  241.      *     message="Seule une valeur positive est autorisée !"
  242.      * )
  243.      */
  244.     private $nbJrsIntermittent;
  245.     /**
  246.      * @ORM\Column(type="boolean", nullable=true)
  247.      */
  248.     private $productionCineAudioCheck;
  249.     /**
  250.      * @ORM\Column(type="boolean", nullable=true)
  251.      */
  252.     private $productionComCheck;
  253.     /**
  254.      * @ORM\Column(type="boolean", nullable=true)
  255.      */
  256.     private $prestataireTechniqueCheck;
  257.     /**
  258.      * @ORM\Column(type="boolean", nullable=true)
  259.      */
  260.     private $prestataireLogistiqueCheck;
  261.     /**
  262.      * @ORM\Column(type="datetime")
  263.      */
  264.     private $createdAt;
  265.     /**
  266.      * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="structures")
  267.      * @ORM\JoinColumn(nullable=false)
  268.      */
  269.     private $user;
  270.     /**
  271.      * @ORM\OneToMany(targetEntity="App\Entity\Contact", mappedBy="structure", cascade={"persist"}, orphanRemoval=true)
  272.      */
  273.     private $contacts;
  274.     /**
  275.      * @ORM\Column(type="string", length=255, nullable=true)
  276.      * @Assert\Length(
  277.      *      max = 255,
  278.      *      maxMessage = "{{ limit }} caractères maximum"
  279.      * )
  280.      */
  281.     private $referent;
  282.     /**
  283.      * @ORM\Column(type="datetime", nullable=true)
  284.      */
  285.     private $modifiedAt;
  286.     /**
  287.      * @ORM\Column(type="string", length=25)
  288.      * @Assert\Length(
  289.      *      max = 25,
  290.      *      maxMessage = "{{ limit }} caractères maximum"
  291.      * )
  292.      */
  293.     private $statut;
  294.     /**
  295.      * @ORM\Column(type="datetime")
  296.      */
  297.     private $statutDate;
  298.     /**
  299.      * @ORM\Column(type="string", length=50, nullable=true)
  300.      */
  301.     private $situationPro;
  302.     /**
  303.      * @ORM\OneToMany(targetEntity="App\Entity\ReseauSocial", mappedBy="structure", cascade={"persist"}, orphanRemoval=true)
  304.      */
  305.     private $reseauxSociaux;
  306.     /**
  307.      * @ORM\Column(type="boolean", nullable=true)
  308.      */
  309.     private $strSelected;
  310.     public function __construct()
  311.     {
  312.         $this->contacts = new ArrayCollection();
  313.         $this->reseauxSociaux = new ArrayCollection();
  314.         $this->statut  'nouveau';
  315.         $this->statutDate = new \DateTime();
  316.     }
  317.     public function getId(): ?int
  318.     {
  319.         return $this->id;
  320.     }
  321.     public function getNom(): ?string
  322.     {
  323.         return $this->nom;
  324.     }
  325.     public function setNom(?string $nom): self
  326.     {
  327.         $this->nom $nom;
  328.         return $this;
  329.     }
  330.     public function getAdresse(): ?string
  331.     {
  332.         return $this->adresse;
  333.     }
  334.     public function setAdresse(?string $adresse): self
  335.     {
  336.         $this->adresse $adresse;
  337.         return $this;
  338.     }
  339.     public function getAdresseType(): ?string
  340.     {
  341.         return $this->adresseType;
  342.     }
  343.     public function setAdresseType(?string $adresseType): self
  344.     {
  345.         $this->adresseType $adresseType;
  346.         return $this;
  347.     }
  348.     public function getCodePostal(): ?string
  349.     {
  350.         return $this->codePostal;
  351.     }
  352.     public function setCodePostal(?string $codePostal): self
  353.     {
  354.         $this->codePostal $codePostal;
  355.         return $this;
  356.     }
  357.     public function getVille(): ?string
  358.     {
  359.         return $this->ville;
  360.     }
  361.     public function setVille(?string $ville): self
  362.     {
  363.         $this->ville $ville;
  364.         return $this;
  365.     }
  366.     public function getTelephoneStandard(): ?string
  367.     {
  368.         return $this->telephoneStandard;
  369.     }
  370.     public function setTelephoneStandard(string $telephoneStandard): self
  371.     {
  372.         $this->telephoneStandard $telephoneStandard;
  373.         return $this;
  374.     }
  375.     public function getMailStructure(): ?string
  376.     {
  377.         return $this->mailStructure;
  378.     }
  379.     public function setMailStructure(string $mailStructure): self
  380.     {
  381.         $this->mailStructure $mailStructure;
  382.         return $this;
  383.     }
  384.     public function getSite(): ?string
  385.     {
  386.         return $this->site;
  387.     }
  388.     public function setSite(?string $site): self
  389.     {
  390.         $this->site $site;
  391.         return $this;
  392.     }
  393.     public function getReseauSocial(): ?string
  394.     {
  395.         return $this->reseauSocial;
  396.     }
  397.     public function setReseauSocial(?string $reseauSocial): self
  398.     {
  399.         $this->reseauSocial $reseauSocial;
  400.         return $this;
  401.     }
  402.     public function getDirigeantStatut(): ?string
  403.     {
  404.         return $this->dirigeantStatut;
  405.     }
  406.     public function setDirigeantStatut(?string $dirigeantStatut): self
  407.     {
  408.         $this->dirigeantStatut $dirigeantStatut;
  409.         return $this;
  410.     }
  411.     public function getDirigeantFonction(): ?string
  412.     {
  413.         return $this->dirigeantFonction;
  414.     }
  415.     public function setDirigeantFonction(?string $dirigeantFonction): self
  416.     {
  417.         $this->dirigeantFonction $dirigeantFonction;
  418.         return $this;
  419.     }
  420.     public function getDirigeantService(): ?string
  421.     {
  422.         return $this->dirigeantService;
  423.     }
  424.     public function setDirigeantService(?string $dirigeantService): self
  425.     {
  426.         $this->dirigeantService $dirigeantService;
  427.         return $this;
  428.     }
  429.     public function getDirigeantCivilite(): ?string
  430.     {
  431.         return $this->dirigeantCivilite;
  432.     }
  433.     public function setDirigeantCivilite(?string $dirigeantCivilite): self
  434.     {
  435.         $this->dirigeantCivilite $dirigeantCivilite;
  436.         return $this;
  437.     }
  438.     public function getDirigeantNom(): ?string
  439.     {
  440.         return $this->dirigeantNom;
  441.     }
  442.     public function setDirigeantNom(?string $dirigeantNom): self
  443.     {
  444.         $this->dirigeantNom $dirigeantNom;
  445.         return $this;
  446.     }
  447.     public function getDirigeantPrenom(): ?string
  448.     {
  449.         return $this->dirigeantPrenom;
  450.     }
  451.     public function setDirigeantPrenom(?string $dirigeantPrenom): self
  452.     {
  453.         $this->dirigeantPrenom $dirigeantPrenom;
  454.         return $this;
  455.     }
  456.     public function getDirigeantTelephoneFixe(): ?string
  457.     {
  458.         return $this->dirigeantTelephoneFixe;
  459.     }
  460.     public function setDirigeantTelephoneFixe(?string $dirigeantTelephoneFixe): self
  461.     {
  462.         $this->dirigeantTelephoneFixe $dirigeantTelephoneFixe;
  463.         return $this;
  464.     }
  465.     public function getDirigeantTelephoneMobile(): ?string
  466.     {
  467.         return $this->dirigeantTelephoneMobile;
  468.     }
  469.     public function setDirigeantTelephoneMobile(?string $dirigeantTelephoneMobile): self
  470.     {
  471.         $this->dirigeantTelephoneMobile $dirigeantTelephoneMobile;
  472.         return $this;
  473.     }
  474.     public function getDirigeantMail(): ?string
  475.     {
  476.         return $this->dirigeantMail;
  477.     }
  478.     public function setDirigeantMail(?string $dirigeantMail): self
  479.     {
  480.         $this->dirigeantMail $dirigeantMail;
  481.         return $this;
  482.     }
  483.     public function getDirigeantAdresse(): ?string
  484.     {
  485.         return $this->dirigeantAdresse;
  486.     }
  487.     public function setDirigeantAdresse(?string $dirigeantAdresse): self
  488.     {
  489.         $this->dirigeantAdresse $dirigeantAdresse;
  490.         return $this;
  491.     }
  492.     public function getDirigeantCodePostal(): ?string
  493.     {
  494.         return $this->dirigeantCodePostal;
  495.     }
  496.     public function setDirigeantCodePostal(?string $dirigeantCodePostal): self
  497.     {
  498.         $this->dirigeantCodePostal $dirigeantCodePostal;
  499.         return $this;
  500.     }
  501.     public function getDirigeantVille(): ?string
  502.     {
  503.         return $this->dirigeantVille;
  504.     }
  505.     public function setDirigeantVille(?string $dirigeantVille): self
  506.     {
  507.         $this->dirigeantVille $dirigeantVille;
  508.         return $this;
  509.     }
  510.     public function getFormeJuridique(): ?string
  511.     {
  512.         return $this->formeJuridique;
  513.     }
  514.     public function setFormeJuridique(?string $formeJuridique): self
  515.     {
  516.         $this->formeJuridique $formeJuridique;
  517.         return $this;
  518.     }
  519.     public function getDateCreation(): ?\DateTimeInterface
  520.     {
  521.         return $this->dateCreation;
  522.     }
  523.     public function setDateCreation(?\DateTimeInterface $dateCreation): self
  524.     {
  525.         $this->dateCreation $dateCreation;
  526.         return $this;
  527.     }
  528.     public function getSiret(): ?string
  529.     {
  530.         return $this->siret;
  531.     }
  532.     public function setSiret(?string $siret): self
  533.     {
  534.         $this->siret $siret;
  535.         return $this;
  536.     }
  537.     public function getCodeNaf(): ?string
  538.     {
  539.         return $this->codeNaf;
  540.     }
  541.     public function setCodeNaf(?string $codeNaf): self
  542.     {
  543.         $this->codeNaf $codeNaf;
  544.         return $this;
  545.     }
  546.     public function getNbSalarie(): ?int
  547.     {
  548.         return $this->nbSalarie;
  549.     }
  550.     public function setNbSalarie(?int $nbSalarie): self
  551.     {
  552.         $this->nbSalarie $nbSalarie;
  553.         return $this;
  554.     }
  555.     public function getNbCdd(): ?int
  556.     {
  557.         return $this->nbCdd;
  558.     }
  559.     public function setNbCdd(?int $nbCdd): self
  560.     {
  561.         $this->nbCdd $nbCdd;
  562.         return $this;
  563.     }
  564.     public function getNbJrsIntermittent(): ?int
  565.     {
  566.         return $this->nbJrsIntermittent;
  567.     }
  568.     public function setNbJrsIntermittent(?int $nbJrsIntermittent): self
  569.     {
  570.         $this->nbJrsIntermittent $nbJrsIntermittent;
  571.         return $this;
  572.     }
  573.     public function getProductionCineAudioCheck(): ?bool
  574.     {
  575.         return $this->productionCineAudioCheck;
  576.     }
  577.     public function setProductionCineAudioCheck(?bool $productionCineAudioCheck): self
  578.     {
  579.         $this->productionCineAudioCheck $productionCineAudioCheck;
  580.         return $this;
  581.     }
  582.     public function getProductionComCheck(): ?bool
  583.     {
  584.         return $this->productionComCheck;
  585.     }
  586.     public function setProductionComCheck(?bool $productionComCheck): self
  587.     {
  588.         $this->productionComCheck $productionComCheck;
  589.         return $this;
  590.     }
  591.     public function getPrestataireTechniqueCheck(): ?bool
  592.     {
  593.         return $this->prestataireTechniqueCheck;
  594.     }
  595.     public function setPrestataireTechniqueCheck(?bool $prestataireTechniqueCheck): self
  596.     {
  597.         $this->prestataireTechniqueCheck $prestataireTechniqueCheck;
  598.         return $this;
  599.     }
  600.     public function getPrestataireLogistiqueCheck(): ?bool
  601.     {
  602.         return $this->prestataireLogistiqueCheck;
  603.     }
  604.     public function setPrestataireLogistiqueCheck(?bool $prestataireLogistiqueCheck): self
  605.     {
  606.         $this->prestataireLogistiqueCheck $prestataireLogistiqueCheck;
  607.         return $this;
  608.     }
  609.     public function getCreatedAt(): ?\DateTimeInterface
  610.     {
  611.         return $this->createdAt;
  612.     }
  613.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  614.     {
  615.         $this->createdAt $createdAt;
  616.         return $this;
  617.     }
  618.     public function getUser(): ?User
  619.     {
  620.         return $this->user;
  621.     }
  622.     public function setUser(?User $user): self
  623.     {
  624.         $this->user $user;
  625.         return $this;
  626.     }
  627.     /**
  628.      * @return Collection|Contact[]
  629.      */
  630.     public function getContacts(): Collection
  631.     {
  632.         return $this->contacts;
  633.     }
  634.     public function addContact(Contact $contact): self
  635.     {
  636.         if (!$this->contacts->contains($contact)) {
  637.             $this->contacts[] = $contact;
  638.             $contact->setStructure($this);
  639.         }
  640.         return $this;
  641.     }
  642.     public function removeContact(Contact $contact): self
  643.     {
  644.         if ($this->contacts->contains($contact)) {
  645.             $this->contacts->removeElement($contact);
  646.             // set the owning side to null (unless already changed)
  647.             if ($contact->getStructure() === $this) {
  648.                 $contact->setStructure(null);
  649.             }
  650.         }
  651.         return $this;
  652.     }
  653.     public function getReferent(): ?string
  654.     {
  655.         return $this->referent;
  656.     }
  657.     public function setReferent(string $referent): self
  658.     {
  659.         $this->referent $referent;
  660.         return $this;
  661.     }
  662.     public function getModifiedAt(): ?\DateTimeInterface
  663.     {
  664.         return $this->modifiedAt;
  665.     }
  666.     public function setModifiedAt(\DateTimeInterface $modifiedAt null): self
  667.     {
  668.         $this->modifiedAt $modifiedAt;
  669.         return $this;
  670.     }
  671.     public function getStatut(): ?string
  672.     {
  673.         return $this->statut;
  674.     }
  675.     public function setStatut(string $statut): self
  676.     {
  677.         $this->statut $statut;
  678.         return $this;
  679.     }
  680.     public function getStatutDate(): ?\DateTimeInterface
  681.     {
  682.         return $this->statutDate;
  683.     }
  684.     public function setStatutDate(\DateTimeInterface $statutDate): self
  685.     {
  686.         $this->statutDate $statutDate;
  687.         return $this;
  688.     }
  689.     public function getSituationPro(): ?string
  690.     {
  691.         return $this->situationPro;
  692.     }
  693.     public function setSituationPro(?string $situationPro): self
  694.     {
  695.         $this->situationPro $situationPro;
  696.         return $this;
  697.     }
  698.     /**
  699.      * @return Collection|ReseauSocial[]
  700.      */
  701.     public function getReseauxSociaux(): Collection
  702.     {
  703.         return $this->reseauxSociaux;
  704.     }
  705.     public function addReseauxSociaux(ReseauSocial $reseauxSociaux): self
  706.     {
  707.         if (!$this->reseauxSociaux->contains($reseauxSociaux)) {
  708.             $this->reseauxSociaux[] = $reseauxSociaux;
  709.             $reseauxSociaux->setStructure($this);
  710.         }
  711.         return $this;
  712.     }
  713.     public function removeReseauxSociaux(ReseauSocial $reseauxSociaux): self
  714.     {
  715.         if ($this->reseauxSociaux->contains($reseauxSociaux)) {
  716.             $this->reseauxSociaux->removeElement($reseauxSociaux);
  717.             // set the owning side to null (unless already changed)
  718.             if ($reseauxSociaux->getStructure() === $this) {
  719.                 $reseauxSociaux->setStructure(null);
  720.             }
  721.         }
  722.         return $this;
  723.     }
  724.     public function getStrSelected(): ?bool
  725.     {
  726.         return $this->strSelected;
  727.     }
  728.     public function setStrSelected(?bool $strSelected): self
  729.     {
  730.         $this->strSelected $strSelected;
  731.         return $this;
  732.     }
  733. }