<?php
namespace App\Entity;
use App\Repository\BlogRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\HttpFoundation\File\File;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
/**
* @ORM\Entity(repositoryClass=BlogRepository::class)
*/
/**
* @ORM\Entity
* @Vich\Uploadable
*/
class EvenementFormulaire
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $evenement;
/**
* @ORM\Column(type="integer")
*/
private $user;
/**
* @ORM\Column(type="boolean")
*/
private $pay;
/**
* @ORM\Column(type="string", length=255)
*/
private $montant;
/**
* @ORM\Column(type="string", length=255)
*/
private $nom;
/**
* @ORM\Column(type="string", length=255)
*/
private $prenom;
/**
* @ORM\Column(type="string", length=255)
*/
private $email;
/**
* @ORM\Column(type="string", length=255)
*/
private $phone;
/**
* @ORM\Column(type="string", length=255)
*/
private $type;
/**
* @ORM\Column(type="string", length=255)
*/
private $fonction;
public function getId(): ?int
{
return $this->id;
}
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 getPhone(): ?string
{
return $this->phone;
}
public function setPhone(string $phone): self
{
$this->phone = $phone;
return $this;
}
/**** add email */
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
/****** */
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
public function getFonction(): ?string
{
return $this->fonction;
}
public function setFonction(string $fonction): self
{
$this->fonction = $fonction;
return $this;
}
public function getEvenement(): ?int
{
return $this->evenement;
}
public function setEvenement(string $evenement): self
{
$this->evenement = $evenement;
return $this;
}
public function getUser(): ?int
{
return $this->user;
}
public function setUser(string $user): self
{
$this->user = $user;
return $this;
}
public function getPay(): ?bool
{
return $this->pay;
}
public function setPay(bool $pay): self
{
$this->pay = $pay;
return $this;
}
public function getMontant(): ?string
{
return $this->montant;
}
public function setMonatnt(string $montant): self
{
$this->montant = $montant;
return $this;
}
}