src/Entity/Reservationcircuit.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ReservationcircuitRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ReservationcircuitRepository::class)
  7.  */
  8. class Reservationcircuit
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=Circuit::class, inversedBy="reservationcircuits")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $circuit;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity=Coordonnescircuit::class, inversedBy="reservationcircuits")
  23.      * @ORM\JoinColumn(nullable=false)
  24.      */
  25.     private $coordonnee;
  26.     /**
  27.      * @ORM\Column(type="float", nullable=true)
  28.      */
  29.     private $total;
  30.     /**
  31.      * @ORM\Column(type="string", length=255, nullable=true)
  32.      */
  33.     private $typepayment;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getCircuit(): ?Circuit
  39.     {
  40.         return $this->circuit;
  41.     }
  42.     public function setCircuit(?Circuit $circuit): self
  43.     {
  44.         $this->circuit $circuit;
  45.         return $this;
  46.     }
  47.     public function getCoordonnee(): ?Coordonnescircuit
  48.     {
  49.         return $this->coordonnee;
  50.     }
  51.     public function setCoordonnee(?Coordonnescircuit $coordonnee): self
  52.     {
  53.         $this->coordonnee $coordonnee;
  54.         return $this;
  55.     }
  56.     public function getTotal(): ?float
  57.     {
  58.         return $this->total;
  59.     }
  60.     public function setTotal(?float $total): self
  61.     {
  62.         $this->total $total;
  63.         return $this;
  64.     }
  65.     public function getTypepayment(): ?string
  66.     {
  67.         return $this->typepayment;
  68.     }
  69.     public function setTypepayment(?string $typepayment): self
  70.     {
  71.         $this->typepayment $typepayment;
  72.         return $this;
  73.     }
  74. }