Brutal vocabulary interaction (draft)
This commit is contained in:
37
src/Entity/VocabFuncContext.php
Normal file
37
src/Entity/VocabFuncContext.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user