V-Beta-1.0.0

Vision is out of alpha !
This commit is contained in:
Xbird
2022-02-02 17:46:29 +01:00
parent 797bf35b47
commit 9f22f5b1ee
2297 changed files with 278438 additions and 76 deletions

32
src/Entity/Announce.php Normal file
View File

@@ -0,0 +1,32 @@
<?php
namespace App\Entity;
use App\Entity\Document;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\AnnounceRepository;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Entity(repositoryClass=AnnounceRepository::class)
*/
class Announce extends Document
{
/**
* @ORM\Column(type="text")
* @Gedmo\Versioned
*/
private $content;
public function getContent(): ?string
{
return $this->content;
}
public function setContent(string $content): self
{
$this->content = $content;
return $this;
}
}