<?php
namespace App\Entity\Utilisateur;
use App\Entity\Adresses\Adresse;
use App\Entity\Articles\Article;
use App\Entity\Articles\Compta;
use App\Entity\Articles\ConditionAchat;
use App\Entity\Articles\Devise;
use App\Entity\Articles\FamilleCompta;
use App\Entity\Articles\Garantie;
use App\Entity\Articles\MouvementStock;
use App\Entity\Articles\NumeroSerie;
use App\Entity\Articles\PrixAchat;
use App\Entity\Articles\PrixPromo;
use App\Entity\Articles\RaisonMouvementStock;
use App\Entity\Articles\RefsEquivalentes;
use App\Entity\Articles\Type;
use App\Entity\Articles\UniteMesure;
use App\Entity\Clients\Client;
use App\Entity\Etiquettes\Balise;
use App\Entity\Etiquettes\Etiquette;
use App\Entity\Export\Export_champs_exportables;
use App\Entity\Export\Export_Entity_exportable;
use App\Entity\FO\CompteBancaire;
use App\Entity\FO\Societe;
use App\Entity\FO\TacheCron;
use App\Entity\Fournisseurs\Fournisseur;
use App\Entity\Fournisseurs\Remise;
use App\Entity\GestionComerciale\Acompte;
use App\Entity\GestionComerciale\Activite;
use App\Entity\GestionComerciale\BordereauLCR;
use App\Entity\GestionComerciale\CaisseIndividuelle;
use App\Entity\GestionComerciale\Commande;
use App\Entity\GestionComerciale\Devis;
use App\Entity\GestionComerciale\EtatCommande;
use App\Entity\GestionComerciale\Fabrication;
use App\Entity\GestionComerciale\FabricationMultiple;
use App\Entity\GestionComerciale\Facture;
use App\Entity\GestionComerciale\LCR;
use App\Entity\GestionComerciale\ModeEncaissement;
use App\Entity\GestionComerciale\ModeReglement;
use App\Entity\GestionComerciale\MouvementCaisse;
use App\Entity\GestionComerciale\NumerotationDocument;
use App\Entity\GestionComerciale\Reception;
use App\Entity\GestionComerciale\StatutCommande;
use App\Entity\GestionComerciale\StatutPaiement;
use App\Entity\GestionComerciale\TypeMouvementCaisse;
use App\Entity\GestionComerciale\TypeReglement;
use App\Entity\Imports\Champ;
use App\Entity\Imports\Entite;
use App\Entity\Imports\Import;
use App\Entity\Inventaires\Inventaire;
use App\Entity\Localisation\Zone;
use App\Entity\Notes\Categorie;
#use App\Entity\Notes\categorie;
use App\Entity\Notes\Note;
use App\Entity\Projets\ProjetUtilisateur;
use App\Entity\Rangements\Emplacement;
use App\Entity\Rangements\NiveauDeux;
use App\Entity\Rangements\NiveauQuatre;
use App\Entity\Rangements\NiveauTrois;
use App\Entity\Rangements\NiveauUn;
use App\Entity\Remises\CategorieRemiseArticle;
use App\Entity\Remises\CategorieRemiseClient;
use App\Entity\Taxes\RegleTaxe;
use App\Entity\Taxes\Taxe;
use App\Entity\Traductions\Langue;
use App\Entity\Transporteurs\TranchePoids;
use App\Entity\Transporteurs\Transporteur;
use App\Entity\Transporteurs\ZoneLivraison;
use App\Entity\Vehicules\Application;
use App\Entity\Vehicules\Marque;
use App\Entity\Vehicules\Modele;
use App\Entity\Vehicules\VehiculeClient;
use App\Entity\Widget\WidgetColonneUtilisateur;
use App\Entity\Widget\WidgetWidgetColonneUtilisateur;
use DateTime;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\Security\Core\Exception\AccountStatusException;
use Symfony\Component\Security\Core\Exception\CustomUserMessageAccountStatusException;
use Symfony\Component\Security\Core\User\EquatableInterface;
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
use Symfony\Component\Security\Core\User\UserCheckerInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Validator\Constraints as Assert;
use App\Entity\Inventaires\Type as InventaireType;
use App\Entity\Fournisseurs\Categorie as CategorieFournisseurs;
use App\Entity\Remises\Remise as RemiseRemise;
use App\Entity\Clients\Type as ClientType;
use App\Entity\Clients\Categorie as ClientCategorie;
use App\Entity\Vehicules\Type as VehiculeType;
use App\Entity\Articles\Marque as ArticleMarque;
use App\Entity\Articles\Categorie as ArticleCategorie;
use App\Annotations\SecuredEntity;
/**
* Utilisateur
*
* @ORM\Table("utilisateur__utilisateurs")
* @ORM\Entity(repositoryClass="App\Repository\Utilisateur\UtilisateurRepository")
* @Gedmo\SoftDeleteable(fieldName="dateSuppression",timeAware=false)
* @SecuredEntity(name="Personnel", group="REGLAGES")
*/
class Utilisateur implements UserInterface, PasswordAuthenticatedUserInterface, EquatableInterface, UserCheckerInterface
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(type="string", length=180, unique=true)
* @Assert\NotBlank(groups={"registration"})
* @Assert\Email(message="'L'Email n'est pas valide.", groups={"registration"})
*/
private $email;
/**
* @ORM\Column(type="json")
*/
private $roles = [];
/**
* @var string The hashed password
* @ORM\Column(type="string")
*/
private $password;
/**
* @ORM\Column(type="string", length=255)
* @Assert\NotBlank(groups={"registration"})
*/
private $prenom;
/**
* @ORM\Column(type="string", length=255)
* @Assert\NotBlank(groups={"registration"})
*/
private $nom;
private $plainPassword;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $sessionId;
/**
* @ORM\Column(type="datetime", length=255, nullable=true)
*/
private $lastLogin;
/**
* @ORM\Column(name="visible", type="boolean")
*/
private $visible = true;
/**
* @ORM\Column(name="visible_agenda", type="boolean")
*/
private $visibleAgenda = true;
/**
* @ORM\Column(name="archive", type="boolean")
*/
private $archive = false;
/**
* @ORM\Column(name="couleurAgenda", type="string", length=255, nullable=true)
*/
private $couleurAgenda;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\UtilisateurZoneGeographique", mappedBy="utilisateur")
*/
private $utilisateurSecteurGeographique;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\UtilisateurAtelier", mappedBy="utilisateur")
*/
private $utilisateurAtelier;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\HistoriqueIntervention", mappedBy="utilisateur")
*/
private $historiqueIntervention;
/**
* @ORM\Column(name="reference", type="string", length=255, nullable=true)
*/
private $reference;
/**
* @ORM\Column(name="google_agenda", type="string", length=255, nullable=true)
*/
private $idGoogleAgenda;
/**
* @ORM\Column(name="badge", type="string", length=255, nullable=true)
*/
private $badge;
/**
* @ORM\Column(name="receptionner", type="boolean", nullable=true)
*/
private $receptionner;
/**
* @ORM\Column(name="fabriquer", type="boolean", nullable=true)
*/
private $fabriquer;
/**
* @ORM\Column(name="preparer", type="boolean", nullable=true)
*/
private $preparer;
/**
* @ORM\Column(name="emballer", type="boolean", nullable=true)
*/
private $emballer;
/**
* @ORM\Column(name="signature_mail", type="text", nullable=true)
*/
private $signatureMail;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Imports\Import", mappedBy="utilisateur")
*/
private $import;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Fournisseurs\Remise", mappedBy="utilisateur")
*/
private $remiseFournisseurs;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Imports\Champ", mappedBy="utilisateur")
*/
private $champImport;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Imports\Entite", mappedBy="utilisateur")
*/
private $entiteImport;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Imports\Entite", mappedBy="utilisateurComptaImport")
*/
private $articleComptaImport;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\Utilisateur\TypeUtilisateur", inversedBy="utilisateurs")
*/
private $type;
/**
* @ORM\OneToMany(targetEntity="App\Entity\FO\TacheCron", mappedBy="utilisateur")
*/
private $tacheCron;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Fournisseurs\Categorie", mappedBy="utilisateur")
*/
private $categorieFournisseurs;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\NumeroSerie", mappedBy="utilisateur")
*/
private $numeroSerie;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\Intervention", mappedBy="utilisateur")
*/
private $interventions;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\Intervention", mappedBy="mecanicien")
*/
private $interventionsMecanicien;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Rangements\Emplacement", mappedBy="utilisateur")
*/
private $emplacements;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\ConditionAchat", mappedBy="utilisateur")
*/
private $conditionsAchat;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\TypeReglement", mappedBy="utilisateur")
*/
private $typeReglement;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\ModeReglement", mappedBy="utilisateur")
*/
private $modeReglement;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\ModeEncaissement", mappedBy="utilisateur")
*/
private $modeEncaissement;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\NumerotationDocument", mappedBy="utilisateur")
*/
private $numerotationDocument;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\Garantie", mappedBy="utilisateur")
*/
private $garantie;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Rangements\NiveauUn", mappedBy="utilisateur")
*/
private $rangementNiveauUn;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Rangements\NiveauDeux", mappedBy="utilisateur")
*/
private $rangementNiveauDeux;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Rangements\NiveauTrois", mappedBy="utilisateur")
*/
private $rangementNiveauTrois;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Rangements\NiveauQuatre", mappedBy="utilisateur")
*/
private $rangementNiveauQuatre;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\PrixPromo", mappedBy="utilisateur")
*/
private $prixPromo;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Localisation\Zone", mappedBy="utilisateur")
*/
private $zoneLocalisation;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Transporteurs\ZoneLivraison", mappedBy="utilisateur")
*/
private $zoneLivraison;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Transporteurs\TranchePoids", mappedBy="utilisateur")
*/
private $tranchePoids;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Widget\WidgetWidgetColonneUtilisateur", mappedBy="utilisateur")
*/
private $widgetColonneWidget;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Widget\WidgetColonneUtilisateur", mappedBy="utilisateur")
*/
private $widgetColonne;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Adresses\Adresse", mappedBy="utilisateur")
*/
private $adresses;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Application", mappedBy="utilisateur")
*/
private $applications;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\Contact", mappedBy="utilisateur")
*/
private $contacts;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Utilisateur\TypeUtilisateur", mappedBy="utilisateur")
*/
private $typesUtilisateur;
/**
* @ORM\OneToMany(targetEntity="App\Entity\FO\Societe", mappedBy="utilisateur")
*/
private $societe;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\StatutPaiement", mappedBy="utilisateur")
*/
private $statutPaiement;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\StatutCommande", mappedBy="utilisateur")
*/
private $statutCommande;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\EtatCommande", mappedBy="utilisateur")
*/
private $etatCommande;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Commande", mappedBy="utilisateur")
*/
private $commandes;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Commande", mappedBy="mecanicien")
*/
private $ordreRepMecanicien;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Acompte", mappedBy="utilisateur")
*/
private $acomptes;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Facture", mappedBy="utilisateur")
*/
private $factures;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Devis", mappedBy="utilisateur")
*/
private $devis;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\Article", mappedBy="utilisateur")
*/
private $articles;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Fabrication", mappedBy="utilisateur")
*/
private $fabrications;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\FabricationMultiple", mappedBy="utilisateur")
*/
private $fabricationsMultiple;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Fabrication", mappedBy="magasinier")
*/
private $fabricationsMagasinier;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Taxes\Taxe", mappedBy="utilisateur")
*/
private $taxes;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Clients\Type", mappedBy="utilisateur")
*/
private $typeClient;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Taxes\RegleTaxe", mappedBy="utilisateur")
*/
private $reglesTaxe;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Export\Export_champs_exportables", mappedBy="utilisateur")
*/
private $champsExportables;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Export\Export_Entity_exportable", mappedBy="utilisateur")
*/
private $entityExportable;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Vehicules\VehiculeClient", mappedBy="utilisateur")
*/
private $vehiculesClient;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Marque", mappedBy="utilisateur")
*/
private $marquesVehicule;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Modele", mappedBy="utilisateur")
*/
private $modelesVehicule;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Vehicules\Type", mappedBy="utilisateur")
*/
private $typesVehicule;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Fournisseurs\Fournisseur", mappedBy="utilisateur")
*/
private $fournisseurs;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Transporteurs\Transporteur", mappedBy="utilisateur")
*/
private $transporteurs;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Clients\Categorie", mappedBy="utilisateur")
*/
private $clientCategorie;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Clients\Client", mappedBy="utilisateur")
*/
private $clients;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Notes\Note", mappedBy="utilisateur")
*/
private $notes;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Inventaires\Inventaire", mappedBy="utilisateur")
*/
private $inventaires;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Inventaires\Type", mappedBy="utilisateur")
*/
private $typesInventaire;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Etiquettes\Etiquette", mappedBy="utilisateur")
*/
private $etiquettes;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Etiquettes\Balise", mappedBy="utilisateur")
*/
private $balises;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Remises\Remise", mappedBy="utilisateur")
*/
private $remises;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Remises\CategorieRemiseArticle", mappedBy="utilisateur")
*/
private $categorieRemiseArticle;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Remises\CategorieRemiseClient", mappedBy="utilisateur")
*/
private $categorieRemiseClient;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\Categorie", mappedBy="utilisateur")
*/
private $categories;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\Marque", mappedBy="utilisateur")
*/
private $marqueArticle;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\Type", mappedBy="utilisateur")
*/
private $typeArticle;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\FamilleCompta", mappedBy="utilisateur")
*/
private $familleCompta;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Notes\Categorie", mappedBy="utilisateur")
*/
private $categorieNote;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\UniteMesure", mappedBy="utilisateur")
*/
private $uniteMesure;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Traductions\Langue", mappedBy="utilisateur")
*/
private $langue;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\Devise", mappedBy="utilisateur")
*/
private $devise;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\Compta", mappedBy="utilisateur")
*/
private $compta;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\MouvementStock", mappedBy="utilisateur")
*/
private $mouvementStock;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\CaisseIndividuelle", mappedBy="utilisateur")
*/
private $caisseIndividuelle;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Projets\ProjetUtilisateur", mappedBy="utilisateur")
*/
private $projetsUtilisateur;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\RaisonMouvementStock", mappedBy="utilisateur")
*/
private $raisonMouvementStock;
/**
* @ORM\Column(name="date", type="datetime", nullable=true)
*/
private $date;
/**
* @ORM\Column(name="date_maj", type="datetime", nullable=true)
* @Gedmo\Timestampable(on="update")
*/
private $dateMaj;
/**
* @ORM\Column(name="date_supression", type="datetime", nullable=true)
*/
private $dateSuppression;
/**
* @ORM\Column(name="telephone", type="string", length=255, nullable=true)
*/
private $telephone;
/**
* @ORM\Column(name="skype", type="string", length=255, nullable=true)
*/
private $skype;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\RefsEquivalentes", mappedBy="utilisateur")
*/
private $refsEquivalentes;
/**
* @ORM\OneToMany(targetEntity="App\Entity\Articles\PrixAchat", cascade={"persist"},mappedBy="utilisateur")
*/
private $prixAchat;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\BordereauLCR", cascade={"persist"},mappedBy="utilisateur")
*/
private $borderauxLCR;
/**
* @ORM\OneToMany(targetEntity="App\Entity\FO\CompteBancaire", cascade={"persist"},mappedBy="utilisateur")
*/
private $comptesBancaires;
/**
* @ORM\Column(name="type_menu", type="string", length=255, nullable=true)
*/
private $typeMenu;
/**
* @ORM\Column(name="toolbar_closed", type="boolean", nullable=true)
*/
private $toolbarClosed;
/**
* @ORM\Column(name="mouvemente_recherche_article", type="boolean", nullable=true)
*/
private $mouvementeRechercheArticle;
/**
* @ORM\Column(name="tri_recherche_article", type="string", length=255, nullable=true)
*/
private $triRechercheArticle;
/**
* @ORM\Column(name="ordre_tri_recherche_article", type="string", length=255, nullable=true)
*/
private $ordreTriRechercheArticle;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\LCR", mappedBy="utilisateur")
*/
private $lcrs;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\TypeMouvementCaisse", cascade={"persist"},mappedBy="utilisateur")
*/
private $typesMouvementCaisse;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\MouvementCaisse", cascade={"persist"},mappedBy="utilisateur")
*/
private $mouvementsCaisse;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Reception", cascade={"persist"},mappedBy="utilisateur")
*/
private $receptions;
/**
* @ORM\Column(name="id_import", type="string",length=255, nullable=true)
*/
private $idImport;
/**
* @ORM\OneToMany(targetEntity="App\Entity\GestionComerciale\Activite", mappedBy="utilisateur")
*/
private $activites;
public function __construct()
{
$this->date = new Datetime();
$this->mouvementeRechercheArticle = false;
$this->toolbarClosed = false;
$this->utilisateurSecteurGeographique = new ArrayCollection();
$this->utilisateurAtelier = new ArrayCollection();
$this->projetsUtilisateur = new ArrayCollection();
$this->caisseIndividuelle = new ArrayCollection();
$this->activites = new ArrayCollection();
$this->historiqueIntervention = new ArrayCollection();
$this->utilisateurAtelier = new ArrayCollection();
$this->utilisateurSecteurGeographique = new ArrayCollection();
$this->langue = new ArrayCollection();
$this->emplacements = new ArrayCollection();
$this->familleCompta = new ArrayCollection();
$this->typeArticle = new ArrayCollection();
$this->typesInventaire = new ArrayCollection();
$this->inventaires = new ArrayCollection();
$this->balises = new ArrayCollection();
$this->etiquettes = new ArrayCollection();
$this->categorieNote = new ArrayCollection();
$this->notes = new ArrayCollection();
$this->receptions = new ArrayCollection();
$this->mouvementsCaisse = new ArrayCollection();
$this->typesMouvementCaisse = new ArrayCollection();
$this->fabricationsMultiple = new ArrayCollection();
$this->modeEncaissement = new ArrayCollection();
$this->lcrs = new ArrayCollection();
$this->comptesBancaires = new ArrayCollection();
$this->borderauxLCR = new ArrayCollection();
$this->articleComptaImport = new ArrayCollection();
$this->remiseFournisseurs = new ArrayCollection();
$this->entiteImport = new ArrayCollection();
$this->champImport = new ArrayCollection();
$this->import = new ArrayCollection();
$this->compta = new ArrayCollection();
$this->typeReglement = new ArrayCollection();
$this->categorieRemiseClient = new ArrayCollection();
$this->categorieRemiseArticle = new ArrayCollection();
$this->devise = new ArrayCollection();
$this->uniteMesure = new ArrayCollection();
$this->fabricationsMagasinier = new ArrayCollection();
$this->fabrications = new ArrayCollection();
$this->numerotationDocument = new ArrayCollection();
$this->tacheCron = new ArrayCollection();
$this->categorieFournisseurs = new ArrayCollection();
$this->etatCommande = new ArrayCollection();
$this->numeroSerie = new ArrayCollection();
$this->ordreRepMecanicien = new ArrayCollection();
$this->interventionsMecanicien = new ArrayCollection();
$this->interventions = new ArrayCollection();
$this->conditionsAchat = new ArrayCollection();
$this->garantie = new ArrayCollection();
$this->statutPaiement = new ArrayCollection();
$this->modeReglement = new ArrayCollection();
$this->acomptes = new ArrayCollection();
$this->rangementNiveauQuatre = new ArrayCollection();
$this->rangementNiveauTrois = new ArrayCollection();
$this->rangementNiveauDeux = new ArrayCollection();
$this->rangementNiveauUn = new ArrayCollection();
$this->prixAchat = new ArrayCollection();
$this->prixPromo = new ArrayCollection();
$this->remises = new ArrayCollection();
$this->typeClient = new ArrayCollection();
$this->reglesTaxe = new ArrayCollection();
$this->taxes = new ArrayCollection();
$this->zoneLocalisation = new ArrayCollection();
$this->zoneLivraison = new ArrayCollection();
$this->tranchePoids = new ArrayCollection();
$this->refsEquivalentes = new ArrayCollection();
$this->applications = new ArrayCollection();
$this->adresses = new ArrayCollection();
//$this->widgetColonneWidget = new ArrayCollection();
$this->entityExportable = new ArrayCollection();
//$this->widgetColonne = new ArrayCollection();
$this->champsExportables = new ArrayCollection();
$this->typesUtilisateur = new ArrayCollection();
$this->contacts = new ArrayCollection();
$this->societe = new ArrayCollection();
$this->devis = new ArrayCollection();
$this->factures = new ArrayCollection();
$this->commandes = new ArrayCollection();
$this->statutCommande = new ArrayCollection();
$this->clients = new ArrayCollection();
$this->clientCategorie = new ArrayCollection();
$this->transporteurs = new ArrayCollection();
$this->fournisseurs = new ArrayCollection();
$this->typesVehicule = new ArrayCollection();
$this->modelesVehicule = new ArrayCollection();
$this->marquesVehicule = new ArrayCollection();
$this->vehiculesClient = new ArrayCollection();
$this->raisonMouvementStock = new ArrayCollection();
$this->mouvementStock = new ArrayCollection();
$this->marqueArticle = new ArrayCollection();
$this->categories = new ArrayCollection();
$this->articles = new ArrayCollection();
// your own logic
$this->widgetColonneWidget = new ArrayCollection();
$this->widgetColonne = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
/**
* A visual identifier that represents this user.
*
* @see UserInterface
*/
public function getUserIdentifier(): string
{
return (string)$this->email;
}
/**
* A visual identifier that represents this user.
*
* @see UserInterface
*/
public function getUsername(): string
{
return (string)$this->email;
}
/**
* @see UserInterface
*/
public function getRoles(): array
{
$roles = $this->roles;
// guarantee every user at least has ROLE_USER
$roles[] = 'ROLE_USER';
return array_unique($roles);
}
public function setRoles(array $roles): self
{
$this->roles = $roles;
return $this;
}
/**
* @see UserInterface
*/
public function getPassword(): string
{
return $this->password;
}
public function setPassword(string $password): self
{
$this->password = $password;
return $this;
}
/**
* @see UserInterface
*/
public function getSalt(): ?string
{
return null;
}
/**
* @see UserInterface
*/
public function eraseCredentials()
{
// If you store any temporary, sensitive data on the user, clear it here
// $this->plainPassword = null;
}
public function getFirstName(): ?string
{
return $this->firstName;
}
public function setFirstName(string $firstName): self
{
$this->firstName = $firstName;
return $this;
}
public function getLastName(): ?string
{
return $this->lastName;
}
public function setLastName(string $lastName): self
{
$this->lastName = $lastName;
return $this;
}
public function getPlainPassword(): ?string
{
return $this->plainPassword;
}
public function setPlainPassword(string $plainPassword): self
{
$this->plainPassword = $plainPassword;
return $this;
}
public function setDate(?DateTime $date): Utilisateur
{
$this->date = $date;
return $this;
}
public function getDate(): ?DateTime
{
return $this->date;
}
public function setDateMaj(?DateTime $dateMaj): Utilisateur
{
$this->dateMaj = $dateMaj;
return $this;
}
public function getDateMaj(): ?DateTime
{
return $this->dateMaj;
}
public function setDateSuppression(?DateTime $dateSuppression): Utilisateur
{
$this->dateSuppression = $dateSuppression;
return $this;
}
public function getDateSuppression(): ?DateTime
{
return $this->dateSuppression;
}
public function setPrenom(string $prenom): Utilisateur
{
$this->prenom = $prenom;
return $this;
}
public function getPrenom(): string
{
return $this->prenom;
}
public function setNom(string $nom): Utilisateur
{
$this->nom = $nom;
return $this;
}
public function getNom(): string
{
return $this->nom;
}
public function setTelephone(?string $telephone): Utilisateur
{
$this->telephone = $telephone;
return $this;
}
public function getTelephone(): ?string
{
return $this->telephone;
}
public function setSkype(?string $skype): Utilisateur
{
$this->skype = $skype;
return $this;
}
public function getSkype(): ?string
{
return $this->skype;
}
public function addArticle(Article $articles): Utilisateur
{
$this->articles[] = $articles;
return $this;
}
public function removeArticle(Article $articles)
{
$this->articles->removeElement($articles);
}
public function getArticles(): Collection
{
return $this->articles;
}
public function addCategory(ArticleCategorie $categories): Utilisateur
{
$this->categories[] = $categories;
return $this;
}
public function removeCategory(ArticleCategorie $categories)
{
$this->categories->removeElement($categories);
}
public function getCategories(): Collection
{
return $this->categories;
}
public function addMarqueArticle(ArticleMarque $marqueArticle): Utilisateur
{
$this->marqueArticle[] = $marqueArticle;
return $this;
}
public function removeMarqueArticle(ArticleMarque $marqueArticle)
{
$this->marqueArticle->removeElement($marqueArticle);
}
public function getMarqueArticle(): Collection
{
return $this->marqueArticle;
}
public function addMouvementStock(MouvementStock $mouvementStock): Utilisateur
{
$this->mouvementStock[] = $mouvementStock;
return $this;
}
public function removeMouvementStock(MouvementStock $mouvementStock)
{
$this->mouvementStock->removeElement($mouvementStock);
}
public function getMouvementStock(): Collection
{
return $this->mouvementStock;
}
public function addRaisonMouvementStock(RaisonMouvementStock $raisonMouvementStock): Utilisateur
{
$this->raisonMouvementStock[] = $raisonMouvementStock;
return $this;
}
public function removeRaisonMouvementStock(RaisonMouvementStock $raisonMouvementStock)
{
$this->raisonMouvementStock->removeElement($raisonMouvementStock);
}
public function getRaisonMouvementStock(): Collection
{
return $this->raisonMouvementStock;
}
public function addVehiculesClient(VehiculeClient $vehiculesClient): Utilisateur
{
$this->vehiculesClient[] = $vehiculesClient;
return $this;
}
public function removeVehiculesClient(VehiculeClient $vehiculesClient)
{
$this->vehiculesClient->removeElement($vehiculesClient);
}
public function getVehiculesClient(): Collection
{
return $this->vehiculesClient;
}
public function addMarquesVehicule(Marque $marquesVehicule): Utilisateur
{
$this->marquesVehicule[] = $marquesVehicule;
return $this;
}
public function removeMarquesVehicule(Marque $marquesVehicule)
{
$this->marquesVehicule->removeElement($marquesVehicule);
}
public function getMarquesVehicule(): Collection
{
return $this->marquesVehicule;
}
public function addModelesVehicule(Modele $modelesVehicule): Utilisateur
{
$this->modelesVehicule[] = $modelesVehicule;
return $this;
}
public function removeModelesVehicule(Modele $modelesVehicule)
{
$this->modelesVehicule->removeElement($modelesVehicule);
}
public function getModelesVehicule(): Collection
{
return $this->modelesVehicule;
}
public function addTypesVehicule(VehiculeType $typesVehicule): Utilisateur
{
$this->typesVehicule[] = $typesVehicule;
return $this;
}
public function removeTypesVehicule(VehiculeType $typesVehicule)
{
$this->typesVehicule->removeElement($typesVehicule);
}
public function getTypesVehicule(): Collection
{
return $this->typesVehicule;
}
public function addFournisseur(Fournisseur $fournisseurs): Utilisateur
{
$this->fournisseurs[] = $fournisseurs;
return $this;
}
public function removeFournisseur(Fournisseur $fournisseurs)
{
$this->fournisseurs->removeElement($fournisseurs);
}
public function getFournisseurs(): Collection
{
return $this->fournisseurs;
}
public function addTransporteur(Transporteur $transporteurs): Utilisateur
{
$this->transporteurs[] = $transporteurs;
return $this;
}
public function removeTransporteur(Transporteur $transporteurs)
{
$this->transporteurs->removeElement($transporteurs);
}
public function getTransporteurs(): Collection
{
return $this->transporteurs;
}
public function addClientCategorie(ClientCategorie $clientCategorie): Utilisateur
{
$this->clientCategorie[] = $clientCategorie;
return $this;
}
public function removeClientCategorie(ClientCategorie $clientCategorie)
{
$this->clientCategorie->removeElement($clientCategorie);
}
public function getClientCategorie(): Collection
{
return $this->clientCategorie;
}
public function addClient(Client $clients): Utilisateur
{
$this->clients[] = $clients;
return $this;
}
public function removeClient(Client $clients)
{
$this->clients->removeElement($clients);
}
public function getClients(): Collection
{
return $this->clients;
}
public function addStatutCommande(StatutCommande $statutCommande): Utilisateur
{
$this->statutCommande[] = $statutCommande;
return $this;
}
public function removeStatutCommande(StatutCommande $statutCommande)
{
$this->statutCommande->removeElement($statutCommande);
}
public function getStatutCommande(): Collection
{
return $this->statutCommande;
}
public function addCommande(Commande $commandes): Utilisateur
{
$this->commandes[] = $commandes;
return $this;
}
public function removeCommande(Commande $commandes)
{
$this->commandes->removeElement($commandes);
}
public function getCommandes(): Collection
{
return $this->commandes;
}
public function addFacture(Facture $factures): Utilisateur
{
$this->factures[] = $factures;
return $this;
}
public function removeFacture(Facture $factures)
{
$this->factures->removeElement($factures);
}
public function getFactures(): Collection
{
return $this->factures;
}
public function addDevi(Devis $devis): Utilisateur
{
$this->devis[] = $devis;
return $this;
}
public function removeDevi(Devis $devis)
{
$this->devis->removeElement($devis);
}
public function getDevis(): Collection
{
return $this->devis;
}
public function addSociete(Societe $societe): Utilisateur
{
$this->societe[] = $societe;
return $this;
}
public function removeSociete(Societe $societe)
{
$this->societe->removeElement($societe);
}
public function getSociete(): Collection
{
return $this->societe;
}
public function addContact(Contact $contacts): Utilisateur
{
$this->contacts[] = $contacts;
return $this;
}
public function removeContact(Contact $contacts)
{
$this->contacts->removeElement($contacts);
}
public function getContacts(): Collection
{
return $this->contacts;
}
public function addTypesUtilisateur(TypeUtilisateur $typesUtilisateur): Utilisateur
{
$this->typesUtilisateur[] = $typesUtilisateur;
return $this;
}
public function removeTypesUtilisateur(TypeUtilisateur $typesUtilisateur)
{
$this->typesUtilisateur->removeElement($typesUtilisateur);
}
public function getTypesUtilisateur(): Collection
{
return $this->typesUtilisateur;
}
public function setType(?TypeUtilisateur $type): self
{
$this->type = $type;
return $this;
}
public function getType(): ?TypeUtilisateur
{
return $this->type;
}
public function addChampsExportable(Export_champs_exportables $champsExportables): Utilisateur
{
$this->champsExportables[] = $champsExportables;
return $this;
}
public function removeChampsExportable(Export_champs_exportables $champsExportables)
{
$this->champsExportables->removeElement($champsExportables);
}
public function getChampsExportables(): Collection
{
return $this->champsExportables;
}
public function addEntityExportable(Export_Entity_exportable $entityExportable): Utilisateur
{
$this->entityExportable[] = $entityExportable;
return $this;
}
public function removeEntityExportable(Export_Entity_exportable $entityExportable)
{
$this->entityExportable->removeElement($entityExportable);
}
public function getEntityExportable(): Collection
{
return $this->entityExportable;
}
public function addAdress(Contact $adresses): Utilisateur
{
$this->adresses[] = $adresses;
return $this;
}
public function removeAdress(Contact $adresses)
{
$this->adresses->removeElement($adresses);
}
public function getAdresses(): Collection
{
return $this->adresses;
}
public function addApplication(Application $applications): Utilisateur
{
$this->applications[] = $applications;
return $this;
}
public function removeApplication(Application $applications)
{
$this->applications->removeElement($applications);
}
public function getApplications(): Collection
{
return $this->applications;
}
public function addRefsEquivalente(RefsEquivalentes $refsEquivalentes): Utilisateur
{
$this->refsEquivalentes[] = $refsEquivalentes;
return $this;
}
public function removeRefsEquivalente(RefsEquivalentes $refsEquivalentes)
{
$this->refsEquivalentes->removeElement($refsEquivalentes);
}
public function getRefsEquivalentes(): Collection
{
return $this->refsEquivalentes;
}
public function addTranchePoid(TranchePoids $tranchePoids): Utilisateur
{
$this->tranchePoids[] = $tranchePoids;
return $this;
}
public function removeTranchePoid(TranchePoids $tranchePoids)
{
$this->tranchePoids->removeElement($tranchePoids);
}
public function getTranchePoids(): Collection
{
return $this->tranchePoids;
}
public function addZoneLivraison(ZoneLivraison $zoneLivraison): Utilisateur
{
$this->zoneLivraison[] = $zoneLivraison;
return $this;
}
public function removeZoneLivraison(ZoneLivraison $zoneLivraison)
{
$this->zoneLivraison->removeElement($zoneLivraison);
}
public function getZoneLivraison(): Collection
{
return $this->zoneLivraison;
}
public function addZoneLocalisation(Zone $zoneLocalisation): Utilisateur
{
$this->zoneLocalisation[] = $zoneLocalisation;
return $this;
}
public function removeZoneLocalisation(Zone $zoneLocalisation)
{
$this->zoneLocalisation->removeElement($zoneLocalisation);
}
public function getZoneLocalisation(): Collection
{
return $this->zoneLocalisation;
}
public function addTax(Taxe $taxes): Utilisateur
{
$this->taxes[] = $taxes;
return $this;
}
public function removeTax(Taxe $taxes)
{
$this->taxes->removeElement($taxes);
}
public function getTaxes(): Collection
{
return $this->taxes;
}
public function addReglesTaxe(RegleTaxe $reglesTaxe): Utilisateur
{
$this->reglesTaxe[] = $reglesTaxe;
return $this;
}
public function removeReglesTaxe(RegleTaxe $reglesTaxe)
{
$this->reglesTaxe->removeElement($reglesTaxe);
}
public function getReglesTaxe(): Collection
{
return $this->reglesTaxe;
}
public function addTypeClient(ClientType $typeClient): Utilisateur
{
$this->typeClient[] = $typeClient;
return $this;
}
public function removeTypeClient(ClientType $typeClient)
{
$this->typeClient->removeElement($typeClient);
}
public function getTypeClient(): Collection
{
return $this->typeClient;
}
public function addRemise(RemiseRemise $remises): Utilisateur
{
$this->remises[] = $remises;
return $this;
}
public function removeRemise(RemiseRemise $remises)
{
$this->remises->removeElement($remises);
}
public function getRemises(): Collection
{
return $this->remises;
}
public function addPrixPromo(PrixPromo $prixPromo): Utilisateur
{
$this->prixPromo[] = $prixPromo;
return $this;
}
public function removePrixPromo(PrixPromo $prixPromo)
{
$this->prixPromo->removeElement($prixPromo);
}
public function getPrixPromo(): Collection
{
return $this->prixPromo;
}
public function setTypeMenu(?string $typeMenu): Utilisateur
{
$this->typeMenu = $typeMenu;
return $this;
}
public function getTypeMenu(): ?string
{
return $this->typeMenu;
}
public function addPrixAchat(PrixAchat $prixAchat): Utilisateur
{
$this->prixAchat[] = $prixAchat;
return $this;
}
public function removePrixAchat(PrixAchat $prixAchat)
{
$this->prixAchat->removeElement($prixAchat);
}
public function getPrixAchat(): Collection
{
return $this->prixAchat;
}
public function addRangementNiveauUn(NiveauUn $rangementNiveauUn): Utilisateur
{
$this->rangementNiveauUn[] = $rangementNiveauUn;
return $this;
}
public function removeRangementNiveauUn(NiveauUn $rangementNiveauUn)
{
$this->rangementNiveauUn->removeElement($rangementNiveauUn);
}
public function getRangementNiveauUn(): Collection
{
return $this->rangementNiveauUn;
}
public function addRangementNiveauDeux(NiveauDeux $rangementNiveauDeux): Utilisateur
{
$this->rangementNiveauDeux[] = $rangementNiveauDeux;
return $this;
}
public function removeRangementNiveauDeux(NiveauDeux $rangementNiveauDeux)
{
$this->rangementNiveauDeux->removeElement($rangementNiveauDeux);
}
public function getRangementNiveauDeux(): Collection
{
return $this->rangementNiveauDeux;
}
public function addRangementNiveauTrois(NiveauTrois $rangementNiveauTrois): Utilisateur
{
$this->rangementNiveauTrois[] = $rangementNiveauTrois;
return $this;
}
public function removeRangementNiveauTrois(NiveauTrois $rangementNiveauTrois)
{
$this->rangementNiveauTrois->removeElement($rangementNiveauTrois);
}
public function getRangementNiveauTrois(): Collection
{
return $this->rangementNiveauTrois;
}
public function addRangementNiveauQuatre(NiveauQuatre $rangementNiveauQuatre): Utilisateur
{
$this->rangementNiveauQuatre[] = $rangementNiveauQuatre;
return $this;
}
public function removeRangementNiveauQuatre(NiveauQuatre $rangementNiveauQuatre)
{
$this->rangementNiveauQuatre->removeElement($rangementNiveauQuatre);
}
public function getRangementNiveauQuatre(): Collection
{
return $this->rangementNiveauQuatre;
}
public function addAcompte(Acompte $acomptes): Utilisateur
{
$this->acomptes[] = $acomptes;
return $this;
}
public function removeAcompte(Acompte $acomptes)
{
$this->acomptes->removeElement($acomptes);
}
public function getAcomptes(): Collection
{
return $this->acomptes;
}
public function addModeReglement(ModeReglement $modeReglement): Utilisateur
{
$this->modeReglement[] = $modeReglement;
return $this;
}
public function removeModeReglement(ModeReglement $modeReglement)
{
$this->modeReglement->removeElement($modeReglement);
}
public function getModeReglement(): Collection
{
return $this->modeReglement;
}
public function setToolbarClosed(?bool $toolbarClosed): Utilisateur
{
$this->toolbarClosed = $toolbarClosed;
return $this;
}
public function getToolbarClosed(): ?bool
{
return $this->toolbarClosed;
}
public function addStatutPaiement(StatutCommande $statutPaiement): Utilisateur
{
$this->statutPaiement[] = $statutPaiement;
return $this;
}
public function removeStatutPaiement(StatutCommande $statutPaiement)
{
$this->statutPaiement->removeElement($statutPaiement);
}
public function getStatutPaiement(): Collection
{
return $this->statutPaiement;
}
public function addGarantie(Garantie $garantie): Utilisateur
{
$this->garantie[] = $garantie;
return $this;
}
public function removeGarantie(Garantie $garantie)
{
$this->garantie->removeElement($garantie);
}
public function getGarantie(): Collection
{
return $this->garantie;
}
public function addConditionsAchat(ConditionAchat $conditionsAchat): Utilisateur
{
$this->conditionsAchat[] = $conditionsAchat;
return $this;
}
public function removeConditionsAchat(ConditionAchat $conditionsAchat)
{
$this->conditionsAchat->removeElement($conditionsAchat);
}
public function getConditionsAchat(): Collection
{
return $this->conditionsAchat;
}
public function addCommandesEquipier(Commande $commandesEquipier): Utilisateur
{
$this->commandesEquipier[] = $commandesEquipier;
return $this;
}
public function removeCommandesEquipier(Commande $commandesEquipier)
{
$this->commandesEquipier->removeElement($commandesEquipier);
}
public function getCommandesEquipier(): Collection
{
return $this->commandesEquipier;
}
public function getNomPrenom(): string
{
return $this->prenom . " " . $this->nom;
}
public function addIntervention(Intervention $interventions): Utilisateur
{
$this->interventions[] = $interventions;
return $this;
}
public function removeIntervention(Intervention $interventions)
{
$this->interventions->removeElement($interventions);
}
public function getInterventions(): Collection
{
return $this->interventions;
}
public function addInterventionsMecanicien(Intervention $interventionsMecanicien): Utilisateur
{
$this->interventionsMecanicien[] = $interventionsMecanicien;
return $this;
}
public function removeInterventionsMecanicien(Intervention $interventionsMecanicien)
{
$this->interventionsMecanicien->removeElement($interventionsMecanicien);
}
public function getInterventionsMecanicien(): Collection
{
return $this->interventionsMecanicien;
}
public function addOrdreRepMecanicien(Commande $ordreRepMecanicien): Utilisateur
{
$this->ordreRepMecanicien[] = $ordreRepMecanicien;
return $this;
}
public function removeOrdreRepMecanicien(Commande $ordreRepMecanicien)
{
$this->ordreRepMecanicien->removeElement($ordreRepMecanicien);
}
public function getOrdreRepMecanicien(): Collection
{
return $this->ordreRepMecanicien;
}
public function addNumeroSerie(NumeroSerie $numeroSerie): Utilisateur
{
$this->numeroSerie[] = $numeroSerie;
return $this;
}
public function removeNumeroSerie(NumeroSerie $numeroSerie)
{
$this->numeroSerie->removeElement($numeroSerie);
}
public function getNumeroSerie(): Collection
{
return $this->numeroSerie;
}
public function addEtatCommande(EtatCommande $etatCommande): Utilisateur
{
$this->etatCommande[] = $etatCommande;
return $this;
}
public function removeEtatCommande(EtatCommande $etatCommande)
{
$this->etatCommande->removeElement($etatCommande);
}
public function getEtatCommande(): Collection
{
return $this->etatCommande;
}
public function addCategorieFournisseur(CategorieFournisseurs $categorieFournisseurs): Utilisateur
{
$this->categorieFournisseurs[] = $categorieFournisseurs;
return $this;
}
public function removeCategorieFournisseur(CategorieFournisseurs $categorieFournisseurs)
{
$this->categorieFournisseurs->removeElement($categorieFournisseurs);
}
public function getCategorieFournisseurs(): Collection
{
return $this->categorieFournisseurs;
}
public function addTacheCron(TacheCron $tacheCron): Utilisateur
{
$this->tacheCron[] = $tacheCron;
return $this;
}
public function removeTacheCron(TacheCron $tacheCron)
{
$this->tacheCron->removeElement($tacheCron);
}
public function getTacheCron(): Collection
{
return $this->tacheCron;
}
public function addNumerotationDocument(NumerotationDocument $numerotationDocument): Utilisateur
{
$this->numerotationDocument[] = $numerotationDocument;
return $this;
}
public function removeNumerotationDocument(NumerotationDocument $numerotationDocument)
{
$this->numerotationDocument->removeElement($numerotationDocument);
}
public function getNumerotationDocument(): Collection
{
return $this->numerotationDocument;
}
public function addFabrication(Article $fabrications): Utilisateur
{
$this->fabrications[] = $fabrications;
return $this;
}
public function removeFabrication(Article $fabrications)
{
$this->fabrications->removeElement($fabrications);
}
public function getFabrications(): Collection
{
return $this->fabrications;
}
public function addFabricationsMagasinier(Article $fabricationsMagasinier): Utilisateur
{
$this->fabricationsMagasinier[] = $fabricationsMagasinier;
return $this;
}
public function removeFabricationsMagasinier(Article $fabricationsMagasinier)
{
$this->fabricationsMagasinier->removeElement($fabricationsMagasinier);
}
public function getFabricationsMagasinier(): Collection
{
return $this->fabricationsMagasinier;
}
public function addUniteMesure(UniteMesure $uniteMesure): Utilisateur
{
$this->uniteMesure[] = $uniteMesure;
return $this;
}
public function removeUniteMesure(UniteMesure $uniteMesure)
{
$this->uniteMesure->removeElement($uniteMesure);
}
public function getUniteMesure(): Collection
{
return $this->uniteMesure;
}
public function addDevise(Devise $devise): Utilisateur
{
$this->devise[] = $devise;
return $this;
}
public function removeDevise(Devise $devise)
{
$this->devise->removeElement($devise);
}
public function getDevise(): Collection
{
return $this->devise;
}
public function __toString(): string
{
return $this->prenom." ".$this->prenom;
}
public function addCategorieRemiseArticle(CategorieRemiseArticle $categorieRemiseArticle): Utilisateur
{
$this->categorieRemiseArticle[] = $categorieRemiseArticle;
return $this;
}
public function removeCategorieRemiseArticle(CategorieRemiseArticle $categorieRemiseArticle)
{
$this->categorieRemiseArticle->removeElement($categorieRemiseArticle);
}
public function getCategorieRemiseArticle(): Collection
{
return $this->categorieRemiseArticle;
}
public function addCategorieRemiseClient(CategorieRemiseClient $categorieRemiseClient): Utilisateur
{
$this->categorieRemiseClient[] = $categorieRemiseClient;
return $this;
}
public function removeCategorieRemiseClient(CategorieRemiseClient $categorieRemiseClient)
{
$this->categorieRemiseClient->removeElement($categorieRemiseClient);
}
public function getCategorieRemiseClient(): Collection
{
return $this->categorieRemiseClient;
}
public function setReference(?string $reference): Utilisateur
{
$this->reference = $reference;
return $this;
}
public function getReference(): ?string
{
return $this->reference;
}
public function addTypeReglement(TypeReglement $typeReglement): Utilisateur
{
$this->typeReglement[] = $typeReglement;
return $this;
}
public function removeTypeReglement(TypeReglement $typeReglement)
{
$this->typeReglement->removeElement($typeReglement);
}
public function getTypeReglement(): Collection
{
return $this->typeReglement;
}
public function addComptum(Compta $comptum): Utilisateur
{
$this->compta[] = $comptum;
return $this;
}
public function removeComptum(Compta $comptum)
{
$this->compta->removeElement($comptum);
}
public function getCompta(): Collection
{
return $this->compta;
}
public function addImport(Import $import): Utilisateur
{
$this->import[] = $import;
return $this;
}
public function removeImport(Import $import)
{
$this->import->removeElement($import);
}
public function getImport(): Collection
{
return $this->import;
}
public function addChampImport(Champ $champImport): Utilisateur
{
$this->champImport[] = $champImport;
return $this;
}
public function removeChampImport(Champ $champImport)
{
$this->champImport->removeElement($champImport);
}
public function getChampImport(): Collection
{
return $this->champImport;
}
public function addEntiteImport(Entite $entiteImport): Utilisateur
{
$this->entiteImport[] = $entiteImport;
return $this;
}
public function removeEntiteImport(Entite $entiteImport)
{
$this->entiteImport->removeElement($entiteImport);
}
public function getEntiteImport(): Collection
{
return $this->entiteImport;
}
public function addRemiseFournisseur(Remise $remiseFournisseur): Utilisateur
{
$this->remiseFournisseurs[] = $remiseFournisseur;
return $this;
}
public function removeRemiseFournisseur(Remise $remiseFournisseur)
{
$this->remiseFournisseurs->removeElement($remiseFournisseur);
}
public function getRemiseFournisseurs(): Collection
{
return $this->remiseFournisseurs;
}
public function addArticleComptaImport(Entite $articleComptaImport): Utilisateur
{
$this->articleComptaImport[] = $articleComptaImport;
return $this;
}
public function removeArticleComptaImport(Entite $articleComptaImport)
{
$this->articleComptaImport->removeElement($articleComptaImport);
}
public function getArticleComptaImport(): Collection
{
return $this->articleComptaImport;
}
public function addBorderauxLCR(BordereauLCR $borderauxLCR): Utilisateur
{
$this->borderauxLCR[] = $borderauxLCR;
return $this;
}
public function removeBorderauxLCR(BordereauLCR $borderauxLCR)
{
$this->borderauxLCR->removeElement($borderauxLCR);
}
public function getBorderauxLCR(): Collection
{
return $this->borderauxLCR;
}
public function addComptesBancaire(CompteBancaire $comptesBancaire): Utilisateur
{
$this->comptesBancaires[] = $comptesBancaire;
return $this;
}
public function removeComptesBancaire(CompteBancaire $comptesBancaire)
{
$this->comptesBancaires->removeElement($comptesBancaire);
}
public function getComptesBancaires(): Collection
{
return $this->comptesBancaires;
}
public function addLcr(LCR $lcr): Utilisateur
{
$this->lcrs[] = $lcr;
return $this;
}
public function removeLcr(LCR $lcr)
{
$this->lcrs->removeElement($lcr);
}
public function getLcrs(): Collection
{
return $this->lcrs;
}
public function addModeEncaissement(ModeEncaissement $modeEncaissement): Utilisateur
{
$this->modeEncaissement[] = $modeEncaissement;
return $this;
}
public function removeModeEncaissement(ModeEncaissement $modeEncaissement)
{
$this->modeEncaissement->removeElement($modeEncaissement);
}
public function getModeEncaissement(): Collection
{
return $this->modeEncaissement;
}
public function addFabricationsMultiple(Article $fabricationsMultiple): Utilisateur
{
$this->fabricationsMultiple[] = $fabricationsMultiple;
return $this;
}
public function removeFabricationsMultiple(Article $fabricationsMultiple)
{
$this->fabricationsMultiple->removeElement($fabricationsMultiple);
}
public function getFabricationsMultiple(): Collection
{
return $this->fabricationsMultiple;
}
public function addTypesMouvementCaisse(CompteBancaire $typesMouvementCaisse): Utilisateur
{
$this->typesMouvementCaisse[] = $typesMouvementCaisse;
return $this;
}
public function removeTypesMouvementCaisse(CompteBancaire $typesMouvementCaisse)
{
$this->typesMouvementCaisse->removeElement($typesMouvementCaisse);
}
public function getTypesMouvementCaisse(): Collection
{
return $this->typesMouvementCaisse;
}
public function addMouvementsCaisse(CompteBancaire $mouvementsCaisse): Utilisateur
{
$this->mouvementsCaisse[] = $mouvementsCaisse;
return $this;
}
public function removeMouvementsCaisse(CompteBancaire $mouvementsCaisse)
{
$this->mouvementsCaisse->removeElement($mouvementsCaisse);
}
public function getMouvementsCaisse(): Collection
{
return $this->mouvementsCaisse;
}
public function addReception(Reception $reception): Utilisateur
{
$this->receptions[] = $reception;
return $this;
}
public function removeReception(Reception $reception)
{
$this->receptions->removeElement($reception);
}
public function getReceptions(): Collection
{
return $this->receptions;
}
public function addNote(Note $note): Utilisateur
{
$this->notes[] = $note;
return $this;
}
public function removeNote(Note $note)
{
$this->notes->removeElement($note);
}
public function getNotes(): Collection
{
return $this->notes;
}
public function addCategorieNote(categorie $categorieNote): Utilisateur
{
$this->categorieNote[] = $categorieNote;
return $this;
}
public function removeCategorieNote(categorie $categorieNote)
{
$this->categorieNote->removeElement($categorieNote);
}
public function getCategorieNote(): Collection
{
return $this->categorieNote;
}
public function addEtiquette(Etiquette $etiquette): Utilisateur
{
$this->etiquettes[] = $etiquette;
return $this;
}
public function removeEtiquette(Etiquette $etiquette)
{
$this->etiquettes->removeElement($etiquette);
}
public function getEtiquettes(): Collection
{
return $this->etiquettes;
}
public function addBalise(Balise $balise): Utilisateur
{
$this->balises[] = $balise;
return $this;
}
public function removeBalise(Balise $balise)
{
$this->balises->removeElement($balise);
}
public function getBalises(): Collection
{
return $this->balises;
}
public function addInventaire(Inventaire $inventaire): Utilisateur
{
$this->inventaires[] = $inventaire;
return $this;
}
public function removeInventaire(Inventaire $inventaire)
{
$this->inventaires->removeElement($inventaire);
}
public function getInventaires(): Collection
{
return $this->inventaires;
}
public function addTypesInventaire(InventaireType $typesInventaire): Utilisateur
{
$this->typesInventaire[] = $typesInventaire;
return $this;
}
public function removeTypesInventaire(InventaireType $typesInventaire)
{
$this->typesInventaire->removeElement($typesInventaire);
}
public function getTypesInventaire(): Collection
{
return $this->typesInventaire;
}
public function addTypeArticle(Type $typeArticle): Utilisateur
{
$this->typeArticle[] = $typeArticle;
return $this;
}
public function removeTypeArticle(Type $typeArticle)
{
$this->typeArticle->removeElement($typeArticle);
}
public function getTypeArticle(): Collection
{
return $this->typeArticle;
}
public function addFamilleComptum(FamilleCompta $familleComptum): Utilisateur
{
$this->familleCompta[] = $familleComptum;
return $this;
}
public function removeFamilleComptum(FamilleCompta $familleComptum)
{
$this->familleCompta->removeElement($familleComptum);
}
public function getFamilleCompta(): Collection
{
return $this->familleCompta;
}
public function setTriRechercheArticle(?string $triRechercheArticle): Utilisateur
{
$this->triRechercheArticle = $triRechercheArticle;
return $this;
}
public function getTriRechercheArticle(): ?string
{
return $this->triRechercheArticle;
}
public function setOrdreTriRechercheArticle(?string $ordreTriRechercheArticle): Utilisateur
{
$this->ordreTriRechercheArticle = $ordreTriRechercheArticle;
return $this;
}
public function getOrdreTriRechercheArticle(): ?string
{
return $this->ordreTriRechercheArticle;
}
public function addEmplacement(Emplacement $emplacement): Utilisateur
{
$this->emplacements[] = $emplacement;
return $this;
}
public function removeEmplacement(Emplacement $emplacement)
{
$this->emplacements->removeElement($emplacement);
}
public function getEmplacements(): Collection
{
return $this->emplacements;
}
public function setSignatureMail(?string $signatureMail): Utilisateur
{
$this->signatureMail = $signatureMail;
return $this;
}
public function getSignatureMail(): ?string
{
return $this->signatureMail;
}
public function addLangue(Langue $langue): Utilisateur
{
$this->langue[] = $langue;
return $this;
}
public function removeLangue(Langue $langue)
{
$this->langue->removeElement($langue);
}
public function getLangue(): Collection
{
return $this->langue;
}
public function setIdGoogleAgenda(?string $idGoogleAgenda): Utilisateur
{
$this->idGoogleAgenda = $idGoogleAgenda;
return $this;
}
public function getIdGoogleAgenda(): ?string
{
return $this->idGoogleAgenda;
}
public function addUtilisateurSecteurGeographique(UtilisateurZoneGeographique $utilisateurSecteurGeographique): Utilisateur
{
$this->utilisateurSecteurGeographique[] = $utilisateurSecteurGeographique;
return $this;
}
public function removeUtilisateurSecteurGeographique(UtilisateurZoneGeographique $utilisateurSecteurGeographique)
{
$this->utilisateurSecteurGeographique->removeElement($utilisateurSecteurGeographique);
}
public function getUtilisateurSecteurGeographique(): Collection
{
return $this->utilisateurSecteurGeographique;
}
public function addUtilisateurAtelier(UtilisateurAtelier $utilisateurAtelier): Utilisateur
{
$this->utilisateurAtelier[] = $utilisateurAtelier;
return $this;
}
public function removeUtilisateurAtelier(UtilisateurAtelier $utilisateurAtelier)
{
$this->utilisateurAtelier->removeElement($utilisateurAtelier);
}
public function getUtilisateurAtelier(): Collection
{
return $this->utilisateurAtelier;
}
public function setMouvementeRechercheArticle(?bool $mouvementeRechercheArticle): Utilisateur
{
$this->mouvementeRechercheArticle = $mouvementeRechercheArticle;
return $this;
}
public function getMouvementeRechercheArticle(): ?bool
{
return $this->mouvementeRechercheArticle;
}
public function setReceptionner(?bool $receptionner): Utilisateur
{
$this->receptionner = $receptionner;
return $this;
}
public function getReceptionner(): ?bool
{
return $this->receptionner;
}
public function setFabriquer(?bool $fabriquer): Utilisateur
{
$this->fabriquer = $fabriquer;
return $this;
}
public function getFabriquer(): ?bool
{
return $this->fabriquer;
}
public function setPreparer(?bool $preparer): Utilisateur
{
$this->preparer = $preparer;
return $this;
}
public function getPreparer(): ?bool
{
return $this->preparer;
}
public function setEmballer(?bool $emballer): Utilisateur
{
$this->emballer = $emballer;
return $this;
}
public function getEmballer(): ?bool
{
return $this->emballer;
}
public function addHistoriqueIntervention(HistoriqueIntervention $historiqueIntervention): Utilisateur
{
$this->historiqueIntervention[] = $historiqueIntervention;
return $this;
}
public function removeHistoriqueIntervention(HistoriqueIntervention $historiqueIntervention)
{
$this->historiqueIntervention->removeElement($historiqueIntervention);
}
public function getHistoriqueIntervention(): Collection
{
return $this->historiqueIntervention;
}
public function setIdImport(?string $idImport): Utilisateur
{
$this->idImport = $idImport;
return $this;
}
public function getIdImport(): ?string
{
return $this->idImport;
}
public function setBadge(?string $badge): Utilisateur
{
$this->badge = $badge;
return $this;
}
public function getBadge(): ?string
{
return $this->badge;
}
public function addActivite(Activite $activite): Utilisateur
{
$this->activites[] = $activite;
return $this;
}
public function removeActivite(Activite $activite)
{
$this->activites->removeElement($activite);
}
public function getActivites(): Collection
{
return $this->activites;
}
public function addCaisseIndividuelle(CaisseIndividuelle $caisseIndividuelle): Utilisateur
{
$this->caisseIndividuelle[] = $caisseIndividuelle;
return $this;
}
public function removeCaisseIndividuelle(CaisseIndividuelle $caisseIndividuelle)
{
$this->caisseIndividuelle->removeElement($caisseIndividuelle);
}
public function getCaisseIndividuelle(): Collection
{
return $this->caisseIndividuelle;
}
public function setVisibleAgenda(bool $visibleAgenda): Utilisateur
{
$this->visibleAgenda = $visibleAgenda;
return $this;
}
public function getVisibleAgenda(): bool
{
return $this->visibleAgenda;
}
public function setCouleurAgenda(?string $couleurAgenda): Utilisateur
{
$this->couleurAgenda = $couleurAgenda;
return $this;
}
public function getCouleurAgenda(): ?string
{
return $this->couleurAgenda;
}
public function setArchive(bool $archive): Utilisateur
{
$this->archive = $archive;
return $this;
}
public function getArchive(): bool
{
return $this->archive;
}
public function setVisible(bool $visible): Utilisateur
{
$this->visible = $visible;
return $this;
}
public function getVisible(): bool
{
return $this->visible;
}
public function getProjetsUtilisateur(): Collection
{
return $this->projetsUtilisateur;
}
public function setProjetsUtilisateur(ProjetUtilisateur $projetsUtilisateur): Utilisateur
{
$this->projetsUtilisateur = $projetsUtilisateur;
return $this;
}
public function getSessionId(): ?string
{
return $this->sessionId;
}
public function setSessionId(?string $sessionId): self
{
$this->sessionId = $sessionId;
return $this;
}
public function getLastLogin(): ?\DateTime
{
return $this->lastLogin;
}
public function setLastLogin(?\DateTime $lastLogin): self
{
$this->lastLogin = $lastLogin;
return $this;
}
public function isEqualTo(UserInterface $user): bool
{
if ($this->getSessionId() !== $user->getSessionId()) {
return false;
}
if ($this->getArchive() !== $user->getArchive()) {
return false;
}
if ($this->getType()->getId() !== $user->getType()->getId()) {
return false;
}
return true;
}
public function checkPreAuth(UserInterface $user): void
{
/** @var Utilisateur $user */
if ($user->getArchive()) {
throw new CustomUserMessageAccountStatusException('Your user account no longer exists.');
}
}
public function checkPostAuth(UserInterface $user): void
{
return;
}
public function isVisible(): ?bool
{
return $this->visible;
}
public function isVisibleAgenda(): ?bool
{
return $this->visibleAgenda;
}
public function isArchive(): ?bool
{
return $this->archive;
}
public function isReceptionner(): ?bool
{
return $this->receptionner;
}
public function isFabriquer(): ?bool
{
return $this->fabriquer;
}
public function isPreparer(): ?bool
{
return $this->preparer;
}
public function isEmballer(): ?bool
{
return $this->emballer;
}
public function isToolbarClosed(): ?bool
{
return $this->toolbarClosed;
}
public function isMouvementeRechercheArticle(): ?bool
{
return $this->mouvementeRechercheArticle;
}
public function addRangementNiveauTroi(NiveauTrois $rangementNiveauTroi): self
{
if (!$this->rangementNiveauTrois->contains($rangementNiveauTroi)) {
$this->rangementNiveauTrois[] = $rangementNiveauTroi;
$rangementNiveauTroi->setUtilisateur($this);
}
return $this;
}
public function removeRangementNiveauTroi(NiveauTrois $rangementNiveauTroi): self
{
if ($this->rangementNiveauTrois->removeElement($rangementNiveauTroi)) {
// set the owning side to null (unless already changed)
if ($rangementNiveauTroi->getUtilisateur() === $this) {
$rangementNiveauTroi->setUtilisateur(null);
}
}
return $this;
}
public function addProjetsUtilisateur(ProjetUtilisateur $projetsUtilisateur): self
{
if (!$this->projetsUtilisateur->contains($projetsUtilisateur)) {
$this->projetsUtilisateur[] = $projetsUtilisateur;
$projetsUtilisateur->setUtilisateur($this);
}
return $this;
}
public function removeProjetsUtilisateur(ProjetUtilisateur $projetsUtilisateur): self
{
if ($this->projetsUtilisateur->removeElement($projetsUtilisateur)) {
// set the owning side to null (unless already changed)
if ($projetsUtilisateur->getUtilisateur() === $this) {
$projetsUtilisateur->setUtilisateur(null);
}
}
return $this;
}
/**
* @return Collection<int, WidgetWidgetColonneUtilisateur>
*/
public function getWidgetColonneWidget(): Collection
{
return $this->widgetColonneWidget;
}
public function addWidgetColonneWidget(WidgetWidgetColonneUtilisateur $widgetColonneWidget): self
{
if (!$this->widgetColonneWidget->contains($widgetColonneWidget)) {
$this->widgetColonneWidget[] = $widgetColonneWidget;
$widgetColonneWidget->setUtilisateur($this);
}
return $this;
}
public function removeWidgetColonneWidget(WidgetWidgetColonneUtilisateur $widgetColonneWidget): self
{
if ($this->widgetColonneWidget->removeElement($widgetColonneWidget)) {
// set the owning side to null (unless already changed)
if ($widgetColonneWidget->getUtilisateur() === $this) {
$widgetColonneWidget->setUtilisateur(null);
}
}
return $this;
}
/**
* @return Collection<int, WidgetColonneUtilisateur>
*/
public function getWidgetColonne(): Collection
{
return $this->widgetColonne;
}
public function addWidgetColonne(WidgetColonneUtilisateur $widgetColonne): self
{
if (!$this->widgetColonne->contains($widgetColonne)) {
$this->widgetColonne[] = $widgetColonne;
$widgetColonne->setUtilisateur($this);
}
return $this;
}
public function removeWidgetColonne(WidgetColonneUtilisateur $widgetColonne): self
{
if ($this->widgetColonne->removeElement($widgetColonne)) {
// set the owning side to null (unless already changed)
if ($widgetColonne->getUtilisateur() === $this) {
$widgetColonne->setUtilisateur(null);
}
}
return $this;
}
}