src/Entity/Commande.php line 12
<?phpnamespace App\Entity;use App\Repository\CommandeRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: CommandeRepository::class)]class Commande{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column]private ?int $numero = null;#[ORM\Column]private ?int $numero400 = null;/*#[ORM\ManyToOne(inversedBy: 'commandepar')]private ?User $commandepar = null;*/#[ORM\Column]private ?float $montant = null;/*#[ORM\ManyToOne(inversedBy: 'commandes')]private ?Filieres $livrea = null;*/#[ORM\Column(length: 1, nullable: true)]private ?string $valide = null;#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]private ?\DateTimeInterface $date_validation = null;#[ORM\Column(length: 20, nullable: true)]private ?string $reference = null;#[ORM\Column(type: Types::TEXT, nullable: true)]private ?string $commentaires = null;#[ORM\Column(nullable: true)]private ?int $nombretotalarticles = null;#[ORM\Column(nullable: true)]private ?int $nombrelignes = null;#[ORM\ManyToOne(inversedBy: 'commandea')]private ?Filieres $filiere = null;#[ORM\Column(nullable: true)]private ?int $code_client_livre = null;public function __construct(){}public function getId(): ?int{return $this->id;}public function getNumero(): ?int{return $this->numero;}public function setNumero(int $numero): self{$this->numero = $numero;return $this;}public function getNumero400(): ?int{return $this->numero400;}public function setNumero400(int $numero400): self{$this->numero400 = $numero400;return $this;}/*public function getCommandepar(): ?User{return $this->commandepar;}public function setCommandepar(?User $commandepar): self{$this->commandepar = $commandepar;return $this;}public function getLivrea(): ?Filieres{return $this->livrea;}public function setLivrea(?Filieres $livrea): self{$this->livrea = $livrea;return $this;}*/public function getMontant(): ?float{return $this->montant;}public function setMontant(float $montant): self{$this->montant = $montant;return $this;}public function getValide(): ?string{return $this->valide;}public function setValide(?string $valide): self{$this->valide = $valide;return $this;}public function getDateValidation(): ?\DateTimeInterface{return $this->date_validation;}public function setDateValidation(?\DateTimeInterface $date_validation): self{$this->date_validation = $date_validation;return $this;}public function getReference(): ?string{return $this->reference;}public function setReference(?string $reference): self{$this->reference = $reference;return $this;}public function getCommentaires(): ?string{return $this->commentaires;}public function setCommentaires(?string $commentaires): self{$this->commentaires = $commentaires;return $this;}public function getNombretotalarticles(): ?int{return $this->nombretotalarticles;}public function setNombretotalarticles(?int $nombretotalarticles): self{$this->nombretotalarticles = $nombretotalarticles;return $this;}public function getNombrelignes(): ?int{return $this->nombrelignes;}public function setNombrelignes(?int $nombrelignes): self{$this->nombrelignes = $nombrelignes;return $this;}public function getFiliere(): ?Filieres{return $this->filiere;}public function setFiliere(?Filieres $filiere): self{$this->filiere = $filiere;return $this;}public function getCodeClientLivre(): ?int{return $this->code_client_livre;}public function setCodeClientLivre(?int $code_client_livre): self{$this->code_client_livre = $code_client_livre;return $this;}}