<?php
namespace App\Entity;
use App\Repository\RedirectReponseRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=RedirectReponseRepository::class)
*/
class RedirectReponse
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=511)
*/
private $urlFrom;
/**
* @ORM\Column(type="string", length=511)
*/
private $urlTo;
public function getId(): ?int
{
return $this->id;
}
public function getUrlFrom(): ?string
{
return $this->urlFrom;
}
public function setUrlFrom(string $urlFrom): self
{
$this->urlFrom = $urlFrom;
return $this;
}
public function getUrlTo(): ?string
{
return $this->urlTo;
}
public function setUrlTo(string $urlTo): self
{
$this->urlTo = $urlTo;
return $this;
}
}