129 lines
1.9 KiB
PHP
129 lines
1.9 KiB
PHP
<?php
|
|
|
|
namespace Mmi\Bundle\EnigmaBundle\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* Awnser
|
|
*
|
|
* @ORM\Table(name="awnser")
|
|
* @ORM\Entity(repositoryClass="Mmi\Bundle\EnigmaBundle\Repository\AwnserRepository")
|
|
*/
|
|
class Awnser
|
|
{
|
|
/**
|
|
* @var int
|
|
*
|
|
* @ORM\Column(name="id", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue(strategy="AUTO")
|
|
*/
|
|
private $id;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="team", type="string", length=255)
|
|
*/
|
|
private $team;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="enigma", type="string", length=255)
|
|
*/
|
|
private $enigma;
|
|
|
|
/**
|
|
* @var string
|
|
*
|
|
* @ORM\Column(name="content", type="string", length=255)
|
|
*/
|
|
private $content;
|
|
|
|
|
|
/**
|
|
* Get id
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* Set team
|
|
*
|
|
* @param string $team
|
|
*
|
|
* @return Awnser
|
|
*/
|
|
public function setTeam($team)
|
|
{
|
|
$this->team = $team;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get team
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getTeam()
|
|
{
|
|
return $this->team;
|
|
}
|
|
|
|
/**
|
|
* Set enigma
|
|
*
|
|
* @param string $enigma
|
|
*
|
|
* @return Awnser
|
|
*/
|
|
public function setEnigma($enigma)
|
|
{
|
|
$this->enigma = $enigma;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get enigma
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getEnigma()
|
|
{
|
|
return $this->enigma;
|
|
}
|
|
|
|
/**
|
|
* Set content
|
|
*
|
|
* @param string $content
|
|
*
|
|
* @return Awnser
|
|
*/
|
|
public function setContent($content)
|
|
{
|
|
$this->content = $content;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Get content
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getContent()
|
|
{
|
|
return $this->content;
|
|
}
|
|
}
|
|
|