diff --git a/src/Mmi/Bundle/EnigmaBundle/Entity/Enigma.php b/src/Mmi/Bundle/EnigmaBundle/Entity/Enigma.php index 48f119b..a8ce667 100644 --- a/src/Mmi/Bundle/EnigmaBundle/Entity/Enigma.php +++ b/src/Mmi/Bundle/EnigmaBundle/Entity/Enigma.php @@ -34,6 +34,13 @@ class Enigma * @ORM\Column(name="content", type="string", length=255) */ private $content; + + /** + * @var string + * + * @ORM\Column(name="hash", type="string", length=32) + */ + private $hash; /** @@ -93,4 +100,28 @@ class Enigma { return $this->content; } + + /** + * Set hash + * + * @param string $hash + * + * @return Enigma + */ + public function setHash($hash) + { + $this->hash = $hash; + + return $this; + } + + /** + * Get hash + * + * @return string + */ + public function getHash() + { + return $this->hash; + } }