From 9d50517ceaeadaba227ccdbaa43a5918abd16728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 22 Jan 2015 17:18:56 +0100 Subject: migrating legacy to symfony --- src/WallabagBundle/Entity/Config.php | 95 +++++++++++++ src/WallabagBundle/Entity/Config.php~ | 95 +++++++++++++ src/WallabagBundle/Entity/Entries.php | 215 +++++++++++++++++++++++++++++ src/WallabagBundle/Entity/Entries.php~ | 215 +++++++++++++++++++++++++++++ src/WallabagBundle/Entity/Entry.php~ | 74 ++++++++++ src/WallabagBundle/Entity/Tags.php | 65 +++++++++ src/WallabagBundle/Entity/Tags.php~ | 65 +++++++++ src/WallabagBundle/Entity/TagsEntries.php | 95 +++++++++++++ src/WallabagBundle/Entity/TagsEntries.php~ | 95 +++++++++++++ src/WallabagBundle/Entity/Users.php | 155 +++++++++++++++++++++ src/WallabagBundle/Entity/Users.php~ | 155 +++++++++++++++++++++ src/WallabagBundle/Entity/UsersConfig.php | 125 +++++++++++++++++ src/WallabagBundle/Entity/UsersConfig.php~ | 125 +++++++++++++++++ 13 files changed, 1574 insertions(+) create mode 100644 src/WallabagBundle/Entity/Config.php create mode 100644 src/WallabagBundle/Entity/Config.php~ create mode 100644 src/WallabagBundle/Entity/Entries.php create mode 100644 src/WallabagBundle/Entity/Entries.php~ create mode 100644 src/WallabagBundle/Entity/Entry.php~ create mode 100644 src/WallabagBundle/Entity/Tags.php create mode 100644 src/WallabagBundle/Entity/Tags.php~ create mode 100644 src/WallabagBundle/Entity/TagsEntries.php create mode 100644 src/WallabagBundle/Entity/TagsEntries.php~ create mode 100644 src/WallabagBundle/Entity/Users.php create mode 100644 src/WallabagBundle/Entity/Users.php~ create mode 100644 src/WallabagBundle/Entity/UsersConfig.php create mode 100644 src/WallabagBundle/Entity/UsersConfig.php~ (limited to 'src/WallabagBundle/Entity') diff --git a/src/WallabagBundle/Entity/Config.php b/src/WallabagBundle/Entity/Config.php new file mode 100644 index 00000000..8b692cef --- /dev/null +++ b/src/WallabagBundle/Entity/Config.php @@ -0,0 +1,95 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Config + */ + public function setName($name) + { + $this->name = $name; + + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Set value + * + * @param string $value + * @return Config + */ + public function setValue($value) + { + $this->value = $value; + + return $this; + } + + /** + * Get value + * + * @return string + */ + public function getValue() + { + return $this->value; + } +} diff --git a/src/WallabagBundle/Entity/Config.php~ b/src/WallabagBundle/Entity/Config.php~ new file mode 100644 index 00000000..8b692cef --- /dev/null +++ b/src/WallabagBundle/Entity/Config.php~ @@ -0,0 +1,95 @@ +id; + } + + /** + * Set name + * + * @param string $name + * @return Config + */ + public function setName($name) + { + $this->name = $name; + + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Set value + * + * @param string $value + * @return Config + */ + public function setValue($value) + { + $this->value = $value; + + return $this; + } + + /** + * Get value + * + * @return string + */ + public function getValue() + { + return $this->value; + } +} diff --git a/src/WallabagBundle/Entity/Entries.php b/src/WallabagBundle/Entity/Entries.php new file mode 100644 index 00000000..69c6be0d --- /dev/null +++ b/src/WallabagBundle/Entity/Entries.php @@ -0,0 +1,215 @@ +id; + } + + /** + * Set title + * + * @param string $title + * @return Entries + */ + public function setTitle($title) + { + $this->title = $title; + + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() + { + return $this->title; + } + + /** + * Set url + * + * @param string $url + * @return Entries + */ + public function setUrl($url) + { + $this->url = $url; + + return $this; + } + + /** + * Get url + * + * @return string + */ + public function getUrl() + { + return $this->url; + } + + /** + * Set isRead + * + * @param string $isRead + * @return Entries + */ + public function setIsRead($isRead) + { + $this->isRead = $isRead; + + return $this; + } + + /** + * Get isRead + * + * @return string + */ + public function getIsRead() + { + return $this->isRead; + } + + /** + * Set isFav + * + * @param string $isFav + * @return Entries + */ + public function setIsFav($isFav) + { + $this->isFav = $isFav; + + return $this; + } + + /** + * Get isFav + * + * @return string + */ + public function getIsFav() + { + return $this->isFav; + } + + /** + * Set content + * + * @param string $content + * @return Entries + */ + public function setContent($content) + { + $this->content = $content; + + return $this; + } + + /** + * Get content + * + * @return string + */ + public function getContent() + { + return $this->content; + } + + /** + * Set userId + * + * @param string $userId + * @return Entries + */ + public function setUserId($userId) + { + $this->userId = $userId; + + return $this; + } + + /** + * Get userId + * + * @return string + */ + public function getUserId() + { + return $this->userId; + } +} diff --git a/src/WallabagBundle/Entity/Entries.php~ b/src/WallabagBundle/Entity/Entries.php~ new file mode 100644 index 00000000..69c6be0d --- /dev/null +++ b/src/WallabagBundle/Entity/Entries.php~ @@ -0,0 +1,215 @@ +id; + } + + /** + * Set title + * + * @param string $title + * @return Entries + */ + public function setTitle($title) + { + $this->title = $title; + + return $this; + } + + /** + * Get title + * + * @return string + */ + public function getTitle() + { + return $this->title; + } + + /** + * Set url + * + * @param string $url + * @return Entries + */ + public function setUrl($url) + { + $this->url = $url; + + return $this; + } + + /** + * Get url + * + * @return string + */ + public function getUrl() + { + return $this->url; + } + + /** + * Set isRead + * + * @param string $isRead + * @return Entries + */ + public function setIsRead($isRead) + { + $this->isRead = $isRead; + + return $this; + } + + /** + * Get isRead + * + * @return string + */ + public function getIsRead() + { + return $this->isRead; + } + + /** + * Set isFav + * + * @param string $isFav + * @return Entries + */ + public function setIsFav($isFav) + { + $this->isFav = $isFav; + + return $this; + } + + /** + * Get isFav + * + * @return string + */ + public function getIsFav() + { + return $this->isFav; + } + + /** + * Set content + * + * @param string $content + * @return Entries + */ + public function setContent($content) + { + $this->content = $content; + + return $this; + } + + /** + * Get content + * + * @return string + */ + public function getContent() + { + return $this->content; + } + + /** + * Set userId + * + * @param string $userId + * @return Entries + */ + public function setUserId($userId) + { + $this->userId = $userId; + + return $this; + } + + /** + * Get userId + * + * @return string + */ + public function getUserId() + { + return $this->userId; + } +} diff --git a/src/WallabagBundle/Entity/Entry.php~ b/src/WallabagBundle/Entity/Entry.php~ new file mode 100644 index 00000000..ebcdf53a --- /dev/null +++ b/src/WallabagBundle/Entity/Entry.php~ @@ -0,0 +1,74 @@ +id; + } + + /** + * Set value + * + * @param string $value + * @return Tags + */ + public function setValue($value) + { + $this->value = $value; + + return $this; + } + + /** + * Get value + * + * @return string + */ + public function getValue() + { + return $this->value; + } +} diff --git a/src/WallabagBundle/Entity/Tags.php~ b/src/WallabagBundle/Entity/Tags.php~ new file mode 100644 index 00000000..c0c78ee5 --- /dev/null +++ b/src/WallabagBundle/Entity/Tags.php~ @@ -0,0 +1,65 @@ +id; + } + + /** + * Set value + * + * @param string $value + * @return Tags + */ + public function setValue($value) + { + $this->value = $value; + + return $this; + } + + /** + * Get value + * + * @return string + */ + public function getValue() + { + return $this->value; + } +} diff --git a/src/WallabagBundle/Entity/TagsEntries.php b/src/WallabagBundle/Entity/TagsEntries.php new file mode 100644 index 00000000..448c54fa --- /dev/null +++ b/src/WallabagBundle/Entity/TagsEntries.php @@ -0,0 +1,95 @@ +id; + } + + /** + * Set entryId + * + * @param integer $entryId + * @return TagsEntries + */ + public function setEntryId($entryId) + { + $this->entryId = $entryId; + + return $this; + } + + /** + * Get entryId + * + * @return integer + */ + public function getEntryId() + { + return $this->entryId; + } + + /** + * Set tagId + * + * @param integer $tagId + * @return TagsEntries + */ + public function setTagId($tagId) + { + $this->tagId = $tagId; + + return $this; + } + + /** + * Get tagId + * + * @return integer + */ + public function getTagId() + { + return $this->tagId; + } +} diff --git a/src/WallabagBundle/Entity/TagsEntries.php~ b/src/WallabagBundle/Entity/TagsEntries.php~ new file mode 100644 index 00000000..448c54fa --- /dev/null +++ b/src/WallabagBundle/Entity/TagsEntries.php~ @@ -0,0 +1,95 @@ +id; + } + + /** + * Set entryId + * + * @param integer $entryId + * @return TagsEntries + */ + public function setEntryId($entryId) + { + $this->entryId = $entryId; + + return $this; + } + + /** + * Get entryId + * + * @return integer + */ + public function getEntryId() + { + return $this->entryId; + } + + /** + * Set tagId + * + * @param integer $tagId + * @return TagsEntries + */ + public function setTagId($tagId) + { + $this->tagId = $tagId; + + return $this; + } + + /** + * Get tagId + * + * @return integer + */ + public function getTagId() + { + return $this->tagId; + } +} diff --git a/src/WallabagBundle/Entity/Users.php b/src/WallabagBundle/Entity/Users.php new file mode 100644 index 00000000..a48f2240 --- /dev/null +++ b/src/WallabagBundle/Entity/Users.php @@ -0,0 +1,155 @@ +id; + } + + /** + * Set username + * + * @param string $username + * @return Users + */ + public function setUsername($username) + { + $this->username = $username; + + return $this; + } + + /** + * Get username + * + * @return string + */ + public function getUsername() + { + return $this->username; + } + + /** + * Set password + * + * @param string $password + * @return Users + */ + public function setPassword($password) + { + $this->password = $password; + + return $this; + } + + /** + * Get password + * + * @return string + */ + public function getPassword() + { + return $this->password; + } + + /** + * Set name + * + * @param string $name + * @return Users + */ + public function setName($name) + { + $this->name = $name; + + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Set email + * + * @param string $email + * @return Users + */ + public function setEmail($email) + { + $this->email = $email; + + return $this; + } + + /** + * Get email + * + * @return string + */ + public function getEmail() + { + return $this->email; + } +} diff --git a/src/WallabagBundle/Entity/Users.php~ b/src/WallabagBundle/Entity/Users.php~ new file mode 100644 index 00000000..a48f2240 --- /dev/null +++ b/src/WallabagBundle/Entity/Users.php~ @@ -0,0 +1,155 @@ +id; + } + + /** + * Set username + * + * @param string $username + * @return Users + */ + public function setUsername($username) + { + $this->username = $username; + + return $this; + } + + /** + * Get username + * + * @return string + */ + public function getUsername() + { + return $this->username; + } + + /** + * Set password + * + * @param string $password + * @return Users + */ + public function setPassword($password) + { + $this->password = $password; + + return $this; + } + + /** + * Get password + * + * @return string + */ + public function getPassword() + { + return $this->password; + } + + /** + * Set name + * + * @param string $name + * @return Users + */ + public function setName($name) + { + $this->name = $name; + + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Set email + * + * @param string $email + * @return Users + */ + public function setEmail($email) + { + $this->email = $email; + + return $this; + } + + /** + * Get email + * + * @return string + */ + public function getEmail() + { + return $this->email; + } +} diff --git a/src/WallabagBundle/Entity/UsersConfig.php b/src/WallabagBundle/Entity/UsersConfig.php new file mode 100644 index 00000000..8af283cc --- /dev/null +++ b/src/WallabagBundle/Entity/UsersConfig.php @@ -0,0 +1,125 @@ +id; + } + + /** + * Set userId + * + * @param string $userId + * @return UsersConfig + */ + public function setUserId($userId) + { + $this->userId = $userId; + + return $this; + } + + /** + * Get userId + * + * @return string + */ + public function getUserId() + { + return $this->userId; + } + + /** + * Set name + * + * @param string $name + * @return UsersConfig + */ + public function setName($name) + { + $this->name = $name; + + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Set value + * + * @param string $value + * @return UsersConfig + */ + public function setValue($value) + { + $this->value = $value; + + return $this; + } + + /** + * Get value + * + * @return string + */ + public function getValue() + { + return $this->value; + } +} diff --git a/src/WallabagBundle/Entity/UsersConfig.php~ b/src/WallabagBundle/Entity/UsersConfig.php~ new file mode 100644 index 00000000..8af283cc --- /dev/null +++ b/src/WallabagBundle/Entity/UsersConfig.php~ @@ -0,0 +1,125 @@ +id; + } + + /** + * Set userId + * + * @param string $userId + * @return UsersConfig + */ + public function setUserId($userId) + { + $this->userId = $userId; + + return $this; + } + + /** + * Get userId + * + * @return string + */ + public function getUserId() + { + return $this->userId; + } + + /** + * Set name + * + * @param string $name + * @return UsersConfig + */ + public function setName($name) + { + $this->name = $name; + + return $this; + } + + /** + * Get name + * + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Set value + * + * @param string $value + * @return UsersConfig + */ + public function setValue($value) + { + $this->value = $value; + + return $this; + } + + /** + * Get value + * + * @return string + */ + public function getValue() + { + return $this->value; + } +} -- cgit v1.2.3