Fixess nette 3.0 version
This commit is contained in:
@@ -9,6 +9,16 @@ use App\Model\Database\Entity\Attributes\TId;
|
||||
* @ORM\Entity(repositoryClass="App\Model\Database\Repository\TermRepository")
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
* @ORM\Table(indexes={@ORM\Index(columns={"string1"}, flags={"fulltext"}),@ORM\Index(columns={"string2"}, flags={"fulltext"})})
|
||||
*
|
||||
* @property int $id
|
||||
* @property String $string1
|
||||
* @property String $string2
|
||||
* @property Dictionary $dictionary
|
||||
* @property Suffix $suffix1
|
||||
* @property Suffix $suffix2
|
||||
* @property DictType $type
|
||||
* @property int $order2
|
||||
* @property String $member
|
||||
*/
|
||||
class Term extends AbstractEntity
|
||||
{
|
||||
@@ -59,12 +69,6 @@ class Term extends AbstractEntity
|
||||
*/
|
||||
protected $pronunciations;
|
||||
|
||||
public function setType(DictType $type)
|
||||
{
|
||||
$this->type = $type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string",nullable=true)
|
||||
*/
|
||||
@@ -115,6 +119,106 @@ class Term extends AbstractEntity
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get the value of string1
|
||||
*/
|
||||
public function getString1()
|
||||
{
|
||||
return $this->string1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of string1
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setString1($string1)
|
||||
{
|
||||
$this->string1 = $string1;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the value of string2
|
||||
*/
|
||||
public function getString2()
|
||||
{
|
||||
return $this->string2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of string2
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setString2($string2)
|
||||
{
|
||||
$this->string2 = $string2;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the value of suffix1
|
||||
*/
|
||||
public function getSuffix1()
|
||||
{
|
||||
return $this->suffix1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of suffix1
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setSuffix1($suffix1)
|
||||
{
|
||||
$this->suffix1 = $suffix1;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the value of suffix2
|
||||
*/
|
||||
public function getSuffix2()
|
||||
{
|
||||
return $this->suffix2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of suffix2
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setSuffix2($suffix2)
|
||||
{
|
||||
$this->suffix2 = $suffix2;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the value of type
|
||||
*/
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of type
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user