<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\Actuv2InfographieRepository;
use Symfony\Component\Validator\Constraints\Date;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
use Symfony\Component\HttpFoundation\File\File;
/**
* Actuv2Infographie
*
* @Vich\Uploadable
*/
#[ORM\Table(name: 'actuv2_infographie')]
#[ORM\Entity(repositoryClass: Actuv2InfographieRepository::class)]
class Actuv2Infographie
{
/**
* @var int
*
*/
#[ORM\Column(name: 'id', type: 'bigint', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private $id;
/**
* @var \DateTime|null
*
*/
#[ORM\Column(name: 'date', type: 'date', nullable: true, options: ['comment' => 'période'])]
private $date;
/**
* @var string
*
*/
#[ORM\Column(name: 'image1', type: 'string', length: 255, nullable: true, options: ['comment' => 'format desktop panoramique, background : f6f5f2'])]
private $image1 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image2', type: 'string', length: 255, nullable: true, options: ['comment' => 'format lightbox paysage'])]
private $image2 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image3', type: 'string', length: 255, nullable: true, options: ['comment' => 'format mobile portrait'])]
private $image3 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image4', type: 'string', length: 255, nullable: true, options: ['comment' => 'format mobile portrait'])]
private $image4 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image5', type: 'string', length: 255, nullable: true, options: ['comment' => 'format mobile portrait'])]
private $image5 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image6', type: 'string', length: 255, nullable: true, options: ['comment' => 'format mobile portrait'])]
private $image6 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image7', type: 'string', length: 255, nullable: true, options: ['comment' => 'format mobile portrait'])]
private $image7 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image8', type: 'string', length: 255, nullable: true, options: ['comment' => 'format mobile portrait'])]
private $image8 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image9', type: 'string', length: 255, nullable: true, options: ['comment' => 'format mobile portrait'])]
private $image9 = '';
/**
* @var string
*
*/
#[ORM\Column(name: 'image10', type: 'string', length: 255, nullable: true, options: ['comment' => 'format mobile portrait'])]
private $image10 = '';
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image1")
* @var File|null
*/
private $tmpImage1 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image2")
* @var File|null
*/
private $tmpImage2 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image3")
* @var File|null
*/
private $tmpImage3 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image4")
* @var File|null
*/
private $tmpImage4 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image5")
* @var File|null
*/
private $tmpImage5 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image6")
* @var File|null
*/
private $tmpImage6 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image7")
* @var File|null
*/
private $tmpImage7 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image8")
* @var File|null
*/
private $tmpImage8 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image9")
* @var File|null
*/
private $tmpImage9 = null;
/**
* @Vich\UploadableField(mapping="actuv2infographie", fileNameProperty="image10")
* @var File|null
*/
private $tmpImage10 = null;
#[ORM\Column(type: 'datetime', nullable: true)]
private $updatedAt;
public function getId(): ?string
{
return $this->id;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getImage1(): ?string
{
return $this->image1;
}
public function setImage1(?string $image1): self
{
$this->image1 = is_null($image1) ? "" : $image1;
return $this;
}
public function setTmpImage1(?File $tmpImage1 = null): void
{
$this->tmpImage1 = $tmpImage1;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage1(): ?File
{
return $this->tmpImage1;
}
public function getImage2(): ?string
{
return $this->image2;
}
public function setImage2(?string $image2): self
{
$this->image2 = is_null($image2) ? "" : $image2;
return $this;
}
public function setTmpImage2(?File $tmpImage2 = null): void
{
$this->tmpImage2 = $tmpImage2;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage2(): ?File
{
return $this->tmpImage2;
}
public function getImage3(): ?string
{
return $this->image3;
}
public function setImage3(?string $image3): self
{
$this->image3 = is_null($image3) ? "" : $image3;
return $this;
}
public function setTmpImage3(?File $tmpImage3 = null): void
{
$this->tmpImage3 = $tmpImage3;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage3(): ?File
{
return $this->tmpImage3;
}
public function getImage4(): ?string
{
return $this->image4;
}
public function setImage4(?string $image4): self
{
$this->image4 = is_null($image4) ? "" : $image4;
return $this;
}
public function setTmpImage4(?File $tmpImage4 = null): void
{
$this->tmpImage4 = $tmpImage4;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage4(): ?File
{
return $this->tmpImage4;
}
public function getImage5(): ?string
{
return $this->image5;
}
public function setImage5(?string $image5): self
{
$this->image5 = is_null($image5) ? "" : $image5;
return $this;
}
public function setTmpImage5(?File $tmpImage5 = null): void
{
$this->tmpImage5 = $tmpImage5;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage5(): ?File
{
return $this->tmpImage5;
}
public function getImage6(): ?string
{
return $this->image6;
}
public function setImage6(?string $image6): self
{
$this->image6 = is_null($image6) ? "" : $image6;
return $this;
}
public function setTmpImage6(?File $tmpImage6 = null): void
{
$this->tmpImage6 = $tmpImage6;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage6(): ?File
{
return $this->tmpImage6;
}
public function getImage7(): ?string
{
return $this->image7;
}
public function setImage7(?string $image7): self
{
$this->image7 = is_null($image7) ? "" : $image7;
return $this;
}
public function setTmpImage7(?File $tmpImage7 = null): void
{
$this->tmpImage7 = $tmpImage7;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage7(): ?File
{
return $this->tmpImage7;
}
public function getImage8(): ?string
{
return $this->image8;
}
public function setImage8(?string $image8): self
{
$this->image8 = is_null($image8) ? "" : $image8;
return $this;
}
public function setTmpImage8(?File $tmpImage8 = null): void
{
$this->tmpImage8 = $tmpImage8;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage8(): ?File
{
return $this->tmpImage8;
}
public function getImage9(): ?string
{
return $this->image9;
}
public function setImage9(?string $image9): self
{
$this->image9 = is_null($image9) ? "" : $image9;
return $this;
}
public function setTmpImage9(?File $tmpImage9 = null): void
{
$this->tmpImage9 = $tmpImage9;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage9(): ?File
{
return $this->tmpImage9;
}
public function getImage10(): ?string
{
return $this->image10;
}
public function setImage10(?string $image10): self
{
$this->image10 = is_null($image10) ? "" : $image10;
return $this;
}
public function setTmpImage10(?File $tmpImage10 = null): void
{
$this->tmpImage10 = $tmpImage10;
$this->updatedAt = new \DateTime('now');
}
public function getTmpImage10(): ?File
{
return $this->tmpImage10;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
}