From 20e394e9f27aab0cb522f84f3d636b279ecb863e Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 14 Jun 2023 22:52:00 +0100 Subject: Move classes to models folder --- app/Models/Bookmark.php | 29 +++++++++++++++++++++++++++++ app/Models/BookmarkCategory.php | 22 ++++++++++++++++++++++ app/Models/Project.php | 36 ++++++++++++++++++++++++++++++++++++ app/Models/ProjectCategory.php | 22 ++++++++++++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 app/Models/Bookmark.php create mode 100644 app/Models/BookmarkCategory.php create mode 100644 app/Models/Project.php create mode 100644 app/Models/ProjectCategory.php (limited to 'app/Models') diff --git a/app/Models/Bookmark.php b/app/Models/Bookmark.php new file mode 100644 index 0000000..f679205 --- /dev/null +++ b/app/Models/Bookmark.php @@ -0,0 +1,29 @@ +name = $name; + $this->url = $url; + $this->description = $description; + } +} diff --git a/app/Models/BookmarkCategory.php b/app/Models/BookmarkCategory.php new file mode 100644 index 0000000..0f2335d --- /dev/null +++ b/app/Models/BookmarkCategory.php @@ -0,0 +1,22 @@ +name = $name; + $this->bookmarks = $bookmarks; + } +} diff --git a/app/Models/Project.php b/app/Models/Project.php new file mode 100644 index 0000000..0b90828 --- /dev/null +++ b/app/Models/Project.php @@ -0,0 +1,36 @@ +name = $name; + $this->description = $description; + $this->url = $url; + $this->languages = $languages; + } +} diff --git a/app/Models/ProjectCategory.php b/app/Models/ProjectCategory.php new file mode 100644 index 0000000..babe265 --- /dev/null +++ b/app/Models/ProjectCategory.php @@ -0,0 +1,22 @@ +name = $name; + $this->projects = $projects; + } +} -- cgit v1.2.3-54-g00ecf