Deprecated: Constant E_STRICT is deprecated in /home/normanv/www/annuairepro/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/normanv/www/annuairepro/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

src/Entity/Structure.php line 920

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\HttpFoundation\File\File;
  8. use Symfony\Component\HttpFoundation\File\UploadedFile;
  9. use Symfony\Component\Validator\Constraints as Assert;
  10. use Vich\UploaderBundle\Entity\File as EmbeddedFile;
  11. use Vich\UploaderBundle\Mapping\Annotation as Vich;
  12. /**
  13.  * @ORM\Entity(repositoryClass=StructureRepository::class)
  14.  * @Vich\Uploadable
  15.  */
  16. class Structure
  17. {
  18.     /**
  19.      * @ORM\Id()
  20.      * @ORM\GeneratedValue()
  21.      * @ORM\Column(type="integer")
  22.      */
  23.     private $id;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      * @Assert\Length(
  27.      *      max = 255,
  28.      *      maxMessage = "{{ limit }} caractères maximum"
  29.      * )
  30.      */
  31.     private $nom;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      * @Assert\Length(
  35.      *      max = 255,
  36.      *      maxMessage = "Le nom de la structure ne doit pas comporter plus de {{ limit }} caractères"
  37.      * )
  38.      */
  39.     private $adresse;
  40.     /**
  41.      * @ORM\Column(type="string", length=25, nullable=true)
  42.      */
  43.     private $adresseType;
  44.     /**
  45.      * @ORM\Column(type="string", length=10, nullable=true)
  46.      * @Assert\Length(
  47.      *      min = 5,
  48.      *      max = 5,
  49.      *      minMessage = "Le code postal doit comporter au moins {{ limit }} caractères",
  50.      *      maxMessage = "Le code postal ne doit pas comporter plus de {{ limit }} caractères",
  51.      *      exactMessage = "Le code postal doit comporter {{ limit }} caractères"
  52.      * )
  53.      * @Assert\Regex(
  54.      *     pattern     = "/^14|^27|^50|^61|^76/",
  55.      *     message="Seules les adresses en Normandie sont acceptées !"
  56.      * )
  57.      */
  58.     private $codePostal;
  59.     /**
  60.      * @ORM\Column(type="string", length=255, nullable=true)
  61.      * @Assert\Length(
  62.      *      max = 255,
  63.      *      maxMessage = "{{ limit }} caractères maximum"
  64.      * )
  65.      */
  66.     private $ville;
  67.     /**
  68.      * @ORM\Column(type="string", length=25, nullable=true)
  69.      * @Assert\Length(
  70.      *      min = 10,
  71.      *      max = 20,
  72.      *      minMessage = "Le téléphone doit comporter au moins {{ limit }} caractères",
  73.      *      maxMessage = "Le téléphone ne doit pas comporter plus de {{ limit }} caractères"
  74.      * )
  75.      */
  76.     private $telephoneStandard;
  77.     /**
  78.      * @ORM\Column(type="string", length=255, nullable=true)
  79.      * @Assert\Email(
  80.      *     message = "L'email '{{ value }}' n'est pas un email valide"
  81.      * )
  82.      */
  83.     private $mailStructure;
  84.     /**
  85.      * @ORM\Column(type="string", length=255, nullable=true)
  86.      * @Assert\Length(
  87.      *      max = 255,
  88.      *      maxMessage = "{{ limit }} caractères maximum"
  89.      * )
  90.      */
  91.     private $site;
  92.     /**
  93.      * @ORM\Column(type="string", length=255, nullable=true)
  94.      * @Assert\Length(
  95.      *      max = 255,
  96.      *      maxMessage = "{{ limit }} caractères maximum"
  97.      * )
  98.      */
  99.     private $reseauSocial;
  100.     /**
  101.      * @ORM\Column(type="string", length=255, nullable=true)
  102.      * @Assert\Length(
  103.      *      max = 255,
  104.      *      maxMessage = "{{ limit }} caractères maximum"
  105.      * )
  106.      */
  107.     private $dirigeantStatut;
  108.     /**
  109.      * @ORM\Column(type="string", length=255, nullable=true)
  110.      * @Assert\Length(
  111.      *      max = 255,
  112.      *      maxMessage = "{{ limit }} caractères maximum"
  113.      * )
  114.      */
  115.     private $dirigeantFonction;
  116.     /**
  117.      * @ORM\Column(type="string", length=255, nullable=true)
  118.      * @Assert\Length(
  119.      *      max = 255,
  120.      *      maxMessage = "{{ limit }} caractères maximum"
  121.      * )
  122.      */
  123.     private $dirigeantService;
  124.     /**
  125.      * @ORM\Column(type="string", length=25, nullable=true)
  126.      */
  127.     private $dirigeantCivilite;
  128.     /**
  129.      * @ORM\Column(type="string", length=255, nullable=true)
  130.      * @Assert\Length(
  131.      *      max = 255,
  132.      *      maxMessage = "{{ limit }} caractères maximum"
  133.      * )
  134.      */
  135.     private $dirigeantNom;
  136.     /**
  137.      * @ORM\Column(type="string", length=255, nullable=true)
  138.      * @Assert\Length(
  139.      *      max = 255,
  140.      *      maxMessage = "{{ limit }} caractères maximum"
  141.      * )
  142.      */
  143.     private $dirigeantPrenom;
  144.     /**
  145.      * @ORM\Column(type="string", length=25, nullable=true)
  146.      * @Assert\Length(
  147.      *      min = 10,
  148.      *      max = 20,
  149.      *      minMessage = "Le téléphone doit comporter au moins {{ limit }} caractères",
  150.      *      maxMessage = "Le téléphone ne doit pas comporter plus de {{ limit }} caractères"
  151.      * )
  152.      */
  153.     private $dirigeantTelephoneFixe;
  154.     /**
  155.      * @ORM\Column(type="string", length=25, nullable=true)
  156.      * @Assert\Length(
  157.      *      min = 10,
  158.      *      max = 20,
  159.      *      minMessage = "Le téléphone doit comporter au moins {{ limit }} caractères",
  160.      *      maxMessage = "Le téléphone ne doit pas comporter plus de {{ limit }} caractères"
  161.      * )
  162.      */
  163.     private $dirigeantTelephoneMobile;
  164.     /**
  165.      * @ORM\Column(type="string", length=255, nullable=true)
  166.      */
  167.     private $dirigeantMail;
  168.     /**
  169.      * @ORM\Column(type="string", length=255, nullable=true)
  170.      * @Assert\Length(
  171.      *      max = 255,
  172.      *      maxMessage = "{{ limit }} caractères maximum"
  173.      * )
  174.      */
  175.     private $dirigeantAdresse;
  176.     /**
  177.      * @ORM\Column(type="string", length=10, nullable=true)
  178.      * @Assert\Length(
  179.      *      min = 5,
  180.      *      max = 5,
  181.      *      minMessage = "Le code postal doit comporter au moins {{ limit }} caractères",
  182.      *      maxMessage = "Le code postal ne doit pas comporter plus de {{ limit }} caractères",
  183.      *      exactMessage = "Le code postal doit comporter {{ limit }} caractères"
  184.      * )
  185.      */
  186.     private $dirigeantCodePostal;
  187.     /**
  188.      * @ORM\Column(type="string", length=255, nullable=true)
  189.      * @Assert\Length(
  190.      *      max = 255,
  191.      *      maxMessage = "{{ limit }} caractères maximum"
  192.      * )
  193.      */
  194.     private $dirigeantVille;
  195.     /**
  196.      * @ORM\Column(type="string", length=255, nullable=true)
  197.      * @Assert\Length(
  198.      *      max = 255,
  199.      *      maxMessage = "{{ limit }} caractères maximum"
  200.      * )
  201.      */
  202.     private $formeJuridique;
  203.     /**
  204.      * @ORM\Column(type="datetime", nullable=true)
  205.      */
  206.     private $dateCreation;
  207.     /**
  208.      * @ORM\Column(type="string", length=20, nullable=true)
  209.      * @Assert\Length(
  210.      *      max = 20,
  211.      *      maxMessage = "{{ limit }} caractères maximum"
  212.      * )
  213.      */
  214.     private $siret;
  215.     /**
  216.      * @ORM\Column(type="string", length=255, nullable=true)
  217.      * @Assert\Length(
  218.      *      max = 255,
  219.      *      maxMessage = "{{ limit }} caractères maximum"
  220.      * )
  221.      */
  222.     private $codeNaf;
  223.     /**
  224.      * @ORM\Column(type="integer", nullable=true)
  225.      *
  226.      * @Assert\Regex(
  227.      *     pattern="/^[\d]*$/",
  228.      *     message="Seule une valeur positive est autorisée !"
  229.      * )
  230.      */
  231.     private $nbSalarie;
  232.     /**
  233.      * @ORM\Column(type="integer", nullable=true)
  234.      *
  235.      * @Assert\Regex(
  236.      *     pattern="/^[\d]*$/",
  237.      *     message="Seule une valeur positive est autorisée !"
  238.      * )
  239.      */
  240.     private $nbSalarieNormand;
  241.     /**
  242.      * @ORM\Column(type="integer", nullable=true)
  243.      *
  244.      * @Assert\Regex(
  245.      *     pattern="/^[\d]*$/",
  246.      *     message="Seule une valeur positive est autorisée !"
  247.      * )
  248.      */
  249.     private $nbCdd;
  250.     /**
  251.      * @ORM\Column(type="integer", nullable=true)
  252.      *
  253.      * @Assert\Regex(
  254.      *     pattern="/^[\d]*$/",
  255.      *     message="Seule une valeur positive est autorisée !"
  256.      * )
  257.      */
  258.     private $nbJrsIntermittent;
  259.     /**
  260.      * @ORM\Column(type="string", length=5, nullable=true)
  261.      */
  262.     private $bureauNormandie;
  263.     /**
  264.      * @ORM\Column(type="boolean", nullable=true)
  265.      */
  266.     private $productionCineAudioCheck;
  267.     /**
  268.      * @ORM\Column(type="boolean", nullable=true)
  269.      */
  270.     private $productionComCheck;
  271.     /**
  272.      * @ORM\Column(type="boolean", nullable=true)
  273.      */
  274.     private $prestataireTechniqueCheck;
  275.     /**
  276.      * @ORM\Column(type="boolean", nullable=true)
  277.      */
  278.     private $prestataireLogistiqueCheck;
  279.     /**
  280.      * @ORM\Column(type="datetime")
  281.      */
  282.     private $createdAt;
  283.     /**
  284.      * @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="structures")
  285.      * @ORM\JoinColumn(nullable=false)
  286.      */
  287.     private $user;
  288.     /**
  289.      * @ORM\OneToMany(targetEntity="App\Entity\Contact", mappedBy="structure", cascade={"persist"}, orphanRemoval=true)
  290.      */
  291.     private $contacts;
  292.     /**
  293.      * @ORM\Column(type="string", length=255, nullable=true)
  294.      * @Assert\Length(
  295.      *      max = 255,
  296.      *      maxMessage = "{{ limit }} caractères maximum"
  297.      * )
  298.      */
  299.     private $referent;
  300.     /**
  301.      * @ORM\Column(type="datetime", nullable=true)
  302.      */
  303.     private $modifiedAt;
  304.     /**
  305.      * @ORM\Column(type="string", length=25)
  306.      * @Assert\Length(
  307.      *      max = 25,
  308.      *      maxMessage = "{{ limit }} caractères maximum"
  309.      * )
  310.      */
  311.     private $statut;
  312.     /**
  313.      * @ORM\Column(type="datetime")
  314.      */
  315.     private $statutDate;
  316.     /**
  317.      * @ORM\Column(type="string", length=50, nullable=true)
  318.      */
  319.     private $situationPro;
  320.     /**
  321.      * @ORM\OneToMany(targetEntity="App\Entity\ReseauSocial", mappedBy="structure", cascade={"persist"}, orphanRemoval=true)
  322.      */
  323.     private $reseauxSociaux;
  324.     /**
  325.      * @ORM\Column(type="boolean", nullable=true)
  326.      */
  327.     private $strSelected;
  328.     /**
  329.      * NOTE: This is not a mapped field of entity metadata, just a simple property.
  330.      *
  331.      * @Vich\UploadableField(mapping="kbis", fileNameProperty="kbis.name", size="kbis.size", mimeType="kbis.mimeType", originalName="kbis.originalName", dimensions="kbis.dimensions")
  332.      *
  333.      * @var File
  334.      */
  335.     private $kbisFile;
  336.     /**
  337.      * @ORM\Embedded(class="Vich\UploaderBundle\Entity\File")
  338.      *
  339.      * @var EmbeddedFile
  340.      */
  341.     private $kbis;
  342.     /**
  343.      * @ORM\Column(type="datetime", nullable=true)
  344.      *
  345.      * @var \DateTime
  346.      */
  347.     private $kbisUpdatedAt;
  348.     /**
  349.      * @ORM\Column(type="string", length=5, nullable=true)
  350.      */
  351.     private $localNormandie;
  352.     /**
  353.      * @ORM\Column(type="string", length=255, nullable=true)
  354.      */
  355.     private $localNormandieAdresse;
  356.     /**
  357.      * @ORM\Column(type="integer", nullable=true)
  358.      */
  359.     private $producteurNb;
  360.     /**
  361.      * @ORM\Column(type="integer", nullable=true)
  362.      */
  363.     private $producteurNormandNb;
  364.     /**
  365.      * @ORM\Column(type="integer", nullable=true)
  366.      */
  367.     private $filmProduitNb;
  368.     public function __construct()
  369.     {
  370.         $this->contacts = new ArrayCollection();
  371.         $this->reseauxSociaux = new ArrayCollection();
  372.         $this->kbis = new EmbeddedFile();
  373.         $this->statut  'nouveau';
  374.         $this->statutDate = new \DateTime();
  375.     }
  376.     public function getId(): ?int
  377.     {
  378.         return $this->id;
  379.     }
  380.     public function getNom(): ?string
  381.     {
  382.         return $this->nom;
  383.     }
  384.     public function setNom(?string $nom): self
  385.     {
  386.         $this->nom $nom;
  387.         return $this;
  388.     }
  389.     public function getAdresse(): ?string
  390.     {
  391.         return $this->adresse;
  392.     }
  393.     public function setAdresse(?string $adresse): self
  394.     {
  395.         $this->adresse $adresse;
  396.         return $this;
  397.     }
  398.     public function getAdresseType(): ?string
  399.     {
  400.         return $this->adresseType;
  401.     }
  402.     public function setAdresseType(?string $adresseType): self
  403.     {
  404.         $this->adresseType $adresseType;
  405.         return $this;
  406.     }
  407.     public function getCodePostal(): ?string
  408.     {
  409.         return $this->codePostal;
  410.     }
  411.     public function setCodePostal(?string $codePostal): self
  412.     {
  413.         $this->codePostal $codePostal;
  414.         return $this;
  415.     }
  416.     public function getVille(): ?string
  417.     {
  418.         return $this->ville;
  419.     }
  420.     public function setVille(?string $ville): self
  421.     {
  422.         $this->ville $ville;
  423.         return $this;
  424.     }
  425.     public function getTelephoneStandard(): ?string
  426.     {
  427.         return $this->telephoneStandard;
  428.     }
  429.     public function setTelephoneStandard(string $telephoneStandard): self
  430.     {
  431.         $this->telephoneStandard $telephoneStandard;
  432.         return $this;
  433.     }
  434.     public function getMailStructure(): ?string
  435.     {
  436.         return $this->mailStructure;
  437.     }
  438.     public function setMailStructure(string $mailStructure): self
  439.     {
  440.         $this->mailStructure $mailStructure;
  441.         return $this;
  442.     }
  443.     public function getSite(): ?string
  444.     {
  445.         return $this->site;
  446.     }
  447.     public function setSite(?string $site): self
  448.     {
  449.         $this->site $site;
  450.         return $this;
  451.     }
  452.     public function getReseauSocial(): ?string
  453.     {
  454.         return $this->reseauSocial;
  455.     }
  456.     public function setReseauSocial(?string $reseauSocial): self
  457.     {
  458.         $this->reseauSocial $reseauSocial;
  459.         return $this;
  460.     }
  461.     public function getDirigeantStatut(): ?string
  462.     {
  463.         return $this->dirigeantStatut;
  464.     }
  465.     public function setDirigeantStatut(?string $dirigeantStatut): self
  466.     {
  467.         $this->dirigeantStatut $dirigeantStatut;
  468.         return $this;
  469.     }
  470.     public function getDirigeantFonction(): ?string
  471.     {
  472.         return $this->dirigeantFonction;
  473.     }
  474.     public function setDirigeantFonction(?string $dirigeantFonction): self
  475.     {
  476.         $this->dirigeantFonction $dirigeantFonction;
  477.         return $this;
  478.     }
  479.     public function getDirigeantService(): ?string
  480.     {
  481.         return $this->dirigeantService;
  482.     }
  483.     public function setDirigeantService(?string $dirigeantService): self
  484.     {
  485.         $this->dirigeantService $dirigeantService;
  486.         return $this;
  487.     }
  488.     public function getDirigeantCivilite(): ?string
  489.     {
  490.         return $this->dirigeantCivilite;
  491.     }
  492.     public function setDirigeantCivilite(?string $dirigeantCivilite): self
  493.     {
  494.         $this->dirigeantCivilite $dirigeantCivilite;
  495.         return $this;
  496.     }
  497.     public function getDirigeantNom(): ?string
  498.     {
  499.         return $this->dirigeantNom;
  500.     }
  501.     public function setDirigeantNom(?string $dirigeantNom): self
  502.     {
  503.         $this->dirigeantNom $dirigeantNom;
  504.         return $this;
  505.     }
  506.     public function getDirigeantPrenom(): ?string
  507.     {
  508.         return $this->dirigeantPrenom;
  509.     }
  510.     public function setDirigeantPrenom(?string $dirigeantPrenom): self
  511.     {
  512.         $this->dirigeantPrenom $dirigeantPrenom;
  513.         return $this;
  514.     }
  515.     public function getDirigeantTelephoneFixe(): ?string
  516.     {
  517.         return $this->dirigeantTelephoneFixe;
  518.     }
  519.     public function setDirigeantTelephoneFixe(?string $dirigeantTelephoneFixe): self
  520.     {
  521.         $this->dirigeantTelephoneFixe $dirigeantTelephoneFixe;
  522.         return $this;
  523.     }
  524.     public function getDirigeantTelephoneMobile(): ?string
  525.     {
  526.         return $this->dirigeantTelephoneMobile;
  527.     }
  528.     public function setDirigeantTelephoneMobile(?string $dirigeantTelephoneMobile): self
  529.     {
  530.         $this->dirigeantTelephoneMobile $dirigeantTelephoneMobile;
  531.         return $this;
  532.     }
  533.     public function getDirigeantMail(): ?string
  534.     {
  535.         return $this->dirigeantMail;
  536.     }
  537.     public function setDirigeantMail(?string $dirigeantMail): self
  538.     {
  539.         $this->dirigeantMail $dirigeantMail;
  540.         return $this;
  541.     }
  542.     public function getDirigeantAdresse(): ?string
  543.     {
  544.         return $this->dirigeantAdresse;
  545.     }
  546.     public function setDirigeantAdresse(?string $dirigeantAdresse): self
  547.     {
  548.         $this->dirigeantAdresse $dirigeantAdresse;
  549.         return $this;
  550.     }
  551.     public function getDirigeantCodePostal(): ?string
  552.     {
  553.         return $this->dirigeantCodePostal;
  554.     }
  555.     public function setDirigeantCodePostal(?string $dirigeantCodePostal): self
  556.     {
  557.         $this->dirigeantCodePostal $dirigeantCodePostal;
  558.         return $this;
  559.     }
  560.     public function getDirigeantVille(): ?string
  561.     {
  562.         return $this->dirigeantVille;
  563.     }
  564.     public function setDirigeantVille(?string $dirigeantVille): self
  565.     {
  566.         $this->dirigeantVille $dirigeantVille;
  567.         return $this;
  568.     }
  569.     public function getFormeJuridique(): ?string
  570.     {
  571.         return $this->formeJuridique;
  572.     }
  573.     public function setFormeJuridique(?string $formeJuridique): self
  574.     {
  575.         $this->formeJuridique $formeJuridique;
  576.         return $this;
  577.     }
  578.     public function getDateCreation(): ?\DateTimeInterface
  579.     {
  580.         return $this->dateCreation;
  581.     }
  582.     public function setDateCreation(?\DateTimeInterface $dateCreation): self
  583.     {
  584.         $this->dateCreation $dateCreation;
  585.         return $this;
  586.     }
  587.     public function getSiret(): ?string
  588.     {
  589.         return $this->siret;
  590.     }
  591.     public function setSiret(?string $siret): self
  592.     {
  593.         $this->siret $siret;
  594.         return $this;
  595.     }
  596.     public function getCodeNaf(): ?string
  597.     {
  598.         return $this->codeNaf;
  599.     }
  600.     public function setCodeNaf(?string $codeNaf): self
  601.     {
  602.         $this->codeNaf $codeNaf;
  603.         return $this;
  604.     }
  605.     public function getNbSalarie(): ?int
  606.     {
  607.         return $this->nbSalarie;
  608.     }
  609.     public function setNbSalarie(?int $nbSalarie): self
  610.     {
  611.         $this->nbSalarie $nbSalarie;
  612.         return $this;
  613.     }
  614.     public function getNbSalarieNormand(): ?int
  615.     {
  616.         return $this->nbSalarieNormand;
  617.     }
  618.     public function setNbSalarieNormand(?int $nbSalarieNormand): self
  619.     {
  620.         $this->nbSalarieNormand $nbSalarieNormand;
  621.         return $this;
  622.     }
  623.     public function getNbCdd(): ?int
  624.     {
  625.         return $this->nbCdd;
  626.     }
  627.     public function setNbCdd(?int $nbCdd): self
  628.     {
  629.         $this->nbCdd $nbCdd;
  630.         return $this;
  631.     }
  632.     public function getNbJrsIntermittent(): ?int
  633.     {
  634.         return $this->nbJrsIntermittent;
  635.     }
  636.     public function setNbJrsIntermittent(?int $nbJrsIntermittent): self
  637.     {
  638.         $this->nbJrsIntermittent $nbJrsIntermittent;
  639.         return $this;
  640.     }
  641.     public function getBureauNormandie(): ?string
  642.     {
  643.         return $this->bureauNormandie;
  644.     }
  645.     public function setBureauNormandie(?string $bureauNormandie): self
  646.     {
  647.         $this->bureauNormandie $bureauNormandie;
  648.         return $this;
  649.     }
  650.     public function getProductionCineAudioCheck(): ?bool
  651.     {
  652.         return $this->productionCineAudioCheck;
  653.     }
  654.     public function setProductionCineAudioCheck(?bool $productionCineAudioCheck): self
  655.     {
  656.         $this->productionCineAudioCheck $productionCineAudioCheck;
  657.         return $this;
  658.     }
  659.     public function getProductionComCheck(): ?bool
  660.     {
  661.         return $this->productionComCheck;
  662.     }
  663.     public function setProductionComCheck(?bool $productionComCheck): self
  664.     {
  665.         $this->productionComCheck $productionComCheck;
  666.         return $this;
  667.     }
  668.     public function getPrestataireTechniqueCheck(): ?bool
  669.     {
  670.         return $this->prestataireTechniqueCheck;
  671.     }
  672.     public function setPrestataireTechniqueCheck(?bool $prestataireTechniqueCheck): self
  673.     {
  674.         $this->prestataireTechniqueCheck $prestataireTechniqueCheck;
  675.         return $this;
  676.     }
  677.     public function getPrestataireLogistiqueCheck(): ?bool
  678.     {
  679.         return $this->prestataireLogistiqueCheck;
  680.     }
  681.     public function setPrestataireLogistiqueCheck(?bool $prestataireLogistiqueCheck): self
  682.     {
  683.         $this->prestataireLogistiqueCheck $prestataireLogistiqueCheck;
  684.         return $this;
  685.     }
  686.     public function getCreatedAt(): ?\DateTimeInterface
  687.     {
  688.         return $this->createdAt;
  689.     }
  690.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  691.     {
  692.         $this->createdAt $createdAt;
  693.         return $this;
  694.     }
  695.     public function getUser(): ?User
  696.     {
  697.         return $this->user;
  698.     }
  699.     public function setUser(?User $user): self
  700.     {
  701.         $this->user $user;
  702.         return $this;
  703.     }
  704.     /**
  705.      * @return Collection|Contact[]
  706.      */
  707.     public function getContacts(): Collection
  708.     {
  709.         return $this->contacts;
  710.     }
  711.     public function addContact(Contact $contact): self
  712.     {
  713.         if (!$this->contacts->contains($contact)) {
  714.             $this->contacts[] = $contact;
  715.             $contact->setStructure($this);
  716.         }
  717.         return $this;
  718.     }
  719.     public function removeContact(Contact $contact): self
  720.     {
  721.         if ($this->contacts->contains($contact)) {
  722.             $this->contacts->removeElement($contact);
  723.             // set the owning side to null (unless already changed)
  724.             if ($contact->getStructure() === $this) {
  725.                 $contact->setStructure(null);
  726.             }
  727.         }
  728.         return $this;
  729.     }
  730.     public function getReferent(): ?string
  731.     {
  732.         return $this->referent;
  733.     }
  734.     public function setReferent(string $referent): self
  735.     {
  736.         $this->referent $referent;
  737.         return $this;
  738.     }
  739.     public function getModifiedAt(): ?\DateTimeInterface
  740.     {
  741.         return $this->modifiedAt;
  742.     }
  743.     public function setModifiedAt(\DateTimeInterface $modifiedAt null): self
  744.     {
  745.         $this->modifiedAt $modifiedAt;
  746.         return $this;
  747.     }
  748.     public function getStatut(): ?string
  749.     {
  750.         return $this->statut;
  751.     }
  752.     public function setStatut(string $statut): self
  753.     {
  754.         $this->statut $statut;
  755.         return $this;
  756.     }
  757.     public function getStatutDate(): ?\DateTimeInterface
  758.     {
  759.         return $this->statutDate;
  760.     }
  761.     public function setStatutDate(\DateTimeInterface $statutDate): self
  762.     {
  763.         $this->statutDate $statutDate;
  764.         return $this;
  765.     }
  766.     public function getSituationPro(): ?string
  767.     {
  768.         return $this->situationPro;
  769.     }
  770.     public function setSituationPro(?string $situationPro): self
  771.     {
  772.         $this->situationPro $situationPro;
  773.         return $this;
  774.     }
  775.     /**
  776.      * @return Collection|ReseauSocial[]
  777.      */
  778.     public function getReseauxSociaux(): Collection
  779.     {
  780.         return $this->reseauxSociaux;
  781.     }
  782.     public function addReseauxSociaux(ReseauSocial $reseauxSociaux): self
  783.     {
  784.         if (!$this->reseauxSociaux->contains($reseauxSociaux)) {
  785.             $this->reseauxSociaux[] = $reseauxSociaux;
  786.             $reseauxSociaux->setStructure($this);
  787.         }
  788.         return $this;
  789.     }
  790.     public function removeReseauxSociaux(ReseauSocial $reseauxSociaux): self
  791.     {
  792.         if ($this->reseauxSociaux->contains($reseauxSociaux)) {
  793.             $this->reseauxSociaux->removeElement($reseauxSociaux);
  794.             // set the owning side to null (unless already changed)
  795.             if ($reseauxSociaux->getStructure() === $this) {
  796.                 $reseauxSociaux->setStructure(null);
  797.             }
  798.         }
  799.         return $this;
  800.     }
  801.     public function getStrSelected(): ?bool
  802.     {
  803.         return $this->strSelected;
  804.     }
  805.     public function setStrSelected(?bool $strSelected): self
  806.     {
  807.         $this->strSelected $strSelected;
  808.         return $this;
  809.     }
  810.     /**
  811.      * @param File|UploadedFile $kbisFile
  812.      */
  813.     public function setKbisFile(?File $kbisFile null): void
  814.     {
  815.         $this->kbisFile $kbisFile;
  816.         if (null !== $kbisFile) {
  817.             // Initialise $this->kbis si ce n'est pas déjà fait
  818.             if (null === $this->kbis) {
  819.                 $this->kbis = new EmbeddedFile();
  820.             }
  821.             // Met à jour la date de mise à jour pour déclencher les listeners Doctrine
  822.             $this->kbisUpdatedAt = new \DateTimeImmutable();
  823.         } else {
  824.             // Si $kbisFile est null, on peut optionnellement réinitialiser $this->kbis et $this->kbisUpdatedAt
  825.             // Cela dépend de votre logique métier
  826.             $this->kbis null;
  827.             $this->kbisUpdatedAt null;
  828.         }
  829.     }
  830.     public function getKbisFile(): ?File
  831.     {
  832.         return $this->kbisFile;
  833.     }
  834.     public function setKbis(EmbeddedFile $kbis)
  835.     {
  836.         $this->kbis $kbis;
  837.     }
  838.     public function getKbis(): ?EmbeddedFile
  839.     {
  840.         return $this->kbis;
  841.     }
  842.     public function getLocalNormandie(): ?string
  843.     {
  844.         return $this->localNormandie;
  845.     }
  846.     public function setLocalNormandie(?string $localNormandie): self
  847.     {
  848.         $this->localNormandie $localNormandie;
  849.         return $this;
  850.     }
  851.     public function getLocalNormandieAdresse(): ?string
  852.     {
  853.         return $this->localNormandieAdresse;
  854.     }
  855.     public function setLocalNormandieAdresse(?string $localNormandieAdresse): self
  856.     {
  857.         $this->localNormandieAdresse $localNormandieAdresse;
  858.         return $this;
  859.     }
  860.     public function getProducteurNb(): ?int
  861.     {
  862.         return $this->producteurNb;
  863.     }
  864.     public function setProducteurNb(?int $producteurNb): self
  865.     {
  866.         $this->producteurNb $producteurNb;
  867.         return $this;
  868.     }
  869.     public function getProducteurNormandNb(): ?int
  870.     {
  871.         return $this->producteurNormandNb;
  872.     }
  873.     public function setProducteurNormandNb(?int $producteurNormandNb): self
  874.     {
  875.         $this->producteurNormandNb $producteurNormandNb;
  876.         return $this;
  877.     }
  878.     public function getFilmProduitNb(): ?int
  879.     {
  880.         return $this->filmProduitNb;
  881.     }
  882.     public function setFilmProduitNb(?int $filmProduitNb): self
  883.     {
  884.         $this->filmProduitNb $filmProduitNb;
  885.         return $this;
  886.     }
  887. }