Brutal vocabulary interaction (draft)

This commit is contained in:
2024-10-30 10:26:25 +01:00
parent 96904693ca
commit c20ec66f22
5 changed files with 205 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
<?php
namespace App\Entity;
//use App\Repository\UserRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity()]
#[ORM\Table(name: 'lis_contesto_funz')]
class VocabFuncContext
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(name: 'id_lis_contesto')]
private ?int $id = null;
#[ORM\Column(length: 80, name: 'lis_contesto')]
private ?string $term = null;
public function getId(): ?int
{
return $this->id;
}
public function getTerm(): ?string
{
return $this->term;
}
public function setTerm(string $term): static
{
$this->term = $term;
return $this;
}
}