<?php
namespace App\Entity;
use App\Repository\ImageRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ImageRepository::class)]
class Image
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $src = null;
#[ORM\Column(length: 255)]
private ?string $size = null;
#[ORM\Column(length: 255)]
private ?string $complete = null;
public function getId(): ?int
{
return $this->id;
}
public function getSrc(): ?string
{
return $this->src;
}
public function setSrc(string $src): self
{
$this->src = $src;
return $this;
}
public function getSize(): ?string
{
return $this->size;
}
public function setSize(string $size): self
{
$this->size = $size;
return $this;
}
public function getComplete(): ?string
{
return $this->complete;
}
public function setComplete(string $complete): self
{
$this->complete = $complete;
return $this;
}
}