src/Entity/Filieres.php line 11
<?phpnamespace App\Entity;use App\Repository\FilieresRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: FilieresRepository::class)]class Filieres{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(nullable: true)]private ?int $societe = null;#[ORM\Column(nullable: true)]private ?int $regroupe_stat = null;#[ORM\Column(nullable: true)]private ?int $commande_par = null;#[ORM\Column(nullable: true)]private ?int $affilie_stat = null;#[ORM\Column(nullable: true)]private ?int $sous_affilie_stat = null;#[ORM\Column(nullable: true)]private ?int $compte_client_livre = null;#[ORM\Column(length: 255, nullable: true)]private ?string $nom = null;#[ORM\Column(length: 255, nullable: true)]private ?string $enseigne = null;#[ORM\Column(length: 255, nullable: true)]private ?string $rue = null;#[ORM\Column(length: 255, nullable: true)]private ?string $localite = null;#[ORM\Column(length: 255, nullable: true)]private ?string $ptt = null;#[ORM\Column(length: 255, nullable: true)]private ?string $ville = null;#[ORM\Column(length: 255, nullable: true)]private ?string $mail = null;#[ORM\Column(length: 255, nullable: true)]private ?string $code_imputation = null;#[ORM\Column(length: 255, nullable: true)]private ?string $type_tva = null;#[ORM\Column(nullable: true)]private ?float $taux_tva = null;#[ORM\Column(length: 255, nullable: true)]private ?string $type_adresse = null;#[ORM\Column(length: 1, nullable: true)]private ?string $annule = null;#[ORM\ManyToOne(inversedBy: 'filieres')]private ?Pays $pays = null;#[ORM\OneToMany(mappedBy: 'code_regroupement', targetEntity: Budget::class)]private Collection $budgets;#[ORM\OneToMany(mappedBy: 'livrea', targetEntity: Commande::class)]private Collection $commandes;#[ORM\OneToMany(mappedBy: 'livrea', targetEntity: Commande400::class)]private Collection $commande400s;#[ORM\OneToMany(mappedBy: 'filiere', targetEntity: Commande400::class)]private Collection $commande400a;#[ORM\OneToMany(mappedBy: 'filiere', targetEntity: Commande::class)]private Collection $commandea;public function __construct(){$this->budgets = new ArrayCollection();$this->commandes = new ArrayCollection();$this->commande400s = new ArrayCollection();$this->commande400a = new ArrayCollection();$this->commandea = new ArrayCollection();}public function getId(): ?int{return $this->id;}public function getSociete(): ?int{return $this->societe;}public function setSociete(?int $societe): self{$this->societe = $societe;return $this;}public function getRegroupeStat(): ?int{return $this->regroupe_stat;}public function setRegroupeStat(?int $regroupe_stat): self{$this->regroupe_stat = $regroupe_stat;return $this;}public function getCommandePar(): ?int{return $this->commande_par;}public function setCommandePar(?int $commande_par): self{$this->commande_par = $commande_par;return $this;}public function getAffilieStat(): ?int{return $this->affilie_stat;}public function setAffilieStat(?int $affilie_stat): self{$this->affilie_stat = $affilie_stat;return $this;}public function getSousAffilieStat(): ?int{return $this->sous_affilie_stat;}public function setSousAffilieStat(int $sous_affilie_stat): self{$this->sous_affilie_stat = $sous_affilie_stat;return $this;}public function getCompteClientLivre(): ?int{return $this->compte_client_livre;}public function setCompteClientLivre(?int $compte_client_livre): self{$this->compte_client_livre = $compte_client_livre;return $this;}public function getNom(): ?string{return $this->nom;}public function setNom(?string $nom): self{$this->nom = $nom;return $this;}public function getEnseigne(): ?string{return $this->enseigne;}public function setEnseigne(?string $enseigne): self{$this->enseigne = $enseigne;return $this;}public function getRue(): ?string{return $this->rue;}public function setRue(?string $rue): self{$this->rue = $rue;return $this;}public function getLocalite(): ?string{return $this->localite;}public function setLocalite(?string $localite): self{$this->localite = $localite;return $this;}public function getPtt(): ?string{return $this->ptt;}public function setPtt(?string $ptt): self{$this->ptt = $ptt;return $this;}public function getVille(): ?string{return $this->ville;}public function setVille(?string $ville): self{$this->ville = $ville;return $this;}public function getMail(): ?string{return $this->mail;}public function setMail(?string $mail): self{$this->mail = $mail;return $this;}public function getCodeImputation(): ?string{return $this->code_imputation;}public function setCodeImputation(?string $code_imputation): self{$this->code_imputation = $code_imputation;return $this;}public function getTypeTva(): ?string{return $this->type_tva;}public function setTypeTva(?string $type_tva): self{$this->type_tva = $type_tva;return $this;}public function getTauxTva(): ?float{return $this->taux_tva;}public function setTauxTva(?float $taux_tva): self{$this->taux_tva = $taux_tva;return $this;}public function getTypeAdresse(): ?string{return $this->type_adresse;}public function setTypeAdresse(?string $type_adresse): self{$this->type_adresse = $type_adresse;return $this;}public function getAnnule(): ?string{return $this->annule;}public function setAnnule(?string $annule): self{$this->annule = $annule;return $this;}public function getIdPays(): ?Pays{return $this->pays;}public function setIdPays(?Pays $pays): self{$this->pays = $pays;return $this;}/*** @return Collection<int, Budget>*/public function getBudgets(): Collection{return $this->budgets;}public function addBudget(Budget $budget): self{if (!$this->budgets->contains($budget)) {$this->budgets->add($budget);$budget->setCodeRegroupement($this);}return $this;}public function removeBudget(Budget $budget): self{if ($this->budgets->removeElement($budget)) {// set the owning side to null (unless already changed)if ($budget->getCodeRegroupement() === $this) {$budget->setCodeRegroupement(null);}}return $this;}/*** @return Collection<int, Commande>*/public function getCommandes(): Collection{return $this->commandes;}public function addCommande(Commande $commande): self{if (!$this->commandes->contains($commande)) {$this->commandes->add($commande);$commande->setLivrea($this);}return $this;}public function removeCommande(Commande $commande): self{if ($this->commandes->removeElement($commande)) {// set the owning side to null (unless already changed)if ($commande->getLivrea() === $this) {$commande->setLivrea(null);}}return $this;}/*** @return Collection<int, Commande400>*/public function getCommande400s(): Collection{return $this->commande400s;}public function addCommande400(Commande400 $commande400): self{if (!$this->commande400s->contains($commande400)) {$this->commande400s->add($commande400);$commande400->setLivrea($this);}return $this;}public function removeCommande400(Commande400 $commande400): self{if ($this->commande400s->removeElement($commande400)) {// set the owning side to null (unless already changed)if ($commande400->getLivrea() === $this) {$commande400->setLivrea(null);}}return $this;}/*** @return Collection<int, Commande400>*/public function getCommande400a(): Collection{return $this->commande400a;}public function addCommande400a(Commande400 $commande400a): self{if (!$this->commande400a->contains($commande400a)) {$this->commande400a->add($commande400a);$commande400a->setFiliere($this);}return $this;}public function removeCommande400a(Commande400 $commande400a): self{if ($this->commande400a->removeElement($commande400a)) {// set the owning side to null (unless already changed)if ($commande400a->getFiliere() === $this) {$commande400a->setFiliere(null);}}return $this;}/*** @return Collection<int, Commande>*/public function getCommandea(): Collection{return $this->commandea;}public function addCommandea(Commande $commandea): self{if (!$this->commandea->contains($commandea)) {$this->commandea->add($commandea);$commandea->setFiliere($this);}return $this;}public function removeCommandea(Commande $commandea): self{if ($this->commandea->removeElement($commandea)) {// set the owning side to null (unless already changed)if ($commandea->getFiliere() === $this) {$commandea->setFiliere(null);}}return $this;}}