src/Entity/TrCommandeSansCompte.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TrCommandeSansCompteRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=TrCommandeSansCompteRepository::class)
  7.  */
  8. class TrCommandeSansCompte
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=TrVentes::class, inversedBy="trCommandeSansComptes")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $vente_id;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity=TrProduits::class, inversedBy="trCommandeSansComptes")
  23.      * @ORM\JoinColumn(nullable=false)
  24.      */
  25.     private $produit_id;
  26.     /**
  27.      * @ORM\Column(type="string", length=255)
  28.      */
  29.     private $telephone;
  30.     /**
  31.      * @ORM\Column(type="string", length=255)
  32.      */
  33.     private $lieu_livraison;
  34.     /**
  35.      * @ORM\Column(type="integer")
  36.      */
  37.     private $detv_quantite;
  38.     /**
  39.      * @ORM\Column(type="integer")
  40.      */
  41.     private $detv_soustotal;
  42.     public function getId(): ?int
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function getVenteId(): ?TrVentes
  47.     {
  48.         return $this->vente_id;
  49.     }
  50.     public function setVenteId(?TrVentes $vente_id): self
  51.     {
  52.         $this->vente_id = $vente_id;
  53.         return $this;
  54.     }
  55.     public function getProduitId(): ?TrProduits
  56.     {
  57.         return $this->produit_id;
  58.     }
  59.     public function setProduitId(?TrProduits $produit_id): self
  60.     {
  61.         $this->produit_id = $produit_id;
  62.         return $this;
  63.     }
  64.     public function getTelephone(): ?string
  65.     {
  66.         return $this->telephone;
  67.     }
  68.     public function setTelephone(string $telephone): self
  69.     {
  70.         $this->telephone = $telephone;
  71.         return $this;
  72.     }
  73.     public function getLieuLivraison(): ?string
  74.     {
  75.         return $this->lieu_livraison;
  76.     }
  77.     public function setLieuLivraison(string $lieu_livraison): self
  78.     {
  79.         $this->lieu_livraison = $lieu_livraison;
  80.         return $this;
  81.     }
  82.     public function getDetvQuantite(): ?int
  83.     {
  84.         return $this->detv_quantite;
  85.     }
  86.     public function setDetvQuantite(int $detv_quantite): self
  87.     {
  88.         $this->detv_quantite = $detv_quantite;
  89.         return $this;
  90.     }
  91.     public function getDetvSoustotal(): ?int
  92.     {
  93.         return $this->detv_soustotal;
  94.     }
  95.     public function setDetvSoustotal(int $detv_soustotal): self
  96.     {
  97.         $this->detv_soustotal = $detv_soustotal;
  98.         return $this;
  99.     }
  100. }