This commit is contained in:
2022-04-11 16:05:12 +02:00
parent abaa95f71d
commit 6309faa898
37 changed files with 1263 additions and 7 deletions

35
src/Entity/Quotes.php Normal file
View File

@@ -0,0 +1,35 @@
<?php
namespace App\Entity;
use App\Repository\QuotesRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: QuotesRepository::class)]
class Quotes
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'text')]
private $quote;
public function getId(): ?int
{
return $this->id;
}
public function getQuote(): ?string
{
return $this->quote;
}
public function setQuote(string $quote): self
{
$this->quote = $quote;
return $this;
}
}