Début Enigma

This commit is contained in:
Dorian Lods 2016-01-13 00:23:55 +01:00
parent 7ff4309794
commit 8bda9320f1
2 changed files with 42 additions and 1 deletions

View File

@ -12,6 +12,7 @@ use Doctrine\ORM\Mapping as ORM;
*/
class Awnser
{
/**
* @var int
*
@ -43,6 +44,20 @@ class Awnser
private $content;
/**
* @var int
*
* @ORM\Column(name="content", type="string", length=255)
*/
private $date;
/**
* @ORM\ManyToOne(targetEntity="Team", inversedBy="Awnser")
* @ORM\JoinColumn(name="Team_ID", referencedColumnName="Team_ID")
*/
private $Team_ID;
/**
* Get id
*
@ -124,5 +139,30 @@ class Awnser
{
return $this->content;
}
/**
* Set date
*
* @param int $date
*
* @return Enigma
*/
public function setDate($date)
{
$this->date = $date;
return $this;
}
/**
* Get date
*
* @return int
*/
public function getDate()
{
return $this->date;
}
}

View File

@ -2,7 +2,8 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<title>Connectez-vous</title>
<link rel="stylesheet" href="{{ asset('bundles/mmienigma/css/main.css') }}">
</head>
<body>
{% if invalid %}