<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity()
*
* @ORM\Table(name="search_alias")
*/
class Alias
{
/**
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*
* @ORM\Column(type="bigint")
*/
protected $id;
/**
* @ORM\Column(type="string", length=255, unique=true)
*/
protected $originalWord;
/**
* @ORM\Column(type="string", length=255)
*/
protected $replacementWord;
/**
* Constructor.
*/
public function __construct()
{
}
/**
* Gets the value of id.
*/
public function getId()
{
return $this->id;
}
/**
* Gets the value of originalWord.
*
* @return string
*/
public function getOriginalWord()
{
return $this->originalWord;
}
/**
* Sets the value of originalWord.
*
* @param string $originalWord the original word
*
* @return self
*/
public function setOriginalWord($originalWord)
{
$this->originalWord = $originalWord;
return $this;
}
/**
* Gets the value of replacementWord.
*
* @return string
*/
public function getReplacementWord()
{
return $this->replacementWord;
}
/**
* Sets the value of replacementWord.
*
* @param string $replacementWord the replacement word
*
* @return self
*/
public function setReplacementWord($replacementWord)
{
$this->replacementWord = $replacementWord;
return $this;
}
}