src/V4/Model/Prospect/ProspectSearch.php line 20

Open in your IDE?
  1. <?php
  2. namespace App\V4\Model\Prospect;
  3. use App\Model\Compare\DateCompare;
  4. use App\Model\Compare\NumberCompare;
  5. use App\Model\ProspectSpecificField\ProspectSpecificField;
  6. use App\Model\SpecificField\SpecificField;
  7. use App\Model\SpecificFieldAwareTrait;
  8. use App\Model\SpecificFieldsAwareInterface;
  9. use App\Model\Traits\BlamableTrait;
  10. use App\Model\Traits\ImportableObjectTrait;
  11. use App\Model\Traits\TimeStampableCompare;
  12. use App\V4\Model\IdSearchTrait;
  13. use Doctrine\Common\Collections\ArrayCollection;
  14. use Doctrine\Common\Collections\Collection;
  15. use Symfony\Component\Serializer\Annotation\Groups;
  16. use Symfony\Component\Serializer\Annotation\SerializedName;
  17. class ProspectSearch implements SpecificFieldsAwareInterface
  18. {
  19.     public const SPECIFIC_FIELD_CLASS_NAME ProspectSpecificField::class;
  20.     use ImportableObjectTrait;
  21.     use BlamableTrait;
  22.     use TimeStampableCompare;
  23.     use IdSearchTrait;
  24.     use SpecificFieldAwareTrait;
  25.     /**
  26.      * Raison sociale.
  27.      *
  28.      * @var string|null
  29.      *
  30.      * @Groups({"prospect:search"})
  31.      */
  32.     private $name;
  33.     /**
  34.      * @var bool|null
  35.      *
  36.      * @Groups({"prospect:search"})
  37.      */
  38.     private $tasksLinked;
  39.     /**
  40.      * @var string|null
  41.      *
  42.      * @Groups({"prospect:search"})
  43.      */
  44.     private $customerCode;
  45.     /**
  46.      * @todo refacto ce devrait etre section tout court
  47.      *
  48.      * @var array|null
  49.      *
  50.      * @Groups({"prospect:search"})
  51.      */
  52.     private $sectionName;
  53.     /**
  54.      * @var string|null
  55.      *
  56.      * @Groups({"prospect:search"})
  57.      */
  58.     private $groupName;
  59.     /**
  60.      * @var string|null
  61.      *
  62.      * @Groups({"prospect:search"})
  63.      */
  64.     private $companyMail;
  65.     /**
  66.      * @var array|null
  67.      *
  68.      * @Groups({"prospect:search"})
  69.      */
  70.     private $workforce;
  71.     /**
  72.      * Type de prospect.
  73.      *
  74.      * @var array|null
  75.      *
  76.      * @Groups({"prospect:search"})
  77.      */
  78.     private $type;
  79.     /**
  80.      * @var array|null
  81.      *
  82.      * @Groups({"prospect:search"})
  83.      */
  84.     private $sheetType;
  85.     /**
  86.      * @var array|null
  87.      *
  88.      * @Groups({"prospect:search"})
  89.      */
  90.     private $origin;
  91.     /**
  92.      * @var array|null
  93.      *
  94.      * @Groups({"prospect:search"})
  95.      */
  96.     private $potential;
  97.     /**
  98.      * @var array|null
  99.      *
  100.      * @Groups({"prospect:search"})
  101.      */
  102.     private $naf;
  103.     /**
  104.      * @var array|null
  105.      *
  106.      * @Groups({"prospect:search"})
  107.      */
  108.     private $tva;
  109.     /**
  110.      * @var array|null
  111.      *
  112.      * @Groups({"prospect:search"})
  113.      */
  114.     private $structureType;
  115.     /**
  116.      * @var array|null
  117.      *
  118.      * @SerializedName("company.legalForm.id")
  119.      *
  120.      * @Groups({"prospect:search"})
  121.      */
  122.     private $legalForm;
  123.     /**
  124.      * @var string|null
  125.      *
  126.      * @Groups({"prospect:search"})
  127.      */
  128.     private $siret;
  129.     /**
  130.      * @var string|null
  131.      *
  132.      * @Groups({"prospect:search"})
  133.      */
  134.     private $webSite;
  135.     /**
  136.      * @var NumberCompare|null
  137.      *
  138.      * @Groups({"prospect:search"})
  139.      */
  140.     private $socialCapital;
  141.     /**
  142.      * @var string|null
  143.      *
  144.      * @Groups({"prospect:search"})
  145.      */
  146.     private $fax;
  147.     /**
  148.      * @var array|null
  149.      *
  150.      * @Groups({"prospect:search"})
  151.      */
  152.     private $managedBy;
  153.     /**
  154.      * @var string|null
  155.      *
  156.      * @Groups({"prospect:search"})
  157.      */
  158.     private $myAccounts;
  159.     /**
  160.      * @var string|null
  161.      *
  162.      * @Groups({"prospect:search"})
  163.      */
  164.     private $phone;
  165.     /**
  166.      * @var string|null
  167.      *
  168.      * @Groups({"prospect:search"})
  169.      */
  170.     private $nameComplement;
  171.     /**
  172.      * @var string|null
  173.      *
  174.      * @Groups({"prospect:search"})
  175.      */
  176.     private $addressComplement;
  177.     /**
  178.      * @var string|null
  179.      *
  180.      * @Groups({"prospect:search"})
  181.      */
  182.     private $cedex;
  183.     /**
  184.      * @var string|null
  185.      *
  186.      * @Groups({"prospect:search"})
  187.      */
  188.     private $address;
  189.     /**
  190.      * @var string[]|null
  191.      *
  192.      * @Groups({"prospect:search"})
  193.      */
  194.     private $departments;
  195.     /**
  196.      * @var string|null
  197.      *
  198.      * @Groups({"prospect:search"})
  199.      */
  200.     private $zip;
  201.     /**
  202.      * @var string|null
  203.      *
  204.      * @Groups({"prospect:search"})
  205.      */
  206.     private $city;
  207.     /**
  208.      * @var array|null
  209.      *
  210.      * @Groups({"prospect:search"})
  211.      */
  212.     private $country;
  213.     /**
  214.      * @todo refacto non fonctionnel
  215.      *
  216.      * @var array|null
  217.      *
  218.      * @Groups({"prospect:search"})
  219.      */
  220.     private $devisState;
  221.     /**
  222.      * @var DateCompare|null
  223.      *
  224.      * @Groups({"prospect:search"})
  225.      */
  226.     private $creationYear;
  227.     /**
  228.      * @var string|null
  229.      *
  230.      * @Groups({"prospect:search"})
  231.      */
  232.     private $lat;
  233.     /**
  234.      * @var string|null
  235.      *
  236.      * @Groups({"prospect:search"})
  237.      */
  238.     private $lng;
  239.     /**
  240.      * @var string|null
  241.      *
  242.      * @Groups({"prospect:search"})
  243.      */
  244.     private $distance;
  245.     /**
  246.      * @var NumberCompare|null
  247.      *
  248.      * @Groups({"prospect:search"})
  249.      */
  250.     private $turnOver;
  251.     /**
  252.      * @var array|null
  253.      *
  254.      * @Groups({"prospect:search"})
  255.      */
  256.     private $taskIds = [];
  257.     /**
  258.      * @var array|null
  259.      *
  260.      * @Groups({"prospect:search"})
  261.      */
  262.     private $quoteIds = [];
  263.     /**
  264.      * @var bool|null
  265.      *
  266.      * @Groups({"prospect:search"})
  267.      */
  268.     private $isReverse false;
  269.     /**
  270.      * @var bool|null
  271.      *
  272.      * @Groups({"prospect:search"})
  273.      */
  274.     private $justLabelAndId false;
  275.     /**
  276.      * @var SpecificField[]|Collection
  277.      *
  278.      * @Groups({"prospect:search"})
  279.      */
  280.     private $specificFields;
  281.     /**
  282.      * @var bool|null
  283.      *
  284.      * @Groups({"prospect:search"})
  285.      */
  286.     private $hasSubscription null;
  287.     /**
  288.      * @var string|null
  289.      *
  290.      * @Groups({"prospect:search"})
  291.      */
  292.     private $fileLabel;
  293.     /**
  294.      * @var DateCompare|null
  295.      *
  296.      * @Groups({"prospect:search"})
  297.      */
  298.     private $customerSince;
  299.     public function __construct()
  300.     {
  301.         $this->specificFields = new ArrayCollection();
  302.     }
  303.     /**
  304.      * @todo refacto voir si on laisse name et fullname ou si on change les viewOrder
  305.      *
  306.      * @Groups({"prospect:search"})
  307.      *
  308.      * @return string|null
  309.      */
  310.     public function getFullname(): ?string
  311.     {
  312.         return $this->name;
  313.     }
  314.     /**
  315.      * {@inheritdoc}
  316.      */
  317.     public function getSpecificFields(): Collection
  318.     {
  319.         return $this->specificFields;
  320.     }
  321.     /**
  322.      * {@inheritdoc}
  323.      */
  324.     public function getSpecificFieldByFieldId(string $id): ?SpecificField
  325.     {
  326.         foreach ($this->specificFields as $specificField) {
  327.             if ($specificField->getFieldId() === $id) {
  328.                 return $specificField;
  329.             }
  330.         }
  331.         return null;
  332.     }
  333.     /**
  334.      * @see ImportableObjectTrait::class
  335.      *
  336.      * @param ProspectSpecificField $specificField
  337.      *
  338.      * @return $this
  339.      */
  340.     public function addProspectSpecificField(ProspectSpecificField $specificField): self
  341.     {
  342.         return $this->addSpecificField($specificField);
  343.     }
  344.     /**
  345.      * {@inheritdoc}
  346.      */
  347.     public function addSpecificField($specificField): SpecificFieldsAwareInterface
  348.     {
  349.         $this->specificFields[] = $specificField;
  350.         return $this;
  351.     }
  352.     /**
  353.      * {@inheritdoc}
  354.      */
  355.     public function setSpecificFields(Collection $specificFields): self
  356.     {
  357.         $this->specificFields $specificFields;
  358.         return $this;
  359.     }
  360.     /**
  361.      * @return string|null
  362.      */
  363.     public function getName(): ?string
  364.     {
  365.         return $this->name;
  366.     }
  367.     /**
  368.      * @param string|null $name
  369.      *
  370.      * @return ProspectSearch
  371.      */
  372.     public function setName(?string $name): ProspectSearch
  373.     {
  374.         $this->name $name;
  375.         return $this;
  376.     }
  377.     /**
  378.      * @return bool
  379.      */
  380.     public function isTasksLinked(): ?bool
  381.     {
  382.         return $this->tasksLinked;
  383.     }
  384.     /**
  385.      * @param bool|null $tasksLinked
  386.      *
  387.      * @return ProspectSearch
  388.      */
  389.     public function setTasksLinked(?bool $tasksLinked): ProspectSearch
  390.     {
  391.         $this->tasksLinked $tasksLinked;
  392.         return $this;
  393.     }
  394.     /**
  395.      * @return string|null
  396.      */
  397.     public function getCustomerCode(): ?string
  398.     {
  399.         return $this->customerCode;
  400.     }
  401.     /**
  402.      * @param string|null $customerCode
  403.      *
  404.      * @return ProspectSearch
  405.      */
  406.     public function setCustomerCode(?string $customerCode): ProspectSearch
  407.     {
  408.         $this->customerCode $customerCode;
  409.         return $this;
  410.     }
  411.     /**
  412.      * @return array|null
  413.      */
  414.     public function getSectionName(): ?array
  415.     {
  416.         return $this->sectionName;
  417.     }
  418.     /**
  419.      * @param array|null $sectionName
  420.      *
  421.      * @return ProspectSearch
  422.      */
  423.     public function setSectionName(?array $sectionName): self
  424.     {
  425.         $this->sectionName $sectionName;
  426.         return $this;
  427.     }
  428.     /**
  429.      * @return string|null
  430.      */
  431.     public function getGroupName(): ?string
  432.     {
  433.         return $this->groupName;
  434.     }
  435.     /**
  436.      * @param string|null $groupName
  437.      *
  438.      * @return ProspectSearch
  439.      */
  440.     public function setGroupName(?string $groupName): ProspectSearch
  441.     {
  442.         $this->groupName $groupName;
  443.         return $this;
  444.     }
  445.     /**
  446.      * @return string|null
  447.      */
  448.     public function getCompanyMail(): ?string
  449.     {
  450.         return $this->companyMail;
  451.     }
  452.     /**
  453.      * @param string|null $companyMail
  454.      *
  455.      * @return ProspectSearch
  456.      */
  457.     public function setCompanyMail(?string $companyMail): ProspectSearch
  458.     {
  459.         $this->companyMail $companyMail;
  460.         return $this;
  461.     }
  462.     /**
  463.      * @return array|null
  464.      */
  465.     public function getType(): ?array
  466.     {
  467.         return $this->type;
  468.     }
  469.     /**
  470.      * @param array|null $type
  471.      *
  472.      * @return ProspectSearch
  473.      */
  474.     public function setType(?array $type): ProspectSearch
  475.     {
  476.         $this->type $type;
  477.         return $this;
  478.     }
  479.     /**
  480.      * @return array|null
  481.      */
  482.     public function getOrigin(): ?array
  483.     {
  484.         return $this->origin;
  485.     }
  486.     /**
  487.      * @param array|null $origin
  488.      *
  489.      * @return ProspectSearch
  490.      */
  491.     public function setOrigin(?array $origin): ProspectSearch
  492.     {
  493.         $this->origin $origin;
  494.         return $this;
  495.     }
  496.     /**
  497.      * @return array|null
  498.      */
  499.     public function getNaf(): ?array
  500.     {
  501.         return $this->naf;
  502.     }
  503.     /**
  504.      * @param array|null $naf
  505.      *
  506.      * @return ProspectSearch
  507.      */
  508.     public function setNaf(?array $naf): ProspectSearch
  509.     {
  510.         $this->naf $naf;
  511.         return $this;
  512.     }
  513.     /**
  514.      * @return array|null
  515.      */
  516.     public function getStructureType(): ?array
  517.     {
  518.         return $this->structureType;
  519.     }
  520.     /**
  521.      * @param array|null $structureType
  522.      *
  523.      * @return ProspectSearch
  524.      */
  525.     public function setStructureType(?array $structureType): ProspectSearch
  526.     {
  527.         $this->structureType $structureType;
  528.         return $this;
  529.     }
  530.     /**
  531.      * @return array|null
  532.      */
  533.     public function getLegalForm(): ?array
  534.     {
  535.         return $this->legalForm;
  536.     }
  537.     /**
  538.      * @param array|null $legalForm
  539.      *
  540.      * @return ProspectSearch
  541.      */
  542.     public function setLegalForm(?array $legalForm): ProspectSearch
  543.     {
  544.         $this->legalForm $legalForm;
  545.         return $this;
  546.     }
  547.     /**
  548.      * @return array|null
  549.      */
  550.     public function getManagedBy(): ?array
  551.     {
  552.         return $this->managedBy;
  553.     }
  554.     /**
  555.      * @param array|null $managedBy
  556.      *
  557.      * @return ProspectSearch
  558.      */
  559.     public function setManagedBy(?array $managedBy): ProspectSearch
  560.     {
  561.         $this->managedBy $managedBy;
  562.         return $this;
  563.     }
  564.     /**
  565.      * @return string|null
  566.      */
  567.     public function getMyAccounts(): ?string
  568.     {
  569.         return $this->myAccounts;
  570.     }
  571.     /**
  572.      * @param string|null $myAccounts
  573.      *
  574.      * @return ProspectSearch
  575.      */
  576.     public function setMyAccounts(?string $myAccounts): ProspectSearch
  577.     {
  578.         $this->myAccounts $myAccounts;
  579.         return $this;
  580.     }
  581.     /**
  582.      * @return string|null
  583.      */
  584.     public function getPhone(): ?string
  585.     {
  586.         return $this->phone;
  587.     }
  588.     /**
  589.      * @param string|null $phone
  590.      *
  591.      * @return ProspectSearch
  592.      */
  593.     public function setPhone(?string $phone): ProspectSearch
  594.     {
  595.         $this->phone $phone;
  596.         return $this;
  597.     }
  598.     /**
  599.      * @return string|null
  600.      */
  601.     public function getNameComplement(): ?string
  602.     {
  603.         return $this->nameComplement;
  604.     }
  605.     /**
  606.      * @param string|null $nameComplement
  607.      *
  608.      * @return ProspectSearch
  609.      */
  610.     public function setNameComplement(?string $nameComplement): ProspectSearch
  611.     {
  612.         $this->nameComplement $nameComplement;
  613.         return $this;
  614.     }
  615.     /**
  616.      * @return string[]|null
  617.      */
  618.     public function getDepartments(): ?array
  619.     {
  620.         return $this->departments;
  621.     }
  622.     /**
  623.      * @param string[]|null $departments
  624.      *
  625.      * @return ProspectSearch
  626.      */
  627.     public function setDepartments(?array $departments): ProspectSearch
  628.     {
  629.         $this->departments $departments;
  630.         return $this;
  631.     }
  632.     /**
  633.      * @return string|null
  634.      */
  635.     public function getZip(): ?string
  636.     {
  637.         return $this->zip;
  638.     }
  639.     /**
  640.      * @param string|null $zip
  641.      *
  642.      * @return ProspectSearch
  643.      */
  644.     public function setZip(?string $zip): ProspectSearch
  645.     {
  646.         $this->zip $zip;
  647.         return $this;
  648.     }
  649.     /**
  650.      * @return string|null
  651.      */
  652.     public function getCity(): ?string
  653.     {
  654.         return $this->city;
  655.     }
  656.     /**
  657.      * @param string|null $city
  658.      *
  659.      * @return ProspectSearch
  660.      */
  661.     public function setCity(?string $city): ProspectSearch
  662.     {
  663.         $this->city $city;
  664.         return $this;
  665.     }
  666.     /**
  667.      * @return array|null
  668.      */
  669.     public function getCountry(): ?array
  670.     {
  671.         return $this->country;
  672.     }
  673.     /**
  674.      * @param array|null $country
  675.      *
  676.      * @return ProspectSearch
  677.      */
  678.     public function setCountry(?array $country): ProspectSearch
  679.     {
  680.         $this->country $country;
  681.         return $this;
  682.     }
  683.     /**
  684.      * @return array|null
  685.      */
  686.     public function getDevisState(): ?array
  687.     {
  688.         return $this->devisState;
  689.     }
  690.     /**
  691.      * @param array|null $devisState
  692.      *
  693.      * @return ProspectSearch
  694.      */
  695.     public function setDevisState(?array $devisState): ProspectSearch
  696.     {
  697.         $this->devisState $devisState;
  698.         return $this;
  699.     }
  700.     /**
  701.      * @return DateCompare|null
  702.      */
  703.     public function getCreationYear(): ?DateCompare
  704.     {
  705.         return $this->creationYear;
  706.     }
  707.     /**
  708.      * @param DateCompare|null $creationYear
  709.      *
  710.      * @return ProspectSearch
  711.      */
  712.     public function setCreationYear(?DateCompare $creationYear): ProspectSearch
  713.     {
  714.         $this->creationYear $creationYear;
  715.         return $this;
  716.     }
  717.     /**
  718.      * @return string|null
  719.      */
  720.     public function getLat(): ?string
  721.     {
  722.         return $this->lat;
  723.     }
  724.     /**
  725.      * @param string|null $lat
  726.      *
  727.      * @return ProspectSearch
  728.      */
  729.     public function setLat(?string $lat): ProspectSearch
  730.     {
  731.         $this->lat $lat;
  732.         return $this;
  733.     }
  734.     /**
  735.      * @return string|null
  736.      */
  737.     public function getLng(): ?string
  738.     {
  739.         return $this->lng;
  740.     }
  741.     /**
  742.      * @param string|null $lng
  743.      *
  744.      * @return ProspectSearch
  745.      */
  746.     public function setLng(?string $lng): ProspectSearch
  747.     {
  748.         $this->lng $lng;
  749.         return $this;
  750.     }
  751.     /**
  752.      * @return string|null
  753.      */
  754.     public function getDistance(): ?string
  755.     {
  756.         return $this->distance;
  757.     }
  758.     /**
  759.      * @param string|null $distance
  760.      *
  761.      * @return ProspectSearch
  762.      */
  763.     public function setDistance(?string $distance): ProspectSearch
  764.     {
  765.         $this->distance $distance;
  766.         return $this;
  767.     }
  768.     /**
  769.      * @return NumberCompare|null
  770.      */
  771.     public function getTurnOver(): ?NumberCompare
  772.     {
  773.         return $this->turnOver;
  774.     }
  775.     /**
  776.      * @param NumberCompare|null $turnOver
  777.      *
  778.      * @return ProspectSearch
  779.      */
  780.     public function setTurnOver(?NumberCompare $turnOver): ProspectSearch
  781.     {
  782.         $this->turnOver $turnOver;
  783.         return $this;
  784.     }
  785.     /**
  786.      * @return array|null
  787.      */
  788.     public function getTaskIds(): ?array
  789.     {
  790.         return $this->taskIds;
  791.     }
  792.     /**
  793.      * @param array|null $taskIds
  794.      *
  795.      * @return ProspectSearch
  796.      */
  797.     public function setTaskIds(?array $taskIds): ProspectSearch
  798.     {
  799.         $this->taskIds $taskIds;
  800.         return $this;
  801.     }
  802.     /**
  803.      * @return array|null
  804.      */
  805.     public function getQuoteIds(): ?array
  806.     {
  807.         return $this->quoteIds;
  808.     }
  809.     /**
  810.      * @param array|null $quoteIds
  811.      *
  812.      * @return ProspectSearch
  813.      */
  814.     public function setQuoteIds(?array $quoteIds): ProspectSearch
  815.     {
  816.         $this->quoteIds $quoteIds;
  817.         return $this;
  818.     }
  819.     /**
  820.      * @return bool|null
  821.      */
  822.     public function getIsReverse(): ?bool
  823.     {
  824.         return $this->isReverse;
  825.     }
  826.     /**
  827.      * @param bool|null $isReverse
  828.      *
  829.      * @return ProspectSearch
  830.      */
  831.     public function setIsReverse(?bool $isReverse): ProspectSearch
  832.     {
  833.         $this->isReverse $isReverse;
  834.         return $this;
  835.     }
  836.     /**
  837.      * @return DateCompare|null
  838.      */
  839.     public function getCreatedAt(): ?DateCompare
  840.     {
  841.         return $this->createdAt;
  842.     }
  843.     /**
  844.      * @param DateCompare|null $createdAt
  845.      *
  846.      * @return ProspectSearch
  847.      */
  848.     public function setCreatedAt(?DateCompare $createdAt): ProspectSearch
  849.     {
  850.         $this->createdAt $createdAt;
  851.         return $this;
  852.     }
  853.     /**
  854.      * @return DateCompare|null
  855.      */
  856.     public function getUpdatedAt(): ?DateCompare
  857.     {
  858.         return $this->updatedAt;
  859.     }
  860.     /**
  861.      * @param DateCompare|null $updatedAt
  862.      *
  863.      * @return ProspectSearch
  864.      */
  865.     public function setUpdatedAt(?DateCompare $updatedAt): ProspectSearch
  866.     {
  867.         $this->updatedAt $updatedAt;
  868.         return $this;
  869.     }
  870.     /**
  871.      * @return string
  872.      */
  873.     public function getSiret(): ?string
  874.     {
  875.         return $this->siret;
  876.     }
  877.     /**
  878.      * @param string|null $siret
  879.      *
  880.      * @return ProspectSearch
  881.      */
  882.     public function setSiret(?string $siret): ProspectSearch
  883.     {
  884.         $this->siret $siret;
  885.         return $this;
  886.     }
  887.     /**
  888.      * @return string|null
  889.      */
  890.     public function getFax(): ?string
  891.     {
  892.         return $this->fax;
  893.     }
  894.     /**
  895.      * @param string|null $fax
  896.      *
  897.      * @return ProspectSearch
  898.      */
  899.     public function setFax(?string $fax): ProspectSearch
  900.     {
  901.         $this->fax $fax;
  902.         return $this;
  903.     }
  904.     /**
  905.      * @return string|null
  906.      */
  907.     public function getWebSite(): ?string
  908.     {
  909.         return $this->webSite;
  910.     }
  911.     /**
  912.      * @param string|null $webSite
  913.      *
  914.      * @return ProspectSearch
  915.      */
  916.     public function setWebSite(?string $webSite): ProspectSearch
  917.     {
  918.         $this->webSite $webSite;
  919.         return $this;
  920.     }
  921.     /**
  922.      * @return NumberCompare|null
  923.      */
  924.     public function getSocialCapital(): ?NumberCompare
  925.     {
  926.         return $this->socialCapital;
  927.     }
  928.     /**
  929.      * @param NumberCompare|null $socialCapital
  930.      *
  931.      * @return ProspectSearch
  932.      */
  933.     public function setSocialCapital(?NumberCompare $socialCapital): ProspectSearch
  934.     {
  935.         $this->socialCapital $socialCapital;
  936.         return $this;
  937.     }
  938.     /**
  939.      * @return string|null
  940.      */
  941.     public function getCedex(): ?string
  942.     {
  943.         return $this->cedex;
  944.     }
  945.     /**
  946.      * @param string|null $cedex
  947.      *
  948.      * @return ProspectSearch
  949.      */
  950.     public function setCedex(?string $cedex): ProspectSearch
  951.     {
  952.         $this->cedex $cedex;
  953.         return $this;
  954.     }
  955.     /**
  956.      * @return string|null
  957.      */
  958.     public function getAddress(): ?string
  959.     {
  960.         return $this->address;
  961.     }
  962.     /**
  963.      * @param string|null $address
  964.      *
  965.      * @return ProspectSearch
  966.      */
  967.     public function setAddress(?string $address): ProspectSearch
  968.     {
  969.         $this->address $address;
  970.         return $this;
  971.     }
  972.     /**
  973.      * @return array|null
  974.      */
  975.     public function getTva(): ?array
  976.     {
  977.         return $this->tva;
  978.     }
  979.     /**
  980.      * @param array|null $tva
  981.      *
  982.      * @return ProspectSearch
  983.      */
  984.     public function setTva(?array $tva): ProspectSearch
  985.     {
  986.         $this->tva $tva;
  987.         return $this;
  988.     }
  989.     /**
  990.      * @return array|null
  991.      */
  992.     public function getWorkforce(): ?array
  993.     {
  994.         return $this->workforce;
  995.     }
  996.     /**
  997.      * @param array|null $workforce
  998.      *
  999.      * @return ProspectSearch
  1000.      */
  1001.     public function setWorkforce(?array $workforce): ProspectSearch
  1002.     {
  1003.         $this->workforce $workforce;
  1004.         return $this;
  1005.     }
  1006.     /**
  1007.      * @return string|null
  1008.      */
  1009.     public function getAddressComplement(): ?string
  1010.     {
  1011.         return $this->addressComplement;
  1012.     }
  1013.     /**
  1014.      * @param string|null $addressComplement
  1015.      *
  1016.      * @return ProspectSearch
  1017.      */
  1018.     public function setAddressComplement(?string $addressComplement): ProspectSearch
  1019.     {
  1020.         $this->addressComplement $addressComplement;
  1021.         return $this;
  1022.     }
  1023.     /**
  1024.      * @return array|null
  1025.      */
  1026.     public function getSheetType(): ?array
  1027.     {
  1028.         return $this->sheetType;
  1029.     }
  1030.     /**
  1031.      * @param array|null $sheetType
  1032.      *
  1033.      * @return ProspectSearch
  1034.      */
  1035.     public function setSheetType(?array $sheetType): ProspectSearch
  1036.     {
  1037.         $this->sheetType $sheetType;
  1038.         return $this;
  1039.     }
  1040.     /**
  1041.      * @return bool|null
  1042.      */
  1043.     public function getJustLabelAndId(): ?bool
  1044.     {
  1045.         return $this->justLabelAndId;
  1046.     }
  1047.     /**
  1048.      * @param bool|null $justLabelAndId
  1049.      *
  1050.      * @return ProspectSearch
  1051.      */
  1052.     public function setJustLabelAndId(?bool $justLabelAndId): ProspectSearch
  1053.     {
  1054.         $this->justLabelAndId $justLabelAndId;
  1055.         return $this;
  1056.     }
  1057.     /**
  1058.      * @return array|null
  1059.      */
  1060.     public function getPotential(): ?array
  1061.     {
  1062.         return $this->potential;
  1063.     }
  1064.     /**
  1065.      * @param array|null $potential
  1066.      *
  1067.      * @return ProspectSearch
  1068.      */
  1069.     public function setPotential(?array $potential): ProspectSearch
  1070.     {
  1071.         $this->potential $potential;
  1072.         return $this;
  1073.     }
  1074.     /**
  1075.      * @return bool|null
  1076.      */
  1077.     public function getHasSubscription(): ?bool
  1078.     {
  1079.         return $this->hasSubscription;
  1080.     }
  1081.     /**
  1082.      * @param bool|null $hasSubscription
  1083.      *
  1084.      * @return self
  1085.      */
  1086.     public function setHasSubscription(?bool $hasSubscription): self
  1087.     {
  1088.         $this->hasSubscription $hasSubscription;
  1089.         return $this;
  1090.     }
  1091.     public function getFileLabel(): ?string
  1092.     {
  1093.         return $this->fileLabel;
  1094.     }
  1095.     public function setFileLabel(?string $fileLabel): self
  1096.     {
  1097.         $this->fileLabel $fileLabel;
  1098.         return $this;
  1099.     }
  1100.     public function getCustomerSince(): ?DateCompare
  1101.     {
  1102.         return $this->customerSince;
  1103.     }
  1104.     public function setCustomerSince(?DateCompare $customerSince): self
  1105.     {
  1106.         $this->customerSince $customerSince;
  1107.         return $this;
  1108.     }
  1109. }