src/Entity/Utilisateur/Utilisateur.php line 108

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