Fixing property
This commit is contained in:
@@ -11,6 +11,13 @@ use Doctrine\Common\Collections\Collection;
|
||||
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\DictionaryRepository")
|
||||
* @ORM\Table(name="`dictionary`")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*
|
||||
* @property int $id
|
||||
* @property String $name
|
||||
* @property String $fullname
|
||||
* @property Term $terms
|
||||
* @property Language $lang1
|
||||
* @property Language $lang2
|
||||
*/
|
||||
class Dictionary extends AbstractEntity
|
||||
{
|
||||
|
||||
@@ -9,6 +9,13 @@ use Doctrine\Common\Collections\Collection;
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\LanguageRepository")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*
|
||||
* @property int $id
|
||||
* @property String $name
|
||||
* @property String $shortName
|
||||
* @property Dictionary $dictionaries1
|
||||
* @property Dictionary $dictionaries2
|
||||
*
|
||||
*/
|
||||
class Language extends AbstractEntity
|
||||
{
|
||||
|
||||
@@ -8,6 +8,12 @@ use App\Model\Database\Entity\Attributes\TId;
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\PronunciationRepository")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*
|
||||
* @property int $id
|
||||
* @property Term $terms
|
||||
* @property PronunciationType $type
|
||||
* @property String $ipa
|
||||
* @property String $filename
|
||||
*/
|
||||
class Pronunciation extends AbstractEntity
|
||||
{
|
||||
|
||||
@@ -8,6 +8,10 @@ use App\Model\Database\Entity\Attributes\Tid;
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\PronunciationTypeRepository")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*
|
||||
* @property int $id
|
||||
* @property String $name
|
||||
* @property String $fullName
|
||||
*/
|
||||
class PronunciationType extends AbstractEntity
|
||||
{
|
||||
|
||||
@@ -8,6 +8,12 @@ use App\Model\Database\Entity\Attributes\TId;
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\TermFlagRepository")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*
|
||||
* @property int $id
|
||||
* @property WordClass $class
|
||||
* @property Language $language
|
||||
* @property String $code
|
||||
* @property String $description
|
||||
*/
|
||||
class TermFlag extends AbstractEntity
|
||||
{
|
||||
|
||||
@@ -10,6 +10,11 @@ use App\Model\Database\Entity\Attributes\TId;
|
||||
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\TranslationRepository")
|
||||
* @ORM\Table(name="`translation`")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*
|
||||
* @property Dictionary $dictionary
|
||||
* @property Language $lang1
|
||||
* @property Language $lang2
|
||||
* @property int $direction
|
||||
*/
|
||||
class Translation extends AbstractEntity
|
||||
{
|
||||
|
||||
@@ -8,6 +8,10 @@ use App\Model\Database\Entity\Attributes\TId;
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\WordClassRepository")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*
|
||||
* @property int $id
|
||||
* @property String $name
|
||||
*
|
||||
*/
|
||||
class WordClass extends AbstractEntity
|
||||
{
|
||||
@@ -20,17 +24,6 @@ class WordClass extends AbstractEntity
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
return $id;
|
||||
}
|
||||
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string")
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user