src/Entity/Utilisateur/Utilisateur.php line 109

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Utilisateur;
  3. use App\Entity\Adresses\Adresse;
  4. use App\Entity\Articles\Article;
  5. use App\Entity\Articles\Compta;
  6. use App\Entity\Articles\ConditionAchat;
  7. use App\Entity\Articles\Devise;
  8. use App\Entity\Articles\FamilleCompta;
  9. use App\Entity\Articles\Garantie;
  10. use App\Entity\Articles\MouvementStock;
  11. use App\Entity\Articles\NumeroSerie;
  12. use App\Entity\Articles\PrixAchat;
  13. use App\Entity\Articles\PrixPromo;
  14. use App\Entity\Articles\RaisonMouvementStock;
  15. use App\Entity\Articles\RefsEquivalentes;
  16. use App\Entity\Articles\Type;
  17. use App\Entity\Articles\UniteMesure;
  18. use App\Entity\Clients\Client;
  19. use App\Entity\Etiquettes\Balise;
  20. use App\Entity\Etiquettes\Etiquette;
  21. use App\Entity\Export\Export_champs_exportables;
  22. use App\Entity\Export\Export_Entity_exportable;
  23. use App\Entity\FO\CompteBancaire;
  24. use App\Entity\FO\Societe;
  25. use App\Entity\FO\TacheCron;
  26. use App\Entity\Fournisseurs\Fournisseur;
  27. use App\Entity\Fournisseurs\Remise;
  28. use App\Entity\GestionComerciale\Acompte;
  29. use App\Entity\GestionComerciale\Activite;
  30. use App\Entity\GestionComerciale\BordereauLCR;
  31. use App\Entity\GestionComerciale\CaisseIndividuelle;
  32. use App\Entity\GestionComerciale\Commande;
  33. use App\Entity\GestionComerciale\Devis;
  34. use App\Entity\GestionComerciale\EtatCommande;
  35. use App\Entity\GestionComerciale\Fabrication;
  36. use App\Entity\GestionComerciale\FabricationMultiple;
  37. use App\Entity\GestionComerciale\Facture;
  38. use App\Entity\GestionComerciale\LCR;
  39. use App\Entity\GestionComerciale\ModeEncaissement;
  40. use App\Entity\GestionComerciale\ModeReglement;
  41. use App\Entity\GestionComerciale\MouvementCaisse;
  42. use App\Entity\GestionComerciale\NumerotationDocument;
  43. use App\Entity\GestionComerciale\Reception;
  44. use App\Entity\GestionComerciale\StatutCommande;
  45. use App\Entity\GestionComerciale\StatutPaiement;
  46. use App\Entity\GestionComerciale\TypeMouvementCaisse;
  47. use App\Entity\GestionComerciale\TypeReglement;
  48. use App\Entity\Imports\Champ;
  49. use App\Entity\Imports\Entite;
  50. use App\Entity\Imports\Import;
  51. use App\Entity\Inventaires\Inventaire;
  52. use App\Entity\Localisation\Zone;
  53. use App\Entity\Notes\Categorie;
  54. #use App\Entity\Notes\categorie;
  55. use App\Entity\Notes\Note;
  56. use App\Entity\Projets\ProjetUtilisateur;
  57. use App\Entity\Rangements\Emplacement;
  58. use App\Entity\Rangements\NiveauDeux;
  59. use App\Entity\Rangements\NiveauQuatre;
  60. use App\Entity\Rangements\NiveauTrois;
  61. use App\Entity\Rangements\NiveauUn;
  62. use App\Entity\Remises\CategorieRemiseArticle;
  63. use App\Entity\Remises\CategorieRemiseClient;
  64. use App\Entity\Taxes\RegleTaxe;
  65. use App\Entity\Taxes\Taxe;
  66. use App\Entity\Traductions\Langue;
  67. use App\Entity\Transporteurs\TranchePoids;
  68. use App\Entity\Transporteurs\Transporteur;
  69. use App\Entity\Transporteurs\ZoneLivraison;
  70. use App\Entity\Vehicules\Application;
  71. use App\Entity\Vehicules\Marque;
  72. use App\Entity\Vehicules\Modele;
  73. use App\Entity\Vehicules\VehiculeClient;
  74. use App\Entity\Widget\WidgetColonneUtilisateur;
  75. use App\Entity\Widget\WidgetWidgetColonneUtilisateur;
  76. use DateTime;
  77. use Doctrine\Common\Collections\ArrayCollection;
  78. use Doctrine\Common\Collections\Collection;
  79. use Doctrine\ORM\Mapping as ORM;
  80. use Gedmo\Mapping\Annotation as Gedmo;
  81. use Symfony\Component\Security\Core\Exception\AccountStatusException;
  82. use Symfony\Component\Security\Core\Exception\CustomUserMessageAccountStatusException;
  83. use Symfony\Component\Security\Core\User\EquatableInterface;
  84. use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
  85. use Symfony\Component\Security\Core\User\UserCheckerInterface;
  86. use Symfony\Component\Security\Core\User\UserInterface;
  87. use Symfony\Component\Validator\Constraints as Assert;
  88. use App\Entity\Inventaires\Type as InventaireType;
  89. use App\Entity\Fournisseurs\Categorie as CategorieFournisseurs;
  90. use App\Entity\Remises\Remise as RemiseRemise;
  91. use App\Entity\Clients\Type as ClientType;
  92. use App\Entity\Clients\Categorie as ClientCategorie;
  93. use App\Entity\Vehicules\Type as VehiculeType;
  94. use App\Entity\Articles\Marque as ArticleMarque;
  95. use App\Entity\Articles\Categorie as ArticleCategorie;
  96. use App\Annotations\SecuredEntity;
  97. /**
  98.  * Utilisateur
  99.  *
  100.  * @ORM\Table("utilisateur__utilisateurs")
  101.  * @ORM\Entity(repositoryClass="App\Repository\Utilisateur\UtilisateurRepository")
  102.  * @Gedmo\SoftDeleteable(fieldName="dateSuppression",timeAware=false)
  103.  * @SecuredEntity(name="Personnel", group="REGLAGES")
  104.  */
  105. class Utilisateur implements UserInterfacePasswordAuthenticatedUserInterfaceEquatableInterfaceUserCheckerInterface
  106. {
  107.     /**
  108.      * @ORM\Id
  109.      * @ORM\Column(type="integer")
  110.      * @ORM\GeneratedValue(strategy="AUTO")
  111.      */
  112.     protected $id;
  113.     /**
  114.      * @ORM\Column(type="string", length=180, unique=true)
  115.      * @Assert\NotBlank(groups={"registration"})
  116.      * @Assert\Email(message="'L'Email n'est pas valide.", groups={"registration"})
  117.      */
  118.     private $email;
  119.     /**
  120.      * @ORM\Column(type="json")
  121.      */
  122.     private $roles = [];
  123.     /**
  124.      * @var string The hashed password
  125.      * @ORM\Column(type="string")
  126.      */
  127.     private $password;
  128.     /**
  129.      * @ORM\Column(type="string", length=255)
  130.      * @Assert\NotBlank(groups={"registration"})
  131.      */
  132.     private $prenom;
  133.     /**
  134.      * @ORM\Column(type="string", length=255)
  135.      * @Assert\NotBlank(groups={"registration"})
  136.      */
  137.     private $nom;
  138.     private $plainPassword;
  139.     /**
  140.      * @ORM\Column(type="string", length=255, nullable=true)
  141.      */
  142.     private $sessionId;
  143.     /**
  144.      * @ORM\Column(type="datetime", length=255, nullable=true)
  145.      */
  146.     private $lastLogin;
  147.     /**
  148.      * @ORM\Column(name="visible", type="boolean")
  149.      */
  150.     private $visible true;
  151.     /**
  152.      * @ORM\Column(name="visible_agenda", type="boolean")
  153.      */
  154.     private $visibleAgenda true;
  155.     /**
  156.      * @ORM\Column(name="archive", type="boolean")
  157.      */
  158.     private $archive false;
  159.     /**
  160.      * @ORM\Column(name="couleurAgenda", type="string", length=255, nullable=true)
  161.      */
  162.     private $couleurAgenda;
  163.     /**
  164.      * @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\UtilisateurZoneGeographique", mappedBy="utilisateur")
  165.      */
  166.     private $utilisateurSecteurGeographique;
  167.     /**
  168.      * @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\UtilisateurAtelier", mappedBy="utilisateur")
  169.      */
  170.     private $utilisateurAtelier;
  171.     /**
  172.      * @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\HistoriqueIntervention", mappedBy="utilisateur")
  173.      */
  174.     private $historiqueIntervention;
  175.     /**
  176.      * @ORM\Column(name="reference", type="string", length=255, nullable=true)
  177.      */
  178.     private $reference;
  179.     /**
  180.      * @ORM\Column(name="google_agenda", type="string", length=255, nullable=true)
  181.      */
  182.     private $idGoogleAgenda;
  183.     /**
  184.      * @ORM\Column(name="badge", type="string", length=255, nullable=true)
  185.      */
  186.     private $badge;
  187.     /**
  188.      * @ORM\Column(name="receptionner", type="boolean", nullable=true)
  189.      */
  190.     private $receptionner;
  191.     /**
  192.      * @ORM\Column(name="fabriquer", type="boolean", nullable=true)
  193.      */
  194.     private $fabriquer;
  195.     /**
  196.      * @ORM\Column(name="preparer", type="boolean", nullable=true)
  197.      */
  198.     private $preparer;
  199.     /**
  200.      * @ORM\Column(name="emballer", type="boolean", nullable=true)
  201.      */
  202.     private $emballer;
  203.     /**
  204.      * @ORM\Column(name="signature_mail", type="text", nullable=true)
  205.      */
  206.     private $signatureMail;
  207.     /**
  208.      * @ORM\OneToMany(targetEntity="App\Entity\Imports\Import", mappedBy="utilisateur")
  209.      */
  210.     private $import;
  211.     /**
  212.      * @ORM\OneToMany(targetEntity="App\Entity\Fournisseurs\Remise", mappedBy="utilisateur")
  213.      */
  214.     private $remiseFournisseurs;
  215.     /**
  216.      * @ORM\OneToMany(targetEntity="App\Entity\Imports\Champ", mappedBy="utilisateur")
  217.      */
  218.     private $champImport;
  219.     /**
  220.      * @ORM\OneToMany(targetEntity="App\Entity\Imports\Entite", mappedBy="utilisateur")
  221.      */
  222.     private $entiteImport;
  223.     /**
  224.      * @ORM\OneToMany(targetEntity="App\Entity\Imports\Entite", mappedBy="utilisateurComptaImport")
  225.      */
  226.     private $articleComptaImport;
  227.     /**
  228.      * @ORM\ManyToOne(targetEntity="App\Entity\Utilisateur\TypeUtilisateur", inversedBy="utilisateurs")
  229.      */
  230.     private $type;
  231.     /**
  232.      * @ORM\OneToMany(targetEntity="App\Entity\FO\TacheCron", mappedBy="utilisateur")
  233.      */
  234.     private $tacheCron;
  235.     /**
  236.      * @ORM\OneToMany(targetEntity="App\Entity\Fournisseurs\Categorie", mappedBy="utilisateur")
  237.      */
  238.     private $categorieFournisseurs;
  239.     /**
  240.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\NumeroSerie", mappedBy="utilisateur")
  241.      */
  242.     private $numeroSerie;
  243.     /**
  244.      * @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\Intervention", mappedBy="utilisateur")
  245.      */
  246.     private $interventions;
  247.     /**
  248.      * @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\Intervention", mappedBy="mecanicien")
  249.      */
  250.     private $interventionsMecanicien;
  251.     /**
  252.      * @ORM\OneToMany(targetEntity="App\Entity\Rangements\Emplacement", mappedBy="utilisateur")
  253.      */
  254.     private $emplacements;
  255.     /**
  256.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\ConditionAchat", mappedBy="utilisateur")
  257.      */
  258.     private $conditionsAchat;
  259.     /**
  260.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\TypeReglement", mappedBy="utilisateur")
  261.      */
  262.     private $typeReglement;
  263.     /**
  264.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\ModeReglement", mappedBy="utilisateur")
  265.      */
  266.     private $modeReglement;
  267.     /**
  268.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\ModeEncaissement", mappedBy="utilisateur")
  269.      */
  270.     private $modeEncaissement;
  271.     /**
  272.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\NumerotationDocument", mappedBy="utilisateur")
  273.      */
  274.     private $numerotationDocument;
  275.     /**
  276.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Garantie", mappedBy="utilisateur")
  277.      */
  278.     private $garantie;
  279.     /**
  280.      * @ORM\OneToMany(targetEntity="App\Entity\Rangements\NiveauUn", mappedBy="utilisateur")
  281.      */
  282.     private $rangementNiveauUn;
  283.     /**
  284.      * @ORM\OneToMany(targetEntity="App\Entity\Rangements\NiveauDeux", mappedBy="utilisateur")
  285.      */
  286.     private $rangementNiveauDeux;
  287.     /**
  288.      * @ORM\OneToMany(targetEntity="App\Entity\Rangements\NiveauTrois", mappedBy="utilisateur")
  289.      */
  290.     private $rangementNiveauTrois;
  291.     /**
  292.      * @ORM\OneToMany(targetEntity="App\Entity\Rangements\NiveauQuatre", mappedBy="utilisateur")
  293.      */
  294.     private $rangementNiveauQuatre;
  295.     /**
  296.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\PrixPromo", mappedBy="utilisateur")
  297.      */
  298.     private $prixPromo;
  299.     /**
  300.      * @ORM\OneToMany(targetEntity="App\Entity\Localisation\Zone", mappedBy="utilisateur")
  301.      */
  302.     private $zoneLocalisation;
  303.     /**
  304.      * @ORM\OneToMany(targetEntity="App\Entity\Transporteurs\ZoneLivraison", mappedBy="utilisateur")
  305.      */
  306.     private $zoneLivraison;
  307.     /**
  308.      * @ORM\OneToMany(targetEntity="App\Entity\Transporteurs\TranchePoids", mappedBy="utilisateur")
  309.      */
  310.     private $tranchePoids;
  311.     /**
  312.      * @ORM\OneToMany(targetEntity="App\Entity\Widget\WidgetWidgetColonneUtilisateur", mappedBy="utilisateur")
  313.      */
  314.     private $widgetColonneWidget;
  315.     /**
  316.      * @ORM\OneToMany(targetEntity="App\Entity\Widget\WidgetColonneUtilisateur", mappedBy="utilisateur")
  317.      */
  318.     private $widgetColonne;
  319.     /**
  320.      * @ORM\OneToMany(targetEntity="App\Entity\Adresses\Adresse", mappedBy="utilisateur")
  321.      */
  322.     private $adresses;
  323.     /**
  324.      * @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Application", mappedBy="utilisateur")
  325.      */
  326.     private $applications;
  327.     /**
  328.      * @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\Contact", mappedBy="utilisateur")
  329.      */
  330.     private $contacts;
  331.     /**
  332.      * @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\TypeUtilisateur", mappedBy="utilisateur")
  333.      */
  334.     private $typesUtilisateur;
  335.     /**
  336.      * @ORM\OneToMany(targetEntity="App\Entity\FO\Societe", mappedBy="utilisateur")
  337.      */
  338.     private $societe;
  339.     /**
  340.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\StatutPaiement", mappedBy="utilisateur")
  341.      */
  342.     private $statutPaiement;
  343.     /**
  344.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\StatutCommande", mappedBy="utilisateur")
  345.      */
  346.     private $statutCommande;
  347.     /**
  348.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\EtatCommande", mappedBy="utilisateur")
  349.      */
  350.     private $etatCommande;
  351.     /**
  352.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Commande", mappedBy="utilisateur")
  353.      */
  354.     private $commandes;
  355.     /**
  356.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Commande", mappedBy="mecanicien")
  357.      */
  358.     private $ordreRepMecanicien;
  359.     /**
  360.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Acompte", mappedBy="utilisateur")
  361.      */
  362.     private $acomptes;
  363.     /**
  364.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Facture", mappedBy="utilisateur")
  365.      */
  366.     private $factures;
  367.     /**
  368.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Devis", mappedBy="utilisateur")
  369.      */
  370.     private $devis;
  371.     /**
  372.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Article", mappedBy="utilisateur")
  373.      */
  374.     private $articles;
  375.     /**
  376.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Fabrication", mappedBy="utilisateur")
  377.      */
  378.     private $fabrications;
  379.     /**
  380.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\FabricationMultiple", mappedBy="utilisateur")
  381.      */
  382.     private $fabricationsMultiple;
  383.     /**
  384.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Fabrication", mappedBy="magasinier")
  385.      */
  386.     private $fabricationsMagasinier;
  387.     /**
  388.      * @ORM\OneToMany(targetEntity="App\Entity\Taxes\Taxe", mappedBy="utilisateur")
  389.      */
  390.     private $taxes;
  391.     /**
  392.      * @ORM\OneToMany(targetEntity="App\Entity\Clients\Type", mappedBy="utilisateur")
  393.      */
  394.     private $typeClient;
  395.     /**
  396.      * @ORM\OneToMany(targetEntity="App\Entity\Taxes\RegleTaxe", mappedBy="utilisateur")
  397.      */
  398.     private $reglesTaxe;
  399.     /**
  400.      * @ORM\OneToMany(targetEntity="App\Entity\Export\Export_champs_exportables", mappedBy="utilisateur")
  401.      */
  402.     private $champsExportables;
  403.     /**
  404.      * @ORM\OneToMany(targetEntity="App\Entity\Export\Export_Entity_exportable", mappedBy="utilisateur")
  405.      */
  406.     private $entityExportable;
  407.     /**
  408.      * @ORM\OneToMany(targetEntity="App\Entity\Vehicules\VehiculeClient", mappedBy="utilisateur")
  409.      */
  410.     private $vehiculesClient;
  411.     /**
  412.      * @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Marque", mappedBy="utilisateur")
  413.      */
  414.     private $marquesVehicule;
  415.     /**
  416.      * @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Modele", mappedBy="utilisateur")
  417.      */
  418.     private $modelesVehicule;
  419.     /**
  420.      * @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Type", mappedBy="utilisateur")
  421.      */
  422.     private $typesVehicule;
  423.     /**
  424.      * @ORM\OneToMany(targetEntity="App\Entity\Fournisseurs\Fournisseur", mappedBy="utilisateur")
  425.      */
  426.     private $fournisseurs;
  427.     /**
  428.      * @ORM\OneToMany(targetEntity="App\Entity\Transporteurs\Transporteur", mappedBy="utilisateur")
  429.      */
  430.     private $transporteurs;
  431.     /**
  432.      * @ORM\OneToMany(targetEntity="App\Entity\Clients\Categorie", mappedBy="utilisateur")
  433.      */
  434.     private $clientCategorie;
  435.     /**
  436.      * @ORM\OneToMany(targetEntity="App\Entity\Clients\Client", mappedBy="utilisateur")
  437.      */
  438.     private $clients;
  439.     /**
  440.      * @ORM\OneToMany(targetEntity="App\Entity\Notes\Note", mappedBy="utilisateur")
  441.      */
  442.     private $notes;
  443.     /**
  444.      * @ORM\OneToMany(targetEntity="App\Entity\Inventaires\Inventaire", mappedBy="utilisateur")
  445.      */
  446.     private $inventaires;
  447.     /**
  448.      * @ORM\OneToMany(targetEntity="App\Entity\Inventaires\Type", mappedBy="utilisateur")
  449.      */
  450.     private $typesInventaire;
  451.     /**
  452.      * @ORM\OneToMany(targetEntity="App\Entity\Etiquettes\Etiquette", mappedBy="utilisateur")
  453.      */
  454.     private $etiquettes;
  455.     /**
  456.      * @ORM\OneToMany(targetEntity="App\Entity\Etiquettes\Balise", mappedBy="utilisateur")
  457.      */
  458.     private $balises;
  459.     /**
  460.      * @ORM\OneToMany(targetEntity="App\Entity\Remises\Remise", mappedBy="utilisateur")
  461.      */
  462.     private $remises;
  463.     /**
  464.      * @ORM\OneToMany(targetEntity="App\Entity\Remises\CategorieRemiseArticle", mappedBy="utilisateur")
  465.      */
  466.     private $categorieRemiseArticle;
  467.     /**
  468.      * @ORM\OneToMany(targetEntity="App\Entity\Remises\CategorieRemiseClient", mappedBy="utilisateur")
  469.      */
  470.     private $categorieRemiseClient;
  471.     /**
  472.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Categorie", mappedBy="utilisateur")
  473.      */
  474.     private $categories;
  475.     /**
  476.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Marque", mappedBy="utilisateur")
  477.      */
  478.     private $marqueArticle;
  479.     /**
  480.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Type", mappedBy="utilisateur")
  481.      */
  482.     private $typeArticle;
  483.     /**
  484.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\FamilleCompta", mappedBy="utilisateur")
  485.      */
  486.     private $familleCompta;
  487.     /**
  488.      * @ORM\OneToMany(targetEntity="App\Entity\Notes\Categorie", mappedBy="utilisateur")
  489.      */
  490.     private $categorieNote;
  491.     /**
  492.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\UniteMesure", mappedBy="utilisateur")
  493.      */
  494.     private $uniteMesure;
  495.     /**
  496.      * @ORM\OneToMany(targetEntity="App\Entity\Traductions\Langue", mappedBy="utilisateur")
  497.      */
  498.     private $langue;
  499.     /**
  500.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Devise", mappedBy="utilisateur")
  501.      */
  502.     private $devise;
  503.     /**
  504.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\Compta", mappedBy="utilisateur")
  505.      */
  506.     private $compta;
  507.     /**
  508.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\MouvementStock", mappedBy="utilisateur")
  509.      */
  510.     private $mouvementStock;
  511.     /**
  512.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\CaisseIndividuelle", mappedBy="utilisateur")
  513.      */
  514.     private $caisseIndividuelle;
  515.     /**
  516.      * @ORM\OneToMany(targetEntity="App\Entity\Projets\ProjetUtilisateur", mappedBy="utilisateur")
  517.      */
  518.     private $projetsUtilisateur;
  519.     /**
  520.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\RaisonMouvementStock", mappedBy="utilisateur")
  521.      */
  522.     private $raisonMouvementStock;
  523.     /**
  524.      * @ORM\Column(name="date", type="datetime", nullable=true)
  525.      */
  526.     private $date;
  527.     /**
  528.      * @ORM\Column(name="date_maj", type="datetime", nullable=true)
  529.      * @Gedmo\Timestampable(on="update")
  530.      */
  531.     private $dateMaj;
  532.     /**
  533.      * @ORM\Column(name="date_supression", type="datetime", nullable=true)
  534.      */
  535.     private $dateSuppression;
  536.     /**
  537.      * @ORM\Column(name="telephone", type="string", length=255, nullable=true)
  538.      */
  539.     private $telephone;
  540.     /**
  541.      * @ORM\Column(name="skype", type="string", length=255, nullable=true)
  542.      */
  543.     private $skype;
  544.     /**
  545.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\RefsEquivalentes", mappedBy="utilisateur")
  546.      */
  547.     private $refsEquivalentes;
  548.     /**
  549.      * @ORM\OneToMany(targetEntity="App\Entity\Articles\PrixAchat", cascade={"persist"},mappedBy="utilisateur")
  550.      */
  551.     private $prixAchat;
  552.     /**
  553.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\BordereauLCR", cascade={"persist"},mappedBy="utilisateur")
  554.      */
  555.     private $borderauxLCR;
  556.     /**
  557.      * @ORM\OneToMany(targetEntity="App\Entity\FO\CompteBancaire", cascade={"persist"},mappedBy="utilisateur")
  558.      */
  559.     private $comptesBancaires;
  560.     /**
  561.      * @ORM\Column(name="type_menu", type="string", length=255, nullable=true)
  562.      */
  563.     private $typeMenu;
  564.     /**
  565.      * @ORM\Column(name="toolbar_closed", type="boolean", nullable=true)
  566.      */
  567.     private $toolbarClosed;
  568.     /**
  569.      * @ORM\Column(name="mouvemente_recherche_article", type="boolean", nullable=true)
  570.      */
  571.     private $mouvementeRechercheArticle;
  572.     /**
  573.      * @ORM\Column(name="tri_recherche_article", type="string", length=255, nullable=true)
  574.      */
  575.     private $triRechercheArticle;
  576.     /**
  577.      * @ORM\Column(name="ordre_tri_recherche_article", type="string", length=255, nullable=true)
  578.      */
  579.     private $ordreTriRechercheArticle;
  580.     /**
  581.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\LCR", mappedBy="utilisateur")
  582.      */
  583.     private $lcrs;
  584.     /**
  585.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\TypeMouvementCaisse", cascade={"persist"},mappedBy="utilisateur")
  586.      */
  587.     private $typesMouvementCaisse;
  588.     /**
  589.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\MouvementCaisse", cascade={"persist"},mappedBy="utilisateur")
  590.      */
  591.     private $mouvementsCaisse;
  592.     /**
  593.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Reception", cascade={"persist"},mappedBy="utilisateur")
  594.      */
  595.     private $receptions;
  596.     /**
  597.      * @ORM\Column(name="id_import", type="string",length=255, nullable=true)
  598.      */
  599.     private $idImport;
  600.     /**
  601.      * @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Activite", mappedBy="utilisateur")
  602.      */
  603.     private $activites;
  604.     public function __construct()
  605.     {
  606.         $this->date                             = new Datetime();
  607.         $this->mouvementeRechercheArticle       false;
  608.         $this->toolbarClosed                    false;
  609.         $this->utilisateurSecteurGeographique   = new ArrayCollection();
  610.         $this->utilisateurAtelier               = new ArrayCollection();
  611.         $this->projetsUtilisateur               = new ArrayCollection();
  612.         $this->caisseIndividuelle               = new ArrayCollection();
  613.         $this->activites                        = new ArrayCollection();
  614.         $this->historiqueIntervention           = new ArrayCollection();
  615.         $this->utilisateurAtelier               = new ArrayCollection();
  616.         $this->utilisateurSecteurGeographique   = new ArrayCollection();
  617.         $this->langue                           = new ArrayCollection();
  618.         $this->emplacements                     = new ArrayCollection();
  619.         $this->familleCompta                    = new ArrayCollection();
  620.         $this->typeArticle                      = new ArrayCollection();
  621.         $this->typesInventaire                  = new ArrayCollection();
  622.         $this->inventaires                      = new ArrayCollection();
  623.         $this->balises                          = new ArrayCollection();
  624.         $this->etiquettes                       = new ArrayCollection();
  625.         $this->categorieNote                    = new ArrayCollection();
  626.         $this->notes                            = new ArrayCollection();
  627.         $this->receptions                       = new ArrayCollection();
  628.         $this->mouvementsCaisse                 = new ArrayCollection();
  629.         $this->typesMouvementCaisse             = new ArrayCollection();
  630.         $this->fabricationsMultiple             = new ArrayCollection();
  631.         $this->modeEncaissement                 = new ArrayCollection();
  632.         $this->lcrs                             = new ArrayCollection();
  633.         $this->comptesBancaires                 = new ArrayCollection();
  634.         $this->borderauxLCR                     = new ArrayCollection();
  635.         $this->articleComptaImport              = new ArrayCollection();
  636.         $this->remiseFournisseurs               = new ArrayCollection();
  637.         $this->entiteImport                     = new ArrayCollection();
  638.         $this->champImport                      = new ArrayCollection();
  639.         $this->import                           = new ArrayCollection();
  640.         $this->compta                           = new ArrayCollection();
  641.         $this->typeReglement                    = new ArrayCollection();
  642.         $this->categorieRemiseClient            = new ArrayCollection();
  643.         $this->categorieRemiseArticle           = new ArrayCollection();
  644.         $this->devise                           = new ArrayCollection();
  645.         $this->uniteMesure                      = new ArrayCollection();
  646.         $this->fabricationsMagasinier           = new ArrayCollection();
  647.         $this->fabrications                     = new ArrayCollection();
  648.         $this->numerotationDocument             = new ArrayCollection();
  649.         $this->tacheCron                        = new ArrayCollection();
  650.         $this->categorieFournisseurs            = new ArrayCollection();
  651.         $this->etatCommande                     = new ArrayCollection();
  652.         $this->numeroSerie                      = new ArrayCollection();
  653.         $this->ordreRepMecanicien               = new ArrayCollection();
  654.         $this->interventionsMecanicien          = new ArrayCollection();
  655.         $this->interventions                    = new ArrayCollection();
  656.         $this->conditionsAchat                  = new ArrayCollection();
  657.         $this->garantie                         = new ArrayCollection();
  658.         $this->statutPaiement                   = new ArrayCollection();
  659.         $this->modeReglement                    = new ArrayCollection();
  660.         $this->acomptes                         = new ArrayCollection();
  661.         $this->rangementNiveauQuatre            = new ArrayCollection();
  662.         $this->rangementNiveauTrois             = new ArrayCollection();
  663.         $this->rangementNiveauDeux              = new ArrayCollection();
  664.         $this->rangementNiveauUn                = new ArrayCollection();
  665.         $this->prixAchat                        = new ArrayCollection();
  666.         $this->prixPromo                        = new ArrayCollection();
  667.         $this->remises                          = new ArrayCollection();
  668.         $this->typeClient                       = new ArrayCollection();
  669.         $this->reglesTaxe                       = new ArrayCollection();
  670.         $this->taxes                            = new ArrayCollection();
  671.         $this->zoneLocalisation                 = new ArrayCollection();
  672.         $this->zoneLivraison                    = new ArrayCollection();
  673.         $this->tranchePoids                     = new ArrayCollection();
  674.         $this->refsEquivalentes                 = new ArrayCollection();
  675.         $this->applications                     = new ArrayCollection();
  676.         $this->adresses                         = new ArrayCollection();
  677.         //$this->widgetColonneWidget              = new ArrayCollection();
  678.         $this->entityExportable                 = new ArrayCollection();
  679.         //$this->widgetColonne                    = new ArrayCollection();
  680.         $this->champsExportables                = new ArrayCollection();
  681.         $this->typesUtilisateur                 = new ArrayCollection();
  682.         $this->contacts                         = new ArrayCollection();
  683.         $this->societe                          = new ArrayCollection();
  684.         $this->devis                            = new ArrayCollection();
  685.         $this->factures                         = new ArrayCollection();
  686.         $this->commandes                        = new ArrayCollection();
  687.         $this->statutCommande                   = new ArrayCollection();
  688.         $this->clients                          = new ArrayCollection();
  689.         $this->clientCategorie                  = new ArrayCollection();
  690.         $this->transporteurs                    = new ArrayCollection();
  691.         $this->fournisseurs                     = new ArrayCollection();
  692.         $this->typesVehicule                    = new ArrayCollection();
  693.         $this->modelesVehicule                  = new ArrayCollection();
  694.         $this->marquesVehicule                  = new ArrayCollection();
  695.         $this->vehiculesClient                  = new ArrayCollection();
  696.         $this->raisonMouvementStock             = new ArrayCollection();
  697.         $this->mouvementStock                   = new ArrayCollection();
  698.         $this->marqueArticle                    = new ArrayCollection();
  699.         $this->categories                       = new ArrayCollection();
  700.         $this->articles                         = new ArrayCollection();
  701.         // your own logic
  702.         $this->widgetColonneWidget = new ArrayCollection();
  703.         $this->widgetColonne = new ArrayCollection();
  704.     }
  705.     public function getId(): ?int
  706.     {
  707.         return $this->id;
  708.     }
  709.     public function getEmail(): ?string
  710.     {
  711.         return $this->email;
  712.     }
  713.     public function setEmail(string $email): self
  714.     {
  715.         $this->email $email;
  716.         return $this;
  717.     }
  718.     /**
  719.      * A visual identifier that represents this user.
  720.      *
  721.      * @see UserInterface
  722.      */
  723.     public function getUserIdentifier(): string
  724.     {
  725.         return (string)$this->email;
  726.     }
  727.     /**
  728.      * A visual identifier that represents this user.
  729.      *
  730.      * @see UserInterface
  731.      */
  732.     public function getUsername(): string
  733.     {
  734.         return (string)$this->email;
  735.     }
  736.     /**
  737.      * @see UserInterface
  738.      */
  739.     public function getRoles(): array
  740.     {
  741.         $roles $this->roles;
  742.         // guarantee every user at least has ROLE_USER
  743.         $roles[] = 'ROLE_USER';
  744.         return array_unique($roles);
  745.     }
  746.     public function setRoles(array $roles): self
  747.     {
  748.         $this->roles $roles;
  749.         return $this;
  750.     }
  751.     /**
  752.      * @see UserInterface
  753.      */
  754.     public function getPassword(): string
  755.     {
  756.         return $this->password;
  757.     }
  758.     public function setPassword(string $password): self
  759.     {
  760.         $this->password $password;
  761.         return $this;
  762.     }
  763.     /**
  764.      * @see UserInterface
  765.      */
  766.     public function getSalt(): ?string
  767.     {
  768.         return null;
  769.     }
  770.     /**
  771.      * @see UserInterface
  772.      */
  773.     public function eraseCredentials()
  774.     {
  775.         // If you store any temporary, sensitive data on the user, clear it here
  776.         // $this->plainPassword = null;
  777.     }
  778.     public function getFirstName(): ?string
  779.     {
  780.         return $this->firstName;
  781.     }
  782.     public function setFirstName(string $firstName): self
  783.     {
  784.         $this->firstName $firstName;
  785.         return $this;
  786.     }
  787.     public function getLastName(): ?string
  788.     {
  789.         return $this->lastName;
  790.     }
  791.     public function setLastName(string $lastName): self
  792.     {
  793.         $this->lastName $lastName;
  794.         return $this;
  795.     }
  796.     public function getPlainPassword(): ?string
  797.     {
  798.         return $this->plainPassword;
  799.     }
  800.     public function setPlainPassword(string $plainPassword): self
  801.     {
  802.         $this->plainPassword $plainPassword;
  803.         return $this;
  804.     }
  805.     public function setDate(?DateTime $date): Utilisateur
  806.     {
  807.         $this->date $date;
  808.         return $this;
  809.     }
  810.     public function getDate(): ?DateTime
  811.     {
  812.         return $this->date;
  813.     }
  814.     public function setDateMaj(?DateTime $dateMaj): Utilisateur
  815.     {
  816.         $this->dateMaj $dateMaj;
  817.         return $this;
  818.     }
  819.     public function getDateMaj(): ?DateTime
  820.     {
  821.         return $this->dateMaj;
  822.     }
  823.     public function setDateSuppression(?DateTime $dateSuppression): Utilisateur
  824.     {
  825.         $this->dateSuppression $dateSuppression;
  826.         return $this;
  827.     }
  828.     public function getDateSuppression(): ?DateTime
  829.     {
  830.         return $this->dateSuppression;
  831.     }
  832.     public function setPrenom(string $prenom): Utilisateur
  833.     {
  834.         $this->prenom $prenom;
  835.         return $this;
  836.     }
  837.     public function getPrenom(): string
  838.     {
  839.         return $this->prenom;
  840.     }
  841.     public function setNom(string $nom): Utilisateur
  842.     {
  843.         $this->nom $nom;
  844.         return $this;
  845.     }
  846.     public function getNom(): string
  847.     {
  848.         return $this->nom;
  849.     }
  850.     public function setTelephone(?string $telephone): Utilisateur
  851.     {
  852.         $this->telephone $telephone;
  853.         return $this;
  854.     }
  855.     public function getTelephone(): ?string
  856.     {
  857.         return $this->telephone;
  858.     }
  859.     public function setSkype(?string $skype): Utilisateur
  860.     {
  861.         $this->skype $skype;
  862.         return $this;
  863.     }
  864.     public function getSkype(): ?string
  865.     {
  866.         return $this->skype;
  867.     }
  868.     public function addArticle(Article $articles): Utilisateur
  869.     {
  870.         $this->articles[] = $articles;
  871.         return $this;
  872.     }
  873.     public function removeArticle(Article $articles)
  874.     {
  875.         $this->articles->removeElement($articles);
  876.     }
  877.     public function getArticles(): Collection
  878.     {
  879.         return $this->articles;
  880.     }
  881.     public function addCategory(ArticleCategorie $categories): Utilisateur
  882.     {
  883.         $this->categories[] = $categories;
  884.         return $this;
  885.     }
  886.     public function removeCategory(ArticleCategorie $categories)
  887.     {
  888.         $this->categories->removeElement($categories);
  889.     }
  890.     public function getCategories(): Collection
  891.     {
  892.         return $this->categories;
  893.     }
  894.     public function addMarqueArticle(ArticleMarque $marqueArticle): Utilisateur
  895.     {
  896.         $this->marqueArticle[] = $marqueArticle;
  897.         return $this;
  898.     }
  899.     public function removeMarqueArticle(ArticleMarque $marqueArticle)
  900.     {
  901.         $this->marqueArticle->removeElement($marqueArticle);
  902.     }
  903.     public function getMarqueArticle(): Collection
  904.     {
  905.         return $this->marqueArticle;
  906.     }
  907.     public function addMouvementStock(MouvementStock $mouvementStock): Utilisateur
  908.     {
  909.         $this->mouvementStock[] = $mouvementStock;
  910.         return $this;
  911.     }
  912.     public function removeMouvementStock(MouvementStock $mouvementStock)
  913.     {
  914.         $this->mouvementStock->removeElement($mouvementStock);
  915.     }
  916.     public function getMouvementStock(): Collection
  917.     {
  918.         return $this->mouvementStock;
  919.     }
  920.     public function addRaisonMouvementStock(RaisonMouvementStock $raisonMouvementStock): Utilisateur
  921.     {
  922.         $this->raisonMouvementStock[] = $raisonMouvementStock;
  923.         return $this;
  924.     }
  925.     public function removeRaisonMouvementStock(RaisonMouvementStock $raisonMouvementStock)
  926.     {
  927.         $this->raisonMouvementStock->removeElement($raisonMouvementStock);
  928.     }
  929.     public function getRaisonMouvementStock(): Collection
  930.     {
  931.         return $this->raisonMouvementStock;
  932.     }
  933.     public function addVehiculesClient(VehiculeClient $vehiculesClient): Utilisateur
  934.     {
  935.         $this->vehiculesClient[] = $vehiculesClient;
  936.         return $this;
  937.     }
  938.     public function removeVehiculesClient(VehiculeClient $vehiculesClient)
  939.     {
  940.         $this->vehiculesClient->removeElement($vehiculesClient);
  941.     }
  942.     public function getVehiculesClient(): Collection
  943.     {
  944.         return $this->vehiculesClient;
  945.     }
  946.     public function addMarquesVehicule(Marque $marquesVehicule): Utilisateur
  947.     {
  948.         $this->marquesVehicule[] = $marquesVehicule;
  949.         return $this;
  950.     }
  951.     public function removeMarquesVehicule(Marque $marquesVehicule)
  952.     {
  953.         $this->marquesVehicule->removeElement($marquesVehicule);
  954.     }
  955.     public function getMarquesVehicule(): Collection
  956.     {
  957.         return $this->marquesVehicule;
  958.     }
  959.     public function addModelesVehicule(Modele $modelesVehicule): Utilisateur
  960.     {
  961.         $this->modelesVehicule[] = $modelesVehicule;
  962.         return $this;
  963.     }
  964.     public function removeModelesVehicule(Modele $modelesVehicule)
  965.     {
  966.         $this->modelesVehicule->removeElement($modelesVehicule);
  967.     }
  968.     public function getModelesVehicule(): Collection
  969.     {
  970.         return $this->modelesVehicule;
  971.     }
  972.     public function addTypesVehicule(VehiculeType $typesVehicule): Utilisateur
  973.     {
  974.         $this->typesVehicule[] = $typesVehicule;
  975.         return $this;
  976.     }
  977.     public function removeTypesVehicule(VehiculeType $typesVehicule)
  978.     {
  979.         $this->typesVehicule->removeElement($typesVehicule);
  980.     }
  981.     public function getTypesVehicule(): Collection
  982.     {
  983.         return $this->typesVehicule;
  984.     }
  985.     public function addFournisseur(Fournisseur $fournisseurs): Utilisateur
  986.     {
  987.         $this->fournisseurs[] = $fournisseurs;
  988.         return $this;
  989.     }
  990.     public function removeFournisseur(Fournisseur $fournisseurs)
  991.     {
  992.         $this->fournisseurs->removeElement($fournisseurs);
  993.     }
  994.     public function getFournisseurs(): Collection
  995.     {
  996.         return $this->fournisseurs;
  997.     }
  998.     public function addTransporteur(Transporteur $transporteurs): Utilisateur
  999.     {
  1000.         $this->transporteurs[] = $transporteurs;
  1001.         return $this;
  1002.     }
  1003.     public function removeTransporteur(Transporteur $transporteurs)
  1004.     {
  1005.         $this->transporteurs->removeElement($transporteurs);
  1006.     }
  1007.     public function getTransporteurs(): Collection
  1008.     {
  1009.         return $this->transporteurs;
  1010.     }
  1011.     public function addClientCategorie(ClientCategorie $clientCategorie): Utilisateur
  1012.     {
  1013.         $this->clientCategorie[] = $clientCategorie;
  1014.         return $this;
  1015.     }
  1016.     public function removeClientCategorie(ClientCategorie $clientCategorie)
  1017.     {
  1018.         $this->clientCategorie->removeElement($clientCategorie);
  1019.     }
  1020.     public function getClientCategorie(): Collection
  1021.     {
  1022.         return $this->clientCategorie;
  1023.     }
  1024.     public function addClient(Client $clients): Utilisateur
  1025.     {
  1026.         $this->clients[] = $clients;
  1027.         return $this;
  1028.     }
  1029.     public function removeClient(Client $clients)
  1030.     {
  1031.         $this->clients->removeElement($clients);
  1032.     }
  1033.     public function getClients(): Collection
  1034.     {
  1035.         return $this->clients;
  1036.     }
  1037.     public function addStatutCommande(StatutCommande $statutCommande): Utilisateur
  1038.     {
  1039.         $this->statutCommande[] = $statutCommande;
  1040.         return $this;
  1041.     }
  1042.     public function removeStatutCommande(StatutCommande $statutCommande)
  1043.     {
  1044.         $this->statutCommande->removeElement($statutCommande);
  1045.     }
  1046.     public function getStatutCommande(): Collection
  1047.     {
  1048.         return $this->statutCommande;
  1049.     }
  1050.     public function addCommande(Commande $commandes): Utilisateur
  1051.     {
  1052.         $this->commandes[] = $commandes;
  1053.         return $this;
  1054.     }
  1055.     public function removeCommande(Commande $commandes)
  1056.     {
  1057.         $this->commandes->removeElement($commandes);
  1058.     }
  1059.     public function getCommandes(): Collection
  1060.     {
  1061.         return $this->commandes;
  1062.     }
  1063.     public function addFacture(Facture $factures): Utilisateur
  1064.     {
  1065.         $this->factures[] = $factures;
  1066.         return $this;
  1067.     }
  1068.     public function removeFacture(Facture $factures)
  1069.     {
  1070.         $this->factures->removeElement($factures);
  1071.     }
  1072.     public function getFactures(): Collection
  1073.     {
  1074.         return $this->factures;
  1075.     }
  1076.     public function addDevi(Devis $devis): Utilisateur
  1077.     {
  1078.         $this->devis[] = $devis;
  1079.         return $this;
  1080.     }
  1081.     public function removeDevi(Devis $devis)
  1082.     {
  1083.         $this->devis->removeElement($devis);
  1084.     }
  1085.     public function getDevis(): Collection
  1086.     {
  1087.         return $this->devis;
  1088.     }
  1089.     public function addSociete(Societe $societe): Utilisateur
  1090.     {
  1091.         $this->societe[] = $societe;
  1092.         return $this;
  1093.     }
  1094.     public function removeSociete(Societe $societe)
  1095.     {
  1096.         $this->societe->removeElement($societe);
  1097.     }
  1098.     public function getSociete(): Collection
  1099.     {
  1100.         return $this->societe;
  1101.     }
  1102.     public function addContact(Contact $contacts): Utilisateur
  1103.     {
  1104.         $this->contacts[] = $contacts;
  1105.         return $this;
  1106.     }
  1107.     public function removeContact(Contact $contacts)
  1108.     {
  1109.         $this->contacts->removeElement($contacts);
  1110.     }
  1111.     public function getContacts(): Collection
  1112.     {
  1113.         return $this->contacts;
  1114.     }
  1115.     public function addTypesUtilisateur(TypeUtilisateur $typesUtilisateur): Utilisateur
  1116.     {
  1117.         $this->typesUtilisateur[] = $typesUtilisateur;
  1118.         return $this;
  1119.     }
  1120.     public function removeTypesUtilisateur(TypeUtilisateur $typesUtilisateur)
  1121.     {
  1122.         $this->typesUtilisateur->removeElement($typesUtilisateur);
  1123.     }
  1124.     public function getTypesUtilisateur(): Collection
  1125.     {
  1126.         return $this->typesUtilisateur;
  1127.     }
  1128.     public function setType(?TypeUtilisateur $type): self
  1129.     {
  1130.         $this->type $type;
  1131.         return $this;
  1132.     }
  1133.     public function getType(): ?TypeUtilisateur
  1134.     {
  1135.         return $this->type;
  1136.     }
  1137.     public function addChampsExportable(Export_champs_exportables $champsExportables): Utilisateur
  1138.     {
  1139.         $this->champsExportables[] = $champsExportables;
  1140.         return $this;
  1141.     }
  1142.     public function removeChampsExportable(Export_champs_exportables $champsExportables)
  1143.     {
  1144.         $this->champsExportables->removeElement($champsExportables);
  1145.     }
  1146.     public function getChampsExportables(): Collection
  1147.     {
  1148.         return $this->champsExportables;
  1149.     }
  1150.     public function addEntityExportable(Export_Entity_exportable $entityExportable): Utilisateur
  1151.     {
  1152.         $this->entityExportable[] = $entityExportable;
  1153.         return $this;
  1154.     }
  1155.     public function removeEntityExportable(Export_Entity_exportable $entityExportable)
  1156.     {
  1157.         $this->entityExportable->removeElement($entityExportable);
  1158.     }
  1159.     public function getEntityExportable(): Collection
  1160.     {
  1161.         return $this->entityExportable;
  1162.     }
  1163.     public function addAdress(Contact $adresses): Utilisateur
  1164.     {
  1165.         $this->adresses[] = $adresses;
  1166.         return $this;
  1167.     }
  1168.     public function removeAdress(Contact $adresses)
  1169.     {
  1170.         $this->adresses->removeElement($adresses);
  1171.     }
  1172.     public function getAdresses(): Collection
  1173.     {
  1174.         return $this->adresses;
  1175.     }
  1176.     public function addApplication(Application $applications): Utilisateur
  1177.     {
  1178.         $this->applications[] = $applications;
  1179.         return $this;
  1180.     }
  1181.     public function removeApplication(Application $applications)
  1182.     {
  1183.         $this->applications->removeElement($applications);
  1184.     }
  1185.     public function getApplications(): Collection
  1186.     {
  1187.         return $this->applications;
  1188.     }
  1189.     public function addRefsEquivalente(RefsEquivalentes $refsEquivalentes): Utilisateur
  1190.     {
  1191.         $this->refsEquivalentes[] = $refsEquivalentes;
  1192.         return $this;
  1193.     }
  1194.     public function removeRefsEquivalente(RefsEquivalentes $refsEquivalentes)
  1195.     {
  1196.         $this->refsEquivalentes->removeElement($refsEquivalentes);
  1197.     }
  1198.     public function getRefsEquivalentes(): Collection
  1199.     {
  1200.         return $this->refsEquivalentes;
  1201.     }
  1202.     public function addTranchePoid(TranchePoids $tranchePoids): Utilisateur
  1203.     {
  1204.         $this->tranchePoids[] = $tranchePoids;
  1205.         return $this;
  1206.     }
  1207.     public function removeTranchePoid(TranchePoids $tranchePoids)
  1208.     {
  1209.         $this->tranchePoids->removeElement($tranchePoids);
  1210.     }
  1211.     public function getTranchePoids(): Collection
  1212.     {
  1213.         return $this->tranchePoids;
  1214.     }
  1215.     public function addZoneLivraison(ZoneLivraison $zoneLivraison): Utilisateur
  1216.     {
  1217.         $this->zoneLivraison[] = $zoneLivraison;
  1218.         return $this;
  1219.     }
  1220.     public function removeZoneLivraison(ZoneLivraison $zoneLivraison)
  1221.     {
  1222.         $this->zoneLivraison->removeElement($zoneLivraison);
  1223.     }
  1224.     public function getZoneLivraison(): Collection
  1225.     {
  1226.         return $this->zoneLivraison;
  1227.     }
  1228.     public function addZoneLocalisation(Zone $zoneLocalisation): Utilisateur
  1229.     {
  1230.         $this->zoneLocalisation[] = $zoneLocalisation;
  1231.         return $this;
  1232.     }
  1233.     public function removeZoneLocalisation(Zone $zoneLocalisation)
  1234.     {
  1235.         $this->zoneLocalisation->removeElement($zoneLocalisation);
  1236.     }
  1237.     public function getZoneLocalisation(): Collection
  1238.     {
  1239.         return $this->zoneLocalisation;
  1240.     }
  1241.     public function addTax(Taxe $taxes): Utilisateur
  1242.     {
  1243.         $this->taxes[] = $taxes;
  1244.         return $this;
  1245.     }
  1246.     public function removeTax(Taxe $taxes)
  1247.     {
  1248.         $this->taxes->removeElement($taxes);
  1249.     }
  1250.     public function getTaxes(): Collection
  1251.     {
  1252.         return $this->taxes;
  1253.     }
  1254.     public function addReglesTaxe(RegleTaxe $reglesTaxe): Utilisateur
  1255.     {
  1256.         $this->reglesTaxe[] = $reglesTaxe;
  1257.         return $this;
  1258.     }
  1259.     public function removeReglesTaxe(RegleTaxe $reglesTaxe)
  1260.     {
  1261.         $this->reglesTaxe->removeElement($reglesTaxe);
  1262.     }
  1263.     public function getReglesTaxe(): Collection
  1264.     {
  1265.         return $this->reglesTaxe;
  1266.     }
  1267.     public function addTypeClient(ClientType $typeClient): Utilisateur
  1268.     {
  1269.         $this->typeClient[] = $typeClient;
  1270.         return $this;
  1271.     }
  1272.     public function removeTypeClient(ClientType $typeClient)
  1273.     {
  1274.         $this->typeClient->removeElement($typeClient);
  1275.     }
  1276.     public function getTypeClient(): Collection
  1277.     {
  1278.         return $this->typeClient;
  1279.     }
  1280.     public function addRemise(RemiseRemise $remises): Utilisateur
  1281.     {
  1282.         $this->remises[] = $remises;
  1283.         return $this;
  1284.     }
  1285.     public function removeRemise(RemiseRemise $remises)
  1286.     {
  1287.         $this->remises->removeElement($remises);
  1288.     }
  1289.     public function getRemises(): Collection
  1290.     {
  1291.         return $this->remises;
  1292.     }
  1293.     public function addPrixPromo(PrixPromo $prixPromo): Utilisateur
  1294.     {
  1295.         $this->prixPromo[] = $prixPromo;
  1296.         return $this;
  1297.     }
  1298.     public function removePrixPromo(PrixPromo $prixPromo)
  1299.     {
  1300.         $this->prixPromo->removeElement($prixPromo);
  1301.     }
  1302.     public function getPrixPromo(): Collection
  1303.     {
  1304.         return $this->prixPromo;
  1305.     }
  1306.     public function setTypeMenu(?string $typeMenu): Utilisateur
  1307.     {
  1308.         $this->typeMenu $typeMenu;
  1309.         return $this;
  1310.     }
  1311.     public function getTypeMenu(): ?string
  1312.     {
  1313.         return $this->typeMenu;
  1314.     }
  1315.     public function addPrixAchat(PrixAchat $prixAchat): Utilisateur
  1316.     {
  1317.         $this->prixAchat[] = $prixAchat;
  1318.         return $this;
  1319.     }
  1320.     public function removePrixAchat(PrixAchat $prixAchat)
  1321.     {
  1322.         $this->prixAchat->removeElement($prixAchat);
  1323.     }
  1324.     public function getPrixAchat(): Collection
  1325.     {
  1326.         return $this->prixAchat;
  1327.     }
  1328.     public function addRangementNiveauUn(NiveauUn $rangementNiveauUn): Utilisateur
  1329.     {
  1330.         $this->rangementNiveauUn[] = $rangementNiveauUn;
  1331.         return $this;
  1332.     }
  1333.     public function removeRangementNiveauUn(NiveauUn $rangementNiveauUn)
  1334.     {
  1335.         $this->rangementNiveauUn->removeElement($rangementNiveauUn);
  1336.     }
  1337.     public function getRangementNiveauUn(): Collection
  1338.     {
  1339.         return $this->rangementNiveauUn;
  1340.     }
  1341.     public function addRangementNiveauDeux(NiveauDeux $rangementNiveauDeux): Utilisateur
  1342.     {
  1343.         $this->rangementNiveauDeux[] = $rangementNiveauDeux;
  1344.         return $this;
  1345.     }
  1346.     public function removeRangementNiveauDeux(NiveauDeux $rangementNiveauDeux)
  1347.     {
  1348.         $this->rangementNiveauDeux->removeElement($rangementNiveauDeux);
  1349.     }
  1350.     public function getRangementNiveauDeux(): Collection
  1351.     {
  1352.         return $this->rangementNiveauDeux;
  1353.     }
  1354.     public function addRangementNiveauTrois(NiveauTrois $rangementNiveauTrois): Utilisateur
  1355.     {
  1356.         $this->rangementNiveauTrois[] = $rangementNiveauTrois;
  1357.         return $this;
  1358.     }
  1359.     public function removeRangementNiveauTrois(NiveauTrois $rangementNiveauTrois)
  1360.     {
  1361.         $this->rangementNiveauTrois->removeElement($rangementNiveauTrois);
  1362.     }
  1363.     public function getRangementNiveauTrois(): Collection
  1364.     {
  1365.         return $this->rangementNiveauTrois;
  1366.     }
  1367.     public function addRangementNiveauQuatre(NiveauQuatre $rangementNiveauQuatre): Utilisateur
  1368.     {
  1369.         $this->rangementNiveauQuatre[] = $rangementNiveauQuatre;
  1370.         return $this;
  1371.     }
  1372.     public function removeRangementNiveauQuatre(NiveauQuatre $rangementNiveauQuatre)
  1373.     {
  1374.         $this->rangementNiveauQuatre->removeElement($rangementNiveauQuatre);
  1375.     }
  1376.     public function getRangementNiveauQuatre(): Collection
  1377.     {
  1378.         return $this->rangementNiveauQuatre;
  1379.     }
  1380.     public function addAcompte(Acompte $acomptes): Utilisateur
  1381.     {
  1382.         $this->acomptes[] = $acomptes;
  1383.         return $this;
  1384.     }
  1385.     public function removeAcompte(Acompte $acomptes)
  1386.     {
  1387.         $this->acomptes->removeElement($acomptes);
  1388.     }
  1389.     public function getAcomptes(): Collection
  1390.     {
  1391.         return $this->acomptes;
  1392.     }
  1393.     public function addModeReglement(ModeReglement $modeReglement): Utilisateur
  1394.     {
  1395.         $this->modeReglement[] = $modeReglement;
  1396.         return $this;
  1397.     }
  1398.     public function removeModeReglement(ModeReglement $modeReglement)
  1399.     {
  1400.         $this->modeReglement->removeElement($modeReglement);
  1401.     }
  1402.     public function getModeReglement(): Collection
  1403.     {
  1404.         return $this->modeReglement;
  1405.     }
  1406.     public function setToolbarClosed(?bool $toolbarClosed): Utilisateur
  1407.     {
  1408.         $this->toolbarClosed $toolbarClosed;
  1409.         return $this;
  1410.     }
  1411.     public function getToolbarClosed(): ?bool
  1412.     {
  1413.         return $this->toolbarClosed;
  1414.     }
  1415.     public function addStatutPaiement(StatutCommande $statutPaiement): Utilisateur
  1416.     {
  1417.         $this->statutPaiement[] = $statutPaiement;
  1418.         return $this;
  1419.     }
  1420.     public function removeStatutPaiement(StatutCommande $statutPaiement)
  1421.     {
  1422.         $this->statutPaiement->removeElement($statutPaiement);
  1423.     }
  1424.     public function getStatutPaiement(): Collection
  1425.     {
  1426.         return $this->statutPaiement;
  1427.     }
  1428.     public function addGarantie(Garantie $garantie): Utilisateur
  1429.     {
  1430.         $this->garantie[] = $garantie;
  1431.         return $this;
  1432.     }
  1433.     public function removeGarantie(Garantie $garantie)
  1434.     {
  1435.         $this->garantie->removeElement($garantie);
  1436.     }
  1437.     public function getGarantie(): Collection
  1438.     {
  1439.         return $this->garantie;
  1440.     }
  1441.     public function addConditionsAchat(ConditionAchat $conditionsAchat): Utilisateur
  1442.     {
  1443.         $this->conditionsAchat[] = $conditionsAchat;
  1444.         return $this;
  1445.     }
  1446.     public function removeConditionsAchat(ConditionAchat $conditionsAchat)
  1447.     {
  1448.         $this->conditionsAchat->removeElement($conditionsAchat);
  1449.     }
  1450.     public function getConditionsAchat(): Collection
  1451.     {
  1452.         return $this->conditionsAchat;
  1453.     }
  1454.     public function addCommandesEquipier(Commande $commandesEquipier): Utilisateur
  1455.     {
  1456.         $this->commandesEquipier[] = $commandesEquipier;
  1457.         return $this;
  1458.     }
  1459.     public function removeCommandesEquipier(Commande $commandesEquipier)
  1460.     {
  1461.         $this->commandesEquipier->removeElement($commandesEquipier);
  1462.     }
  1463.     public function getCommandesEquipier(): Collection
  1464.     {
  1465.         return $this->commandesEquipier;
  1466.     }
  1467.     public function getNomPrenom(): string
  1468.     {
  1469.         return $this->prenom " " $this->nom;
  1470.     }
  1471.     public function addIntervention(Intervention $interventions): Utilisateur
  1472.     {
  1473.         $this->interventions[] = $interventions;
  1474.         return $this;
  1475.     }
  1476.     public function removeIntervention(Intervention $interventions)
  1477.     {
  1478.         $this->interventions->removeElement($interventions);
  1479.     }
  1480.     public function getInterventions(): Collection
  1481.     {
  1482.         return $this->interventions;
  1483.     }
  1484.     public function addInterventionsMecanicien(Intervention $interventionsMecanicien): Utilisateur
  1485.     {
  1486.         $this->interventionsMecanicien[] = $interventionsMecanicien;
  1487.         return $this;
  1488.     }
  1489.     public function removeInterventionsMecanicien(Intervention $interventionsMecanicien)
  1490.     {
  1491.         $this->interventionsMecanicien->removeElement($interventionsMecanicien);
  1492.     }
  1493.     public function getInterventionsMecanicien(): Collection
  1494.     {
  1495.         return $this->interventionsMecanicien;
  1496.     }
  1497.     public function addOrdreRepMecanicien(Commande $ordreRepMecanicien): Utilisateur
  1498.     {
  1499.         $this->ordreRepMecanicien[] = $ordreRepMecanicien;
  1500.         return $this;
  1501.     }
  1502.     public function removeOrdreRepMecanicien(Commande $ordreRepMecanicien)
  1503.     {
  1504.         $this->ordreRepMecanicien->removeElement($ordreRepMecanicien);
  1505.     }
  1506.     public function getOrdreRepMecanicien(): Collection
  1507.     {
  1508.         return $this->ordreRepMecanicien;
  1509.     }
  1510.     public function addNumeroSerie(NumeroSerie $numeroSerie): Utilisateur
  1511.     {
  1512.         $this->numeroSerie[] = $numeroSerie;
  1513.         return $this;
  1514.     }
  1515.     public function removeNumeroSerie(NumeroSerie $numeroSerie)
  1516.     {
  1517.         $this->numeroSerie->removeElement($numeroSerie);
  1518.     }
  1519.     public function getNumeroSerie(): Collection
  1520.     {
  1521.         return $this->numeroSerie;
  1522.     }
  1523.     public function addEtatCommande(EtatCommande $etatCommande): Utilisateur
  1524.     {
  1525.         $this->etatCommande[] = $etatCommande;
  1526.         return $this;
  1527.     }
  1528.     public function removeEtatCommande(EtatCommande $etatCommande)
  1529.     {
  1530.         $this->etatCommande->removeElement($etatCommande);
  1531.     }
  1532.     public function getEtatCommande(): Collection
  1533.     {
  1534.         return $this->etatCommande;
  1535.     }
  1536.     public function addCategorieFournisseur(CategorieFournisseurs $categorieFournisseurs): Utilisateur
  1537.     {
  1538.         $this->categorieFournisseurs[] = $categorieFournisseurs;
  1539.         return $this;
  1540.     }
  1541.     public function removeCategorieFournisseur(CategorieFournisseurs $categorieFournisseurs)
  1542.     {
  1543.         $this->categorieFournisseurs->removeElement($categorieFournisseurs);
  1544.     }
  1545.     public function getCategorieFournisseurs(): Collection
  1546.     {
  1547.         return $this->categorieFournisseurs;
  1548.     }
  1549.     public function addTacheCron(TacheCron $tacheCron): Utilisateur
  1550.     {
  1551.         $this->tacheCron[] = $tacheCron;
  1552.         return $this;
  1553.     }
  1554.     public function removeTacheCron(TacheCron $tacheCron)
  1555.     {
  1556.         $this->tacheCron->removeElement($tacheCron);
  1557.     }
  1558.     public function getTacheCron(): Collection
  1559.     {
  1560.         return $this->tacheCron;
  1561.     }
  1562.     public function addNumerotationDocument(NumerotationDocument $numerotationDocument): Utilisateur
  1563.     {
  1564.         $this->numerotationDocument[] = $numerotationDocument;
  1565.         return $this;
  1566.     }
  1567.     public function removeNumerotationDocument(NumerotationDocument $numerotationDocument)
  1568.     {
  1569.         $this->numerotationDocument->removeElement($numerotationDocument);
  1570.     }
  1571.     public function getNumerotationDocument(): Collection
  1572.     {
  1573.         return $this->numerotationDocument;
  1574.     }
  1575.     public function addFabrication(Article $fabrications): Utilisateur
  1576.     {
  1577.         $this->fabrications[] = $fabrications;
  1578.         return $this;
  1579.     }
  1580.     public function removeFabrication(Article $fabrications)
  1581.     {
  1582.         $this->fabrications->removeElement($fabrications);
  1583.     }
  1584.     public function getFabrications(): Collection
  1585.     {
  1586.         return $this->fabrications;
  1587.     }
  1588.     public function addFabricationsMagasinier(Article $fabricationsMagasinier): Utilisateur
  1589.     {
  1590.         $this->fabricationsMagasinier[] = $fabricationsMagasinier;
  1591.         return $this;
  1592.     }
  1593.     public function removeFabricationsMagasinier(Article $fabricationsMagasinier)
  1594.     {
  1595.         $this->fabricationsMagasinier->removeElement($fabricationsMagasinier);
  1596.     }
  1597.     public function getFabricationsMagasinier(): Collection
  1598.     {
  1599.         return $this->fabricationsMagasinier;
  1600.     }
  1601.     public function addUniteMesure(UniteMesure $uniteMesure): Utilisateur
  1602.     {
  1603.         $this->uniteMesure[] = $uniteMesure;
  1604.         return $this;
  1605.     }
  1606.     public function removeUniteMesure(UniteMesure $uniteMesure)
  1607.     {
  1608.         $this->uniteMesure->removeElement($uniteMesure);
  1609.     }
  1610.     public function getUniteMesure(): Collection
  1611.     {
  1612.         return $this->uniteMesure;
  1613.     }
  1614.     public function addDevise(Devise $devise): Utilisateur
  1615.     {
  1616.         $this->devise[] = $devise;
  1617.         return $this;
  1618.     }
  1619.     public function removeDevise(Devise $devise)
  1620.     {
  1621.         $this->devise->removeElement($devise);
  1622.     }
  1623.     public function getDevise(): Collection
  1624.     {
  1625.         return $this->devise;
  1626.     }
  1627.     public function __toString(): string
  1628.     {
  1629.         return $this->prenom." ".$this->prenom;
  1630.     }
  1631.     public function addCategorieRemiseArticle(CategorieRemiseArticle $categorieRemiseArticle): Utilisateur
  1632.     {
  1633.         $this->categorieRemiseArticle[] = $categorieRemiseArticle;
  1634.         return $this;
  1635.     }
  1636.     public function removeCategorieRemiseArticle(CategorieRemiseArticle $categorieRemiseArticle)
  1637.     {
  1638.         $this->categorieRemiseArticle->removeElement($categorieRemiseArticle);
  1639.     }
  1640.     public function getCategorieRemiseArticle(): Collection
  1641.     {
  1642.         return $this->categorieRemiseArticle;
  1643.     }
  1644.     public function addCategorieRemiseClient(CategorieRemiseClient $categorieRemiseClient): Utilisateur
  1645.     {
  1646.         $this->categorieRemiseClient[] = $categorieRemiseClient;
  1647.         return $this;
  1648.     }
  1649.     public function removeCategorieRemiseClient(CategorieRemiseClient $categorieRemiseClient)
  1650.     {
  1651.         $this->categorieRemiseClient->removeElement($categorieRemiseClient);
  1652.     }
  1653.     public function getCategorieRemiseClient(): Collection
  1654.     {
  1655.         return $this->categorieRemiseClient;
  1656.     }
  1657.     public function setReference(?string $reference): Utilisateur
  1658.     {
  1659.         $this->reference $reference;
  1660.         return $this;
  1661.     }
  1662.     public function getReference(): ?string
  1663.     {
  1664.         return $this->reference;
  1665.     }
  1666.     public function addTypeReglement(TypeReglement $typeReglement): Utilisateur
  1667.     {
  1668.         $this->typeReglement[] = $typeReglement;
  1669.         return $this;
  1670.     }
  1671.     public function removeTypeReglement(TypeReglement $typeReglement)
  1672.     {
  1673.         $this->typeReglement->removeElement($typeReglement);
  1674.     }
  1675.     public function getTypeReglement(): Collection
  1676.     {
  1677.         return $this->typeReglement;
  1678.     }
  1679.     public function addComptum(Compta $comptum): Utilisateur
  1680.     {
  1681.         $this->compta[] = $comptum;
  1682.         return $this;
  1683.     }
  1684.     public function removeComptum(Compta $comptum)
  1685.     {
  1686.         $this->compta->removeElement($comptum);
  1687.     }
  1688.     public function getCompta(): Collection
  1689.     {
  1690.         return $this->compta;
  1691.     }
  1692.     public function addImport(Import $import): Utilisateur
  1693.     {
  1694.         $this->import[] = $import;
  1695.         return $this;
  1696.     }
  1697.     public function removeImport(Import $import)
  1698.     {
  1699.         $this->import->removeElement($import);
  1700.     }
  1701.     public function getImport(): Collection
  1702.     {
  1703.         return $this->import;
  1704.     }
  1705.     public function addChampImport(Champ $champImport): Utilisateur
  1706.     {
  1707.         $this->champImport[] = $champImport;
  1708.         return $this;
  1709.     }
  1710.     public function removeChampImport(Champ $champImport)
  1711.     {
  1712.         $this->champImport->removeElement($champImport);
  1713.     }
  1714.     public function getChampImport(): Collection
  1715.     {
  1716.         return $this->champImport;
  1717.     }
  1718.     public function addEntiteImport(Entite $entiteImport): Utilisateur
  1719.     {
  1720.         $this->entiteImport[] = $entiteImport;
  1721.         return $this;
  1722.     }
  1723.     public function removeEntiteImport(Entite $entiteImport)
  1724.     {
  1725.         $this->entiteImport->removeElement($entiteImport);
  1726.     }
  1727.     public function getEntiteImport(): Collection
  1728.     {
  1729.         return $this->entiteImport;
  1730.     }
  1731.     public function addRemiseFournisseur(Remise $remiseFournisseur): Utilisateur
  1732.     {
  1733.         $this->remiseFournisseurs[] = $remiseFournisseur;
  1734.         return $this;
  1735.     }
  1736.     public function removeRemiseFournisseur(Remise $remiseFournisseur)
  1737.     {
  1738.         $this->remiseFournisseurs->removeElement($remiseFournisseur);
  1739.     }
  1740.     public function getRemiseFournisseurs(): Collection
  1741.     {
  1742.         return $this->remiseFournisseurs;
  1743.     }
  1744.     public function addArticleComptaImport(Entite $articleComptaImport): Utilisateur
  1745.     {
  1746.         $this->articleComptaImport[] = $articleComptaImport;
  1747.         return $this;
  1748.     }
  1749.     public function removeArticleComptaImport(Entite $articleComptaImport)
  1750.     {
  1751.         $this->articleComptaImport->removeElement($articleComptaImport);
  1752.     }
  1753.     public function getArticleComptaImport(): Collection
  1754.     {
  1755.         return $this->articleComptaImport;
  1756.     }
  1757.     public function addBorderauxLCR(BordereauLCR $borderauxLCR): Utilisateur
  1758.     {
  1759.         $this->borderauxLCR[] = $borderauxLCR;
  1760.         return $this;
  1761.     }
  1762.     public function removeBorderauxLCR(BordereauLCR $borderauxLCR)
  1763.     {
  1764.         $this->borderauxLCR->removeElement($borderauxLCR);
  1765.     }
  1766.     public function getBorderauxLCR(): Collection
  1767.     {
  1768.         return $this->borderauxLCR;
  1769.     }
  1770.     public function addComptesBancaire(CompteBancaire $comptesBancaire): Utilisateur
  1771.     {
  1772.         $this->comptesBancaires[] = $comptesBancaire;
  1773.         return $this;
  1774.     }
  1775.     public function removeComptesBancaire(CompteBancaire $comptesBancaire)
  1776.     {
  1777.         $this->comptesBancaires->removeElement($comptesBancaire);
  1778.     }
  1779.     public function getComptesBancaires(): Collection
  1780.     {
  1781.         return $this->comptesBancaires;
  1782.     }
  1783.     public function addLcr(LCR $lcr): Utilisateur
  1784.     {
  1785.         $this->lcrs[] = $lcr;
  1786.         return $this;
  1787.     }
  1788.     public function removeLcr(LCR $lcr)
  1789.     {
  1790.         $this->lcrs->removeElement($lcr);
  1791.     }
  1792.     public function getLcrs(): Collection
  1793.     {
  1794.         return $this->lcrs;
  1795.     }
  1796.     public function addModeEncaissement(ModeEncaissement $modeEncaissement): Utilisateur
  1797.     {
  1798.         $this->modeEncaissement[] = $modeEncaissement;
  1799.         return $this;
  1800.     }
  1801.     public function removeModeEncaissement(ModeEncaissement $modeEncaissement)
  1802.     {
  1803.         $this->modeEncaissement->removeElement($modeEncaissement);
  1804.     }
  1805.     public function getModeEncaissement(): Collection
  1806.     {
  1807.         return $this->modeEncaissement;
  1808.     }
  1809.     public function addFabricationsMultiple(Article $fabricationsMultiple): Utilisateur
  1810.     {
  1811.         $this->fabricationsMultiple[] = $fabricationsMultiple;
  1812.         return $this;
  1813.     }
  1814.     public function removeFabricationsMultiple(Article $fabricationsMultiple)
  1815.     {
  1816.         $this->fabricationsMultiple->removeElement($fabricationsMultiple);
  1817.     }
  1818.     public function getFabricationsMultiple(): Collection
  1819.     {
  1820.         return $this->fabricationsMultiple;
  1821.     }
  1822.     public function addTypesMouvementCaisse(CompteBancaire $typesMouvementCaisse): Utilisateur
  1823.     {
  1824.         $this->typesMouvementCaisse[] = $typesMouvementCaisse;
  1825.         return $this;
  1826.     }
  1827.     public function removeTypesMouvementCaisse(CompteBancaire $typesMouvementCaisse)
  1828.     {
  1829.         $this->typesMouvementCaisse->removeElement($typesMouvementCaisse);
  1830.     }
  1831.     public function getTypesMouvementCaisse(): Collection
  1832.     {
  1833.         return $this->typesMouvementCaisse;
  1834.     }
  1835.     public function addMouvementsCaisse(CompteBancaire $mouvementsCaisse): Utilisateur
  1836.     {
  1837.         $this->mouvementsCaisse[] = $mouvementsCaisse;
  1838.         return $this;
  1839.     }
  1840.     public function removeMouvementsCaisse(CompteBancaire $mouvementsCaisse)
  1841.     {
  1842.         $this->mouvementsCaisse->removeElement($mouvementsCaisse);
  1843.     }
  1844.     public function getMouvementsCaisse(): Collection
  1845.     {
  1846.         return $this->mouvementsCaisse;
  1847.     }
  1848.     public function addReception(Reception $reception): Utilisateur
  1849.     {
  1850.         $this->receptions[] = $reception;
  1851.         return $this;
  1852.     }
  1853.     public function removeReception(Reception $reception)
  1854.     {
  1855.         $this->receptions->removeElement($reception);
  1856.     }
  1857.     public function getReceptions(): Collection
  1858.     {
  1859.         return $this->receptions;
  1860.     }
  1861.     public function addNote(Note $note): Utilisateur
  1862.     {
  1863.         $this->notes[] = $note;
  1864.         return $this;
  1865.     }
  1866.     public function removeNote(Note $note)
  1867.     {
  1868.         $this->notes->removeElement($note);
  1869.     }
  1870.     public function getNotes(): Collection
  1871.     {
  1872.         return $this->notes;
  1873.     }
  1874.     public function addCategorieNote(categorie $categorieNote): Utilisateur
  1875.     {
  1876.         $this->categorieNote[] = $categorieNote;
  1877.         return $this;
  1878.     }
  1879.     public function removeCategorieNote(categorie $categorieNote)
  1880.     {
  1881.         $this->categorieNote->removeElement($categorieNote);
  1882.     }
  1883.     public function getCategorieNote(): Collection
  1884.     {
  1885.         return $this->categorieNote;
  1886.     }
  1887.     public function addEtiquette(Etiquette $etiquette): Utilisateur
  1888.     {
  1889.         $this->etiquettes[] = $etiquette;
  1890.         return $this;
  1891.     }
  1892.     public function removeEtiquette(Etiquette $etiquette)
  1893.     {
  1894.         $this->etiquettes->removeElement($etiquette);
  1895.     }
  1896.     public function getEtiquettes(): Collection
  1897.     {
  1898.         return $this->etiquettes;
  1899.     }
  1900.     public function addBalise(Balise $balise): Utilisateur
  1901.     {
  1902.         $this->balises[] = $balise;
  1903.         return $this;
  1904.     }
  1905.     public function removeBalise(Balise $balise)
  1906.     {
  1907.         $this->balises->removeElement($balise);
  1908.     }
  1909.     public function getBalises(): Collection
  1910.     {
  1911.         return $this->balises;
  1912.     }
  1913.     public function addInventaire(Inventaire $inventaire): Utilisateur
  1914.     {
  1915.         $this->inventaires[] = $inventaire;
  1916.         return $this;
  1917.     }
  1918.     public function removeInventaire(Inventaire $inventaire)
  1919.     {
  1920.         $this->inventaires->removeElement($inventaire);
  1921.     }
  1922.     public function getInventaires(): Collection
  1923.     {
  1924.         return $this->inventaires;
  1925.     }
  1926.     public function addTypesInventaire(InventaireType $typesInventaire): Utilisateur
  1927.     {
  1928.         $this->typesInventaire[] = $typesInventaire;
  1929.         return $this;
  1930.     }
  1931.     public function removeTypesInventaire(InventaireType $typesInventaire)
  1932.     {
  1933.         $this->typesInventaire->removeElement($typesInventaire);
  1934.     }
  1935.     public function getTypesInventaire(): Collection
  1936.     {
  1937.         return $this->typesInventaire;
  1938.     }
  1939.     public function addTypeArticle(Type $typeArticle): Utilisateur
  1940.     {
  1941.         $this->typeArticle[] = $typeArticle;
  1942.         return $this;
  1943.     }
  1944.     public function removeTypeArticle(Type $typeArticle)
  1945.     {
  1946.         $this->typeArticle->removeElement($typeArticle);
  1947.     }
  1948.     public function getTypeArticle(): Collection
  1949.     {
  1950.         return $this->typeArticle;
  1951.     }
  1952.     public function addFamilleComptum(FamilleCompta $familleComptum): Utilisateur
  1953.     {
  1954.         $this->familleCompta[] = $familleComptum;
  1955.         return $this;
  1956.     }
  1957.     public function removeFamilleComptum(FamilleCompta $familleComptum)
  1958.     {
  1959.         $this->familleCompta->removeElement($familleComptum);
  1960.     }
  1961.     public function getFamilleCompta(): Collection
  1962.     {
  1963.         return $this->familleCompta;
  1964.     }
  1965.     public function setTriRechercheArticle(?string $triRechercheArticle): Utilisateur
  1966.     {
  1967.         $this->triRechercheArticle $triRechercheArticle;
  1968.         return $this;
  1969.     }
  1970.     public function getTriRechercheArticle(): ?string
  1971.     {
  1972.         return $this->triRechercheArticle;
  1973.     }
  1974.     public function setOrdreTriRechercheArticle(?string $ordreTriRechercheArticle): Utilisateur
  1975.     {
  1976.         $this->ordreTriRechercheArticle $ordreTriRechercheArticle;
  1977.         return $this;
  1978.     }
  1979.     public function getOrdreTriRechercheArticle(): ?string
  1980.     {
  1981.         return $this->ordreTriRechercheArticle;
  1982.     }
  1983.     public function addEmplacement(Emplacement $emplacement): Utilisateur
  1984.     {
  1985.         $this->emplacements[] = $emplacement;
  1986.         return $this;
  1987.     }
  1988.     public function removeEmplacement(Emplacement $emplacement)
  1989.     {
  1990.         $this->emplacements->removeElement($emplacement);
  1991.     }
  1992.     public function getEmplacements(): Collection
  1993.     {
  1994.         return $this->emplacements;
  1995.     }
  1996.     public function setSignatureMail(?string $signatureMail): Utilisateur
  1997.     {
  1998.         $this->signatureMail $signatureMail;
  1999.         return $this;
  2000.     }
  2001.     public function getSignatureMail(): ?string
  2002.     {
  2003.         return $this->signatureMail;
  2004.     }
  2005.     public function addLangue(Langue $langue): Utilisateur
  2006.     {
  2007.         $this->langue[] = $langue;
  2008.         return $this;
  2009.     }
  2010.     public function removeLangue(Langue $langue)
  2011.     {
  2012.         $this->langue->removeElement($langue);
  2013.     }
  2014.     public function getLangue(): Collection
  2015.     {
  2016.         return $this->langue;
  2017.     }
  2018.     public function setIdGoogleAgenda(?string $idGoogleAgenda): Utilisateur
  2019.     {
  2020.         $this->idGoogleAgenda $idGoogleAgenda;
  2021.         return $this;
  2022.     }
  2023.     public function getIdGoogleAgenda(): ?string
  2024.     {
  2025.         return $this->idGoogleAgenda;
  2026.     }
  2027.     public function addUtilisateurSecteurGeographique(UtilisateurZoneGeographique $utilisateurSecteurGeographique): Utilisateur
  2028.     {
  2029.         $this->utilisateurSecteurGeographique[] = $utilisateurSecteurGeographique;
  2030.         return $this;
  2031.     }
  2032.     public function removeUtilisateurSecteurGeographique(UtilisateurZoneGeographique $utilisateurSecteurGeographique)
  2033.     {
  2034.         $this->utilisateurSecteurGeographique->removeElement($utilisateurSecteurGeographique);
  2035.     }
  2036.     public function getUtilisateurSecteurGeographique(): Collection
  2037.     {
  2038.         return $this->utilisateurSecteurGeographique;
  2039.     }
  2040.     public function addUtilisateurAtelier(UtilisateurAtelier $utilisateurAtelier): Utilisateur
  2041.     {
  2042.         $this->utilisateurAtelier[] = $utilisateurAtelier;
  2043.         return $this;
  2044.     }
  2045.     public function removeUtilisateurAtelier(UtilisateurAtelier $utilisateurAtelier)
  2046.     {
  2047.         $this->utilisateurAtelier->removeElement($utilisateurAtelier);
  2048.     }
  2049.     public function getUtilisateurAtelier(): Collection
  2050.     {
  2051.         return $this->utilisateurAtelier;
  2052.     }
  2053.     public function setMouvementeRechercheArticle(?bool $mouvementeRechercheArticle): Utilisateur
  2054.     {
  2055.         $this->mouvementeRechercheArticle $mouvementeRechercheArticle;
  2056.         return $this;
  2057.     }
  2058.     public function getMouvementeRechercheArticle(): ?bool
  2059.     {
  2060.         return $this->mouvementeRechercheArticle;
  2061.     }
  2062.     public function setReceptionner(?bool $receptionner): Utilisateur
  2063.     {
  2064.         $this->receptionner $receptionner;
  2065.         return $this;
  2066.     }
  2067.     public function getReceptionner(): ?bool
  2068.     {
  2069.         return $this->receptionner;
  2070.     }
  2071.     public function setFabriquer(?bool $fabriquer): Utilisateur
  2072.     {
  2073.         $this->fabriquer $fabriquer;
  2074.         return $this;
  2075.     }
  2076.     public function getFabriquer(): ?bool
  2077.     {
  2078.         return $this->fabriquer;
  2079.     }
  2080.     public function setPreparer(?bool $preparer): Utilisateur
  2081.     {
  2082.         $this->preparer $preparer;
  2083.         return $this;
  2084.     }
  2085.     public function getPreparer(): ?bool
  2086.     {
  2087.         return $this->preparer;
  2088.     }
  2089.     public function setEmballer(?bool $emballer): Utilisateur
  2090.     {
  2091.         $this->emballer $emballer;
  2092.         return $this;
  2093.     }
  2094.     public function getEmballer(): ?bool
  2095.     {
  2096.         return $this->emballer;
  2097.     }
  2098.     public function addHistoriqueIntervention(HistoriqueIntervention $historiqueIntervention): Utilisateur
  2099.     {
  2100.         $this->historiqueIntervention[] = $historiqueIntervention;
  2101.         return $this;
  2102.     }
  2103.     public function removeHistoriqueIntervention(HistoriqueIntervention $historiqueIntervention)
  2104.     {
  2105.         $this->historiqueIntervention->removeElement($historiqueIntervention);
  2106.     }
  2107.     public function getHistoriqueIntervention(): Collection
  2108.     {
  2109.         return $this->historiqueIntervention;
  2110.     }
  2111.     public function setIdImport(?string $idImport): Utilisateur
  2112.     {
  2113.         $this->idImport $idImport;
  2114.         return $this;
  2115.     }
  2116.     public function getIdImport(): ?string
  2117.     {
  2118.         return $this->idImport;
  2119.     }
  2120.     public function setBadge(?string $badge): Utilisateur
  2121.     {
  2122.         $this->badge $badge;
  2123.         return $this;
  2124.     }
  2125.     public function getBadge(): ?string
  2126.     {
  2127.         return $this->badge;
  2128.     }
  2129.     public function addActivite(Activite $activite): Utilisateur
  2130.     {
  2131.         $this->activites[] = $activite;
  2132.         return $this;
  2133.     }
  2134.     public function removeActivite(Activite $activite)
  2135.     {
  2136.         $this->activites->removeElement($activite);
  2137.     }
  2138.     public function getActivites(): Collection
  2139.     {
  2140.         return $this->activites;
  2141.     }
  2142.     public function addCaisseIndividuelle(CaisseIndividuelle $caisseIndividuelle): Utilisateur
  2143.     {
  2144.         $this->caisseIndividuelle[] = $caisseIndividuelle;
  2145.         return $this;
  2146.     }
  2147.     public function removeCaisseIndividuelle(CaisseIndividuelle $caisseIndividuelle)
  2148.     {
  2149.         $this->caisseIndividuelle->removeElement($caisseIndividuelle);
  2150.     }
  2151.     public function getCaisseIndividuelle(): Collection
  2152.     {
  2153.         return $this->caisseIndividuelle;
  2154.     }
  2155.     public function setVisibleAgenda(bool $visibleAgenda): Utilisateur
  2156.     {
  2157.         $this->visibleAgenda $visibleAgenda;
  2158.         return $this;
  2159.     }
  2160.     public function getVisibleAgenda(): bool
  2161.     {
  2162.         return $this->visibleAgenda;
  2163.     }
  2164.     public function setCouleurAgenda(?string $couleurAgenda): Utilisateur
  2165.     {
  2166.         $this->couleurAgenda $couleurAgenda;
  2167.         return $this;
  2168.     }
  2169.     public function getCouleurAgenda(): ?string
  2170.     {
  2171.         return $this->couleurAgenda;
  2172.     }
  2173.     public function setArchive(bool $archive): Utilisateur
  2174.     {
  2175.         $this->archive $archive;
  2176.         return $this;
  2177.     }
  2178.     public function getArchive(): bool
  2179.     {
  2180.         return $this->archive;
  2181.     }
  2182.     public function setVisible(bool $visible): Utilisateur
  2183.     {
  2184.         $this->visible $visible;
  2185.         return $this;
  2186.     }
  2187.     public function getVisible(): bool
  2188.     {
  2189.         return $this->visible;
  2190.     }
  2191.     public function getProjetsUtilisateur(): Collection
  2192.     {
  2193.         return $this->projetsUtilisateur;
  2194.     }
  2195.     public function setProjetsUtilisateur(ProjetUtilisateur $projetsUtilisateur): Utilisateur
  2196.     {
  2197.         $this->projetsUtilisateur $projetsUtilisateur;
  2198.         return $this;
  2199.     }
  2200.     public function getSessionId(): ?string
  2201.     {
  2202.         return $this->sessionId;
  2203.     }
  2204.     public function setSessionId(?string $sessionId): self
  2205.     {
  2206.         $this->sessionId $sessionId;
  2207.         return $this;
  2208.     }
  2209.     public function getLastLogin(): ?\DateTime
  2210.     {
  2211.         return $this->lastLogin;
  2212.     }
  2213.     public function setLastLogin(?\DateTime $lastLogin): self
  2214.     {
  2215.         $this->lastLogin $lastLogin;
  2216.         return $this;
  2217.     }
  2218.     public function isEqualTo(UserInterface $user): bool
  2219.     {
  2220.         if ($this->getSessionId() !== $user->getSessionId()) {
  2221.             return false;
  2222.         }
  2223.         if ($this->getArchive() !== $user->getArchive()) {
  2224.             return false;
  2225.         }
  2226.         if ($this->getType()->getId() !== $user->getType()->getId()) {
  2227.             return false;
  2228.         }
  2229.         return true;
  2230.     }
  2231.     public function checkPreAuth(UserInterface $user): void
  2232.     {
  2233.         /** @var Utilisateur $user */
  2234.         if ($user->getArchive()) {
  2235.             throw new CustomUserMessageAccountStatusException('Your user account no longer exists.');
  2236.         }
  2237.     }
  2238.     public function checkPostAuth(UserInterface $user): void
  2239.     {
  2240.         return;
  2241.     }
  2242.     public function isVisible(): ?bool
  2243.     {
  2244.         return $this->visible;
  2245.     }
  2246.     public function isVisibleAgenda(): ?bool
  2247.     {
  2248.         return $this->visibleAgenda;
  2249.     }
  2250.     public function isArchive(): ?bool
  2251.     {
  2252.         return $this->archive;
  2253.     }
  2254.     public function isReceptionner(): ?bool
  2255.     {
  2256.         return $this->receptionner;
  2257.     }
  2258.     public function isFabriquer(): ?bool
  2259.     {
  2260.         return $this->fabriquer;
  2261.     }
  2262.     public function isPreparer(): ?bool
  2263.     {
  2264.         return $this->preparer;
  2265.     }
  2266.     public function isEmballer(): ?bool
  2267.     {
  2268.         return $this->emballer;
  2269.     }
  2270.     public function isToolbarClosed(): ?bool
  2271.     {
  2272.         return $this->toolbarClosed;
  2273.     }
  2274.     public function isMouvementeRechercheArticle(): ?bool
  2275.     {
  2276.         return $this->mouvementeRechercheArticle;
  2277.     }
  2278.     public function addRangementNiveauTroi(NiveauTrois $rangementNiveauTroi): self
  2279.     {
  2280.         if (!$this->rangementNiveauTrois->contains($rangementNiveauTroi)) {
  2281.             $this->rangementNiveauTrois[] = $rangementNiveauTroi;
  2282.             $rangementNiveauTroi->setUtilisateur($this);
  2283.         }
  2284.         return $this;
  2285.     }
  2286.     public function removeRangementNiveauTroi(NiveauTrois $rangementNiveauTroi): self
  2287.     {
  2288.         if ($this->rangementNiveauTrois->removeElement($rangementNiveauTroi)) {
  2289.             // set the owning side to null (unless already changed)
  2290.             if ($rangementNiveauTroi->getUtilisateur() === $this) {
  2291.                 $rangementNiveauTroi->setUtilisateur(null);
  2292.             }
  2293.         }
  2294.         return $this;
  2295.     }
  2296.     public function addProjetsUtilisateur(ProjetUtilisateur $projetsUtilisateur): self
  2297.     {
  2298.         if (!$this->projetsUtilisateur->contains($projetsUtilisateur)) {
  2299.             $this->projetsUtilisateur[] = $projetsUtilisateur;
  2300.             $projetsUtilisateur->setUtilisateur($this);
  2301.         }
  2302.         return $this;
  2303.     }
  2304.     public function removeProjetsUtilisateur(ProjetUtilisateur $projetsUtilisateur): self
  2305.     {
  2306.         if ($this->projetsUtilisateur->removeElement($projetsUtilisateur)) {
  2307.             // set the owning side to null (unless already changed)
  2308.             if ($projetsUtilisateur->getUtilisateur() === $this) {
  2309.                 $projetsUtilisateur->setUtilisateur(null);
  2310.             }
  2311.         }
  2312.         return $this;
  2313.     }
  2314.     /**
  2315.      * @return Collection<int, WidgetWidgetColonneUtilisateur>
  2316.      */
  2317.     public function getWidgetColonneWidget(): Collection
  2318.     {
  2319.         return $this->widgetColonneWidget;
  2320.     }
  2321.     public function addWidgetColonneWidget(WidgetWidgetColonneUtilisateur $widgetColonneWidget): self
  2322.     {
  2323.         if (!$this->widgetColonneWidget->contains($widgetColonneWidget)) {
  2324.             $this->widgetColonneWidget[] = $widgetColonneWidget;
  2325.             $widgetColonneWidget->setUtilisateur($this);
  2326.         }
  2327.         return $this;
  2328.     }
  2329.     public function removeWidgetColonneWidget(WidgetWidgetColonneUtilisateur $widgetColonneWidget): self
  2330.     {
  2331.         if ($this->widgetColonneWidget->removeElement($widgetColonneWidget)) {
  2332.             // set the owning side to null (unless already changed)
  2333.             if ($widgetColonneWidget->getUtilisateur() === $this) {
  2334.                 $widgetColonneWidget->setUtilisateur(null);
  2335.             }
  2336.         }
  2337.         return $this;
  2338.     }
  2339.     /**
  2340.      * @return Collection<int, WidgetColonneUtilisateur>
  2341.      */
  2342.     public function getWidgetColonne(): Collection
  2343.     {
  2344.         return $this->widgetColonne;
  2345.     }
  2346.     public function addWidgetColonne(WidgetColonneUtilisateur $widgetColonne): self
  2347.     {
  2348.         if (!$this->widgetColonne->contains($widgetColonne)) {
  2349.             $this->widgetColonne[] = $widgetColonne;
  2350.             $widgetColonne->setUtilisateur($this);
  2351.         }
  2352.         return $this;
  2353.     }
  2354.     public function removeWidgetColonne(WidgetColonneUtilisateur $widgetColonne): self
  2355.     {
  2356.         if ($this->widgetColonne->removeElement($widgetColonne)) {
  2357.             // set the owning side to null (unless already changed)
  2358.             if ($widgetColonne->getUtilisateur() === $this) {
  2359.                 $widgetColonne->setUtilisateur(null);
  2360.             }
  2361.         }
  2362.         return $this;
  2363.     }
  2364. }