X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/2170a08e8b827db071883ad0b539a3ff97d6cd97..9ad367710337f576ffa541975db98b0ace80bbce:/Entity/AuthorTranslation.php diff --git a/Entity/AuthorTranslation.php b/Entity/AuthorTranslation.php new file mode 100644 index 0000000..64d015a --- /dev/null +++ b/Entity/AuthorTranslation.php @@ -0,0 +1,213 @@ +author_id = $authorId; + + return $this; + } + + /** + * Get authorId + * + * @return integer + */ + public function getAuthorId() + { + return $this->author_id; + } + + /** + * Set languageId + * + * @param integer $languageId + * + * @return AuthorTranslation + */ + public function setLanguageId($languageId) + { + $this->language_id = $languageId; + + return $this; + } + + /** + * Get languageId + * + * @return integer + */ + public function getLanguageId() + { + return $this->language_id; + } + + /** + * Set description + * + * @param string $description + * + * @return AuthorTranslation + */ + public function setDescription($description) + { + $this->description = $description; + + return $this; + } + + /** + * Get description + * + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * Set created + * + * @param \DateTime $created + * + * @return AuthorTranslation + */ + public function setCreated($created) + { + $this->created = $created; + + return $this; + } + + /** + * Get created + * + * @return \DateTime + */ + public function getCreated() + { + return $this->created; + } + + /** + * Set updated + * + * @param \DateTime $updated + * + * @return AuthorTranslation + */ + public function setUpdated($updated) + { + $this->updated = $updated; + + return $this; + } + + /** + * Get updated + * + * @return \DateTime + */ + public function getUpdated() + { + return $this->updated; + } + + /** + * Set author + * + * @param \Rapsys\BlogBundle\Entity\Author $author + * + * @return AuthorTranslation + */ + public function setAuthor(\Rapsys\BlogBundle\Entity\Author $author = null) + { + $this->author = $author; + + return $this; + } + + /** + * Get author + * + * @return \Rapsys\BlogBundle\Entity\Author + */ + public function getAuthor() + { + return $this->author; + } + /** + * @var \Rapsys\BlogBundle\Entity\Language + */ + private $language; + + + /** + * Set language + * + * @param \Rapsys\BlogBundle\Entity\Language $language + * + * @return AuthorTranslation + */ + public function setLanguage(\Rapsys\BlogBundle\Entity\Language $language = null) + { + $this->language = $language; + + return $this; + } + + /** + * Get language + * + * @return \Rapsys\BlogBundle\Entity\Language + */ + public function getLanguage() + { + return $this->language; + } +}