This commit is contained in:
2022-01-18 21:07:02 +01:00
parent 59d4ef9966
commit 265470f771
7 changed files with 14 additions and 7 deletions

View File

@@ -7,7 +7,8 @@ use App\Model\Database\Entity\Attributes\TId;
use Doctrine\Common\Collections\Collection; use Doctrine\Common\Collections\Collection;
/** /**
* @ORM\Entity * @ORM\Entity(repositoryClass="App\Model\Database\Repository\LanguageRepository")
* @ORM\HasLifecycleCallbacks
*/ */
class Language extends AbstractEntity class Language extends AbstractEntity
{ {

View File

@@ -6,7 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
use App\Model\Database\Entity\Attributes\TId; use App\Model\Database\Entity\Attributes\TId;
/** /**
* @ORM\Entity * @ORM\Entity(repositoryClass="App\Model\Database\Repository\PronunciationRepository")
* @ORM\HasLifecycleCallbacks
*/ */
class Pronunciation extends AbstractEntity class Pronunciation extends AbstractEntity
{ {

View File

@@ -6,7 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
use App\Model\Database\Entity\Attributes\Tid; use App\Model\Database\Entity\Attributes\Tid;
/** /**
* @ORM\Entity * @ORM\Entity(repositoryClass="App\Model\Database\Repository\PronunciationTypeRepository")
* @ORM\HasLifecycleCallbacks
*/ */
class PronunciationType extends AbstractEntity class PronunciationType extends AbstractEntity
{ {

View File

@@ -6,7 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
use App\Model\Database\Entity\Attributes\TId; use App\Model\Database\Entity\Attributes\TId;
/** /**
* @ORM\Entity * @ORM\Entity(repositoryClass="App\Model\Database\Repository\SuffixRepository")
* @ORM\HasLifecycleCallbacks
*/ */
class Suffix extends AbstractEntity class Suffix extends AbstractEntity
{ {

View File

@@ -6,7 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
use App\Model\Database\Entity\Attributes\TId; use App\Model\Database\Entity\Attributes\TId;
/** /**
* @ORM\Entity * @ORM\Entity(repositoryClass="App\Model\Database\Repository\TermRepository")
* @ORM\HasLifecycleCallbacks
* @ORM\Table(indexes={@ORM\Index(columns={"string1"}, flags={"fulltext"}), * @ORM\Table(indexes={@ORM\Index(columns={"string1"}, flags={"fulltext"}),
@ORM\Index(columns={"string2"}, flags={"fulltext"})}) @ORM\Index(columns={"string2"}, flags={"fulltext"})})
*/ */

View File

@@ -6,7 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
use App\Model\Database\Entity\Attributes\TId; use App\Model\Database\Entity\Attributes\TId;
/** /**
* @ORM\Entity * @ORM\Entity(repositoryClass="App\Model\Database\Repository\TermFlagRepository")
* @ORM\HasLifecycleCallbacks
*/ */
class TermFlag extends AbstractEntity class TermFlag extends AbstractEntity
{ {

View File

@@ -6,7 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
use App\Model\Database\Entity\Attributes\TId; use App\Model\Database\Entity\Attributes\TId;
/** /**
* @ORM\Entity * @ORM\Entity(repositoryClass="App\Model\Database\Repository\WordClassRepository")
* @ORM\HasLifecycleCallbacks
*/ */
class WordClass extends AbstractEntity class WordClass extends AbstractEntity
{ {