src/Flexy/ShopBundle/Entity/Order/GallerieHome.php line 14
<?phpnamespace App\Flexy\ShopBundle\Entity\Order;use App\Flexy\ShopBundle\Repository\Order\GallerieHomeRepository;use Doctrine\ORM\Mapping as ORM;use Vich\UploaderBundle\Mapping\Annotation as Vich;use Symfony\Component\HttpFoundation\File\File;/*** @Vich\Uploadable*/#[ORM\Entity(repositoryClass: GallerieHomeRepository::class)]class GallerieHome{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'gallerieHomes', cascade: ['persist'])]private ?HomePage $carouselHome = null;#[ORM\Column(length: 255, nullable: true)]private ?string $path = null;/*** @Vich\UploadableField(mapping="product_images_home", fileNameProperty="path")*/private ?\Symfony\Component\HttpFoundation\File\File $imageFile = null;public function getId(): ?int{return $this->id;}public function getCarouselHome(): ?HomePage{return $this->carouselHome;}public function setCarouselHome(?HomePage $carouselHome): static{$this->carouselHome = $carouselHome;return $this;}public function getPath(): ?string{return $this->path;}public function setPath(?string $path): static{$this->path = $path;return $this;}public function setImageFile(File $path = null){$this->imageFile = $path;// if ($path) {// // if 'updatedAt' is not defined in your entity, use another property// $this->updatedAt = new \DateTime('now');// }}public function getImageFile(){return $this->imageFile;}}