<?phpnamespace App\Entity;use App\Repository\TrCommandeSansCompteRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=TrCommandeSansCompteRepository::class) */class TrCommandeSansCompte{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=TrVentes::class, inversedBy="trCommandeSansComptes") * @ORM\JoinColumn(nullable=false) */ private $vente_id; /** * @ORM\ManyToOne(targetEntity=TrProduits::class, inversedBy="trCommandeSansComptes") * @ORM\JoinColumn(nullable=false) */ private $produit_id; /** * @ORM\Column(type="string", length=255) */ private $telephone; /** * @ORM\Column(type="string", length=255) */ private $lieu_livraison; /** * @ORM\Column(type="integer") */ private $detv_quantite; /** * @ORM\Column(type="integer") */ private $detv_soustotal; public function getId(): ?int { return $this->id; } public function getVenteId(): ?TrVentes { return $this->vente_id; } public function setVenteId(?TrVentes $vente_id): self { $this->vente_id = $vente_id; return $this; } public function getProduitId(): ?TrProduits { return $this->produit_id; } public function setProduitId(?TrProduits $produit_id): self { $this->produit_id = $produit_id; return $this; } public function getTelephone(): ?string { return $this->telephone; } public function setTelephone(string $telephone): self { $this->telephone = $telephone; return $this; } public function getLieuLivraison(): ?string { return $this->lieu_livraison; } public function setLieuLivraison(string $lieu_livraison): self { $this->lieu_livraison = $lieu_livraison; return $this; } public function getDetvQuantite(): ?int { return $this->detv_quantite; } public function setDetvQuantite(int $detv_quantite): self { $this->detv_quantite = $detv_quantite; return $this; } public function getDetvSoustotal(): ?int { return $this->detv_soustotal; } public function setDetvSoustotal(int $detv_soustotal): self { $this->detv_soustotal = $detv_soustotal; return $this; }}