From 828ba828b2f5aaffa45e6431348dc68f6cef39ee Mon Sep 17 00:00:00 2001 From: "R. Eric Wheeler" Date: Sun, 23 Apr 2017 12:03:54 -0700 Subject: [PATCH] Image Entities --- .../DoughnutWeddingBundle/Entity/Image.php | 128 ++++++++++ .../Entity/ImageCategory.php | 128 ++++++++++ .../Entity/ImageComment.php | 221 ++++++++++++++++++ .../DoughnutWeddingBundle/Entity/ImageTag.php | 128 ++++++++++ .../Repository/ImageCategoryRepository.php | 13 ++ .../Repository/ImageCommentRepository.php | 13 ++ .../Repository/ImageRepository.php | 13 ++ .../Repository/ImageTagRepository.php | 13 ++ 8 files changed, 657 insertions(+) create mode 100644 src/Sikofitt/DoughnutWeddingBundle/Entity/Image.php create mode 100644 src/Sikofitt/DoughnutWeddingBundle/Entity/ImageCategory.php create mode 100644 src/Sikofitt/DoughnutWeddingBundle/Entity/ImageComment.php create mode 100644 src/Sikofitt/DoughnutWeddingBundle/Entity/ImageTag.php create mode 100644 src/Sikofitt/DoughnutWeddingBundle/Repository/ImageCategoryRepository.php create mode 100644 src/Sikofitt/DoughnutWeddingBundle/Repository/ImageCommentRepository.php create mode 100644 src/Sikofitt/DoughnutWeddingBundle/Repository/ImageRepository.php create mode 100644 src/Sikofitt/DoughnutWeddingBundle/Repository/ImageTagRepository.php diff --git a/src/Sikofitt/DoughnutWeddingBundle/Entity/Image.php b/src/Sikofitt/DoughnutWeddingBundle/Entity/Image.php new file mode 100644 index 0000000..871c588 --- /dev/null +++ b/src/Sikofitt/DoughnutWeddingBundle/Entity/Image.php @@ -0,0 +1,128 @@ +id; + } + + /** + * Set imageFile + * + * @param string $imageFile + * + * @return Image + */ + public function setImageFile($imageFile) + { + $this->imageFile = $imageFile; + + return $this; + } + + /** + * Get imageFile + * + * @return string + */ + public function getImageFile() + { + return $this->imageFile; + } + + /** + * Set imageName + * + * @param string $imageName + * + * @return Image + */ + public function setImageName($imageName) + { + $this->imageName = $imageName; + + return $this; + } + + /** + * Get imageName + * + * @return string + */ + public function getImageName() + { + return $this->imageName; + } + + /** + * Set user + * + * @param integer $user + * + * @return Image + */ + public function setUser($user) + { + $this->user = $user; + + return $this; + } + + /** + * Get user + * + * @return int + */ + public function getUser() + { + return $this->user; + } +} + diff --git a/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageCategory.php b/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageCategory.php new file mode 100644 index 0000000..ec49909 --- /dev/null +++ b/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageCategory.php @@ -0,0 +1,128 @@ +id; + } + + /** + * Set categoryName + * + * @param string $categoryName + * + * @return ImageCategory + */ + public function setCategoryName($categoryName) + { + $this->categoryName = $categoryName; + + return $this; + } + + /** + * Get categoryName + * + * @return string + */ + public function getCategoryName() + { + return $this->categoryName; + } + + /** + * Set machineName + * + * @param string $machineName + * + * @return ImageCategory + */ + public function setMachineName($machineName) + { + $this->machineName = $machineName; + + return $this; + } + + /** + * Get machineName + * + * @return string + */ + public function getMachineName() + { + return $this->machineName; + } + + /** + * Set image + * + * @param integer $image + * + * @return ImageCategory + */ + public function setImage($image) + { + $this->image = $image; + + return $this; + } + + /** + * Get image + * + * @return int + */ + public function getImage() + { + return $this->image; + } +} + diff --git a/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageComment.php b/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageComment.php new file mode 100644 index 0000000..5692828 --- /dev/null +++ b/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageComment.php @@ -0,0 +1,221 @@ +id; + } + + /** + * Set user + * + * @param integer $user + * + * @return ImageComment + */ + public function setUser($user) + { + $this->user = $user; + + return $this; + } + + /** + * Get user + * + * @return int + */ + public function getUser() + { + return $this->user; + } + + /** + * Set comment + * + * @param string $comment + * + * @return ImageComment + */ + public function setComment($comment) + { + $this->comment = $comment; + + return $this; + } + + /** + * Get comment + * + * @return string + */ + public function getComment() + { + return $this->comment; + } + + /** + * Set childComments + * + * @param integer $childComments + * + * @return ImageComment + */ + public function setChildComments($childComments) + { + $this->childComments = $childComments; + + return $this; + } + + /** + * Get childComments + * + * @return int + */ + public function getChildComments() + { + return $this->childComments; + } + + /** + * Set created + * + * @param \DateTime $created + * + * @return ImageComment + */ + public function setCreated($created) + { + $this->created = $created; + + return $this; + } + + /** + * Get created + * + * @return \DateTime + */ + public function getCreated() + { + return $this->created; + } + + /** + * Set image + * + * @param integer $image + * + * @return ImageComment + */ + public function setImage($image) + { + $this->image = $image; + + return $this; + } + + /** + * Get image + * + * @return int + */ + public function getImage() + { + return $this->image; + } + + /** + * Set isChild + * + * @param boolean $isChild + * + * @return ImageComment + */ + public function setIsChild($isChild) + { + $this->isChild = $isChild; + + return $this; + } + + /** + * Get isChild + * + * @return bool + */ + public function getIsChild() + { + return $this->isChild; + } +} + diff --git a/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageTag.php b/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageTag.php new file mode 100644 index 0000000..bda5943 --- /dev/null +++ b/src/Sikofitt/DoughnutWeddingBundle/Entity/ImageTag.php @@ -0,0 +1,128 @@ +id; + } + + /** + * Set tagName + * + * @param string $tagName + * + * @return ImageTag + */ + public function setTagName($tagName) + { + $this->tagName = $tagName; + + return $this; + } + + /** + * Get tagName + * + * @return string + */ + public function getTagName() + { + return $this->tagName; + } + + /** + * Set machineName + * + * @param string $machineName + * + * @return ImageTag + */ + public function setMachineName($machineName) + { + $this->machineName = $machineName; + + return $this; + } + + /** + * Get machineName + * + * @return string + */ + public function getMachineName() + { + return $this->machineName; + } + + /** + * Set image + * + * @param integer $image + * + * @return ImageTag + */ + public function setImage($image) + { + $this->image = $image; + + return $this; + } + + /** + * Get image + * + * @return int + */ + public function getImage() + { + return $this->image; + } +} + diff --git a/src/Sikofitt/DoughnutWeddingBundle/Repository/ImageCategoryRepository.php b/src/Sikofitt/DoughnutWeddingBundle/Repository/ImageCategoryRepository.php new file mode 100644 index 0000000..6425cd2 --- /dev/null +++ b/src/Sikofitt/DoughnutWeddingBundle/Repository/ImageCategoryRepository.php @@ -0,0 +1,13 @@ +