<?php
namespace App\Entity;
use App\Repository\InformationepsRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\HttpFoundation\File\File;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
/**
* @ORM\Entity(repositoryClass=InformationepsRepository::class)
* @Vich\Uploadable
*/
class Informationeps
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="text")
*/
private $name;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $address;
/**
* @ORM\Column(type="string", length=40)
*/
private $telephone;
/**
* @ORM\Column(type="string", length=255)
*/
private $email;
/**
* @Doctrine\ORM\Mapping\Column(type="string", length=255, nullable=true)
*/
private $image;
/**
* @Vich\UploadableField(mapping="photo_eps", fileNameProperty="image")
*/
private $fichier;
/**
* @Doctrine\ORM\Mapping\Column(type="string", length=255, nullable=true)
*/
private $imagefiligrame;
/**
* @Vich\UploadableField(mapping="photo_eps", fileNameProperty="imagefiligrame")
*/
private $fichierfiligrame;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $updateAt;
/**
* @Doctrine\ORM\Mapping\Column(type="string", length=255, nullable=true)
*/
private $certification;
/**
* @Vich\UploadableField(mapping="photo_eps", fileNameProperty="certification")
*/
private $fichiercertification;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $pourquoieps;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $ReglementInterieur;
/**
* @Vich\UploadableField(mapping="reglement_interieur", fileNameProperty="ReglementInterieur")
*/
private $fichierReglement;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $LivretAcceuil;
/**
* @Vich\UploadableField(mapping="livret_acceuil", fileNameProperty="LivretAcceuil")
*/
private $fichierLivret;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setAddress(?string $address): self
{
$this->address = $address;
return $this;
}
public function getTelephone(): ?string
{
return $this->telephone;
}
public function setTelephone(string $telephone): self
{
$this->telephone = $telephone;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function setFichier(?File $image = null)
{
$this->fichier = $image;
if ($image) {
$this->updateAt = new \DateTimeImmutable();
}
}
public function getFichier()
{
return $this->fichier;
}
public function setImage($image)
{
$this->image = $image;
}
public function getImage()
{
return $this->image;
}
//
public function setFichierFiligrame(?File $image = null)
{
$this->fichierfiligrame = $image;
if ($image) {
$this->updateAt = new \DateTimeImmutable();
}
}
public function getFichierFiligrame()
{
return $this->fichierfiligrame;
}
public function setImageFiligrame($image)
{
$this->imagefiligrame = $image;
}
public function getImageFiligrame()
{
return $this->imagefiligrame;
}
public function getUpdateAt(): ?\DateTimeImmutable
{
return $this->updateAt;
}
public function setUpdateAt(?\DateTimeImmutable $updateAt): self
{
$this->updateAt = $updateAt;
return $this;
}
public function setFichierCertification(?File $image = null)
{
$this->fichiercertification = $image;
if ($image) {
$this->updateAt = new \DateTimeImmutable();
}
}
public function getFichierCertification()
{
return $this->fichiercertification;
}
public function setCertification($image)
{
$this->certification = $image;
}
public function getCertification()
{
return $this->certification;
}
public function getPourquoieps(): ?string
{
return $this->pourquoieps;
}
public function setPourquoieps(?string $pourquoieps): self
{
$this->pourquoieps = $pourquoieps;
return $this;
}
public function getReglementInterieur(): ?string
{
return $this->ReglementInterieur;
}
public function setReglementInterieur(?string $ReglementInterieur): self
{
$this->ReglementInterieur = $ReglementInterieur;
return $this;
}
public function getLivretAcceuil(): ?string
{
return $this->LivretAcceuil;
}
public function setLivretAcceuil(?string $LivretAcceuil): self
{
$this->LivretAcceuil = $LivretAcceuil;
return $this;
}
public function getFichierReglement()
{
return $this->fichierReglement;
}
public function setFichierReglement(?File $ReglementInterieur = null)
{
$this->fichierReglement = $ReglementInterieur;
if ($ReglementInterieur) {
$this->updateAt = new \DateTimeImmutable();
}
}
public function getFichierLivret()
{
return $this->fichierLivret;
}
public function setFichierLivret(?File $LivrerAcceuil = null)
{
$this->fichierLivret = $LivrerAcceuil;
if ($LivrerAcceuil) {
$this->updateAt = new \DateTimeImmutable();
}
}
}