src/Entity/CommandeNumerique.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\CommandeNumeriqueRepository")
  6.  */
  7. class CommandeNumerique
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="datetime", nullable=true)
  17.      */
  18.     private $dateCreation;
  19.     /**
  20.      * @ORM\Column(type="text", nullable=true)
  21.      */
  22.     private $linkdownload;
  23.     /**
  24.      * @ORM\Column(type="integer", nullable=true)
  25.      */
  26.     private $etat;
  27.     /**
  28.      * @ORM\Column(type="datetime", nullable=true)
  29.      */
  30.     private $dateTelechargement;
  31.     /**
  32.      * @ORM\ManyToOne(targetEntity="App\Entity\Commande", inversedBy="commandeNumeriques")
  33.      */
  34.     private $idCommande;
  35.     /**
  36.      * @ORM\Column(type="integer", nullable=true)
  37.      */
  38.     private $envoi;
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getDateCreation(): ?\DateTimeInterface
  44.     {
  45.         return $this->dateCreation;
  46.     }
  47.     public function setDateCreation(?\DateTimeInterface $dateCreation): self
  48.     {
  49.         $this->dateCreation $dateCreation;
  50.         return $this;
  51.     }
  52.     public function getLinkdownload(): ?string
  53.     {
  54.         return $this->linkdownload;
  55.     }
  56.     public function setLinkdownload(?string $linkdownload): self
  57.     {
  58.         $this->linkdownload $linkdownload;
  59.         return $this;
  60.     }
  61.     public function getEtat(): ?int
  62.     {
  63.         return $this->etat;
  64.     }
  65.     public function setEtat(?int $etat): self
  66.     {
  67.         $this->etat $etat;
  68.         return $this;
  69.     }
  70.     public function getDateTelechargement(): ?\DateTimeInterface
  71.     {
  72.         return $this->dateTelechargement;
  73.     }
  74.     public function setDateTelechargement(?\DateTimeInterface $dateTelechargement): self
  75.     {
  76.         $this->dateTelechargement $dateTelechargement;
  77.         return $this;
  78.     }
  79.     public function getIdCommande(): ?Commande
  80.     {
  81.         return $this->idCommande;
  82.     }
  83.     public function setIdCommande(?Commande $idCommande): self
  84.     {
  85.         $this->idCommande $idCommande;
  86.         return $this;
  87.     }
  88.     public function getEnvoi(): ?int
  89.     {
  90.         return $this->envoi;
  91.     }
  92.     public function setEnvoi(?int $envoi): self
  93.     {
  94.         $this->envoi $envoi;
  95.         return $this;
  96.     }
  97. }