You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
745 B
42 lines
745 B
<?php
|
|
namespace Entity;
|
|
|
|
class ImageEntity
|
|
{
|
|
private int $idImg;
|
|
private string $imgPath;
|
|
|
|
/**
|
|
* @param int $idImg
|
|
* @param string $imgPath
|
|
* @param string $isImgProfile
|
|
*/
|
|
public function __construct(int $idImg, string $imgPath)
|
|
{
|
|
$this->idImg = $idImg;
|
|
$this->imgPath = $imgPath;
|
|
}
|
|
|
|
public function getIdImg(): int
|
|
{
|
|
return $this->idImg;
|
|
}
|
|
|
|
public function setIdImg(int $idImg): void
|
|
{
|
|
$this->idImg = $idImg;
|
|
}
|
|
|
|
public function getImgPath(): string
|
|
{
|
|
return $this->imgPath;
|
|
}
|
|
|
|
public function setImgPath(string $imgPath): void
|
|
{
|
|
$this->imgPath = $imgPath;
|
|
}
|
|
|
|
|
|
}
|