<?php
namespace App\Entity;
use App\Repository\FranchiseRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FranchiseRepository::class)
*/
class Franchise
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $nom;
/**
* @ORM\Column(type="string", length=255)
*/
private $prenom;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $adresse;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $cp;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $ville;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $departement;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $pays;
/**
* @ORM\Column(type="string", length=255)
*/
private $mail;
/**
* @ORM\Column(type="string", length=255)
*/
private $telephone;
/**
* @ORM\Column(type="string", length=255)
*/
private $secteur;
/**
* @ORM\Column(type="string", length=255)
*/
private $apport;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $apportcomplement;
/**
* @ORM\Column(type="boolean")
*/
private $local;
/**
* @ORM\Column(type="string", length=255)
*/
private $echeance;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $message;
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 getAdresse(): ?string
{
return $this->adresse;
}
public function setAdresse(?string $adresse): self
{
$this->adresse = $adresse;
return $this;
}
public function getCp(): ?string
{
return $this->cp;
}
public function setCp(?string $cp): self
{
$this->cp = $cp;
return $this;
}
public function getVille(): ?string
{
return $this->ville;
}
public function setVille(?string $ville): self
{
$this->ville = $ville;
return $this;
}
public function getDepartement(): ?string
{
return $this->departement;
}
public function setDepartement(?string $departement): self
{
$this->departement = $departement;
return $this;
}
public function getPays(): ?string
{
return $this->pays;
}
public function setPays(?string $pays): self
{
$this->pays = $pays;
return $this;
}
public function getMail(): ?string
{
return $this->mail;
}
public function setMail(string $mail): self
{
$this->mail = $mail;
return $this;
}
public function getTelephone(): ?string
{
return $this->telephone;
}
public function setTelephone(string $telephone): self
{
$this->telephone = $telephone;
return $this;
}
public function getSecteur(): ?string
{
return $this->secteur;
}
public function setSecteur(string $secteur): self
{
$this->secteur = $secteur;
return $this;
}
public function getApport(): ?string
{
return $this->apport;
}
public function setApport(string $apport): self
{
$this->apport = $apport;
return $this;
}
public function getApportcomplement(): ?string
{
return $this->apportcomplement;
}
public function setApportcomplement(?string $apportcomplement): self
{
$this->apportcomplement = $apportcomplement;
return $this;
}
public function isLocal(): ?bool
{
return $this->local;
}
public function setLocal(bool $local): self
{
$this->local = $local;
return $this;
}
public function getEcheance(): ?string
{
return $this->echeance;
}
public function setEcheance(string $echeance): self
{
$this->echeance = $echeance;
return $this;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(string $message): self
{
$this->message = $message;
return $this;
}
}