<?php
namespace App\Entity;
use App\Repository\PayementMethodRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PayementMethodRepository::class)
*/
class PayementMethod
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $url;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $phone;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $nom;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $prenom;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $email;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $file;
/**
* @ORM\Column(type="integer", nullable=true)
*/
/**
* @ORM\ManyToOne(targetEntity="ConnexionUser",inversedBy="evenementUser")
*/
private $id_user;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $montant;
/**
* @ORM\Column(type="integer")
*/
private $orderNumber;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $dateAd;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $supp;
/**
* @ORM\Column(type="boolean")
*/
private $pai;
/**
* @ORM\ManyToOne(targetEntity="Congre",inversedBy="evenementIdCongre")
*/
private $evenementId;
/**
* @ORM\ManyToOne(targetEntity="EvenementAVenir",inversedBy="evenementIdAutre")
*/
private $evenementautre;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $total;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $accomp;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $pourcentage;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $surplace;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $virement;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $ordernumberid;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $adhesion;
public function getId(): ?int
{
return $this->id;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getIdUser(): ?ConnexionUser
{
return $this->id_user;
}
public function setIdUser(?ConnexionUser $id_user): self
{
$this->id_user = $id_user;
return $this;
}
public function getMontant(): ?string
{
return $this->montant;
}
public function setMontant(?string $montant): self
{
$this->montant = $montant;
return $this;
}
public function getOrderNumber(): ?int
{
return $this->orderNumber;
}
public function setOrderNumber(int $orderNumber): self
{
$this->orderNumber = $orderNumber;
return $this;
}
public function getSupp(): ?int
{
return $this->supp;
}
public function setSupp(int $supp): self
{
$this->supp = $supp;
return $this;
}
public function getDateAd(): ?\DateTimeInterface
{
return $this->dateAd;
}
public function setDateAd(?\DateTimeInterface $dateAd): self
{
$this->dateAd = $dateAd;
return $this;
}
public function getPai(): ?bool
{
return $this->pai;
}
public function setPai(bool $pai): self
{
$this->pai = $pai;
return $this;
}
/****** suplace */
public function getSurPlace(): ?bool
{
return $this->surplace;
}
public function setSurPlace(bool $surplace): self
{
$this->surplace = $surplace;
return $this;
}
public function getVirement(): ?bool
{
return $this->virement;
}
public function setVirement(bool $virement): self
{
$this->virement = $virement;
return $this;
}
/****** */
public function getEvenementId(): ?Congre
{
return $this->evenementId;
}
public function setEvenementId(?Congre $evenementId): self
{
$this->evenementId = $evenementId;
return $this;
}
public function getEvenementautre(): ?EvenementAVenir
{
return $this->evenementautre;
}
public function setEvenementautre(?EvenementAVenir $evenementautre): self
{
$this->evenementautre = $evenementautre;
return $this;
}
public function getTotal(): ?string
{
return $this->total;
}
public function setTotal(?string $total): self
{
$this->total = $total;
return $this;
}
public function getPourcentage(): ?string
{
return $this->pourcentage;
}
public function setPourcentage(?string $pourcentage): self
{
$this->pourcentage = $pourcentage;
return $this;
}
/***** nom prenom et email */
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(?string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getPrenom(): ?string
{
return $this->prenom;
}
public function setPrenom(?string $prenom): self
{
$this->prenom = $prenom;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getFile(): ?string
{
return $this->file;
}
public function setFile(?string $file): self
{
$this->file = $file;
return $this;
}
/*** */
public function getAdhesion(): ?string
{
return $this->adhesion;
}
public function setAdhesion(?string $adhesion): self
{
$this->adhesion = $adhesion;
return $this;
}
public function getOrdernumberid(): ?string
{
return $this->ordernumberid;
}
public function setOrdernumberid(?string $ordernumberid): self
{
$this->ordernumberid = $ordernumberid;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(?string $phone): self
{
$this->phone = $phone;
return $this;
}
public function getAccomp(): ?string
{
return $this->accomp;
}
public function setAccomp(?string $accomp): self
{
$this->accomp = $accomp;
return $this;
}
}