<?php

namespace App\Entity;

use App\Repository\PanierRepository;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity(repositoryClass=PanierRepository::class)
 */
class Panier
{
    /**
     * @ORM\Id()
     * @ORM\GeneratedValue()
     * @ORM\Column(type="integer")
     */
    private $id;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\Cource", inversedBy="Panier"))
     * @ORM\JoinColumn(nullable=true)
     */
    private $Cource;
    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\Participant", inversedBy="Panier"))
     * @ORM\JoinColumn(nullable=true)
     */
    private $Participant;
    public function __construct()
    {
       

    }

    public function getId(): ?int
    {
        return $this->id;
    }
    /**
     * @return mixed
     */
    public function getCource()
    {
        return $this->Cource;
    }

    /**
     * @param mixed $Cource
     */
    public function setCource($Cource): void
    {
        $this->Cource = $Cource;
    }

    /**
     * @return mixed
     */
    public function getParticipant()
    {
        return $this->Participant;
    }

    /**
     * @param mixed $Participant
     */
    public function setParticipant($Participant): void
    {
        $this->Participant = $Participant;
    }


   
}
