From e58809745c1a2b1fbd1468fb3d7b9ee471d24f2a Mon Sep 17 00:00:00 2001 From: "louis.guichard-montguers" Date: Wed, 23 Oct 2024 16:32:39 +0200 Subject: [PATCH] add 1 new entity --- src/Entity/favoriteEntity.php | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/Entity/favoriteEntity.php diff --git a/src/Entity/favoriteEntity.php b/src/Entity/favoriteEntity.php new file mode 100644 index 0000000..2e4a5c6 --- /dev/null +++ b/src/Entity/favoriteEntity.php @@ -0,0 +1,54 @@ +id_user = $id_user; + $this->id_quote = $id_quote; + } + + /** + * @return int + */ + public function getIdUser(): int + { + return $this->id_user; + } + + /** + * @param int $id_user + */ + public function setIdUser(int $id_user): void + { + $this->id_user = $id_user; + } + + /** + * @return int + */ + public function getIdQuote(): int + { + return $this->id_quote; + } + + /** + * @param int $id_quote + */ + public function setIdQuote(int $id_quote): void + { + $this->id_quote = $id_quote; + } + + + +} \ No newline at end of file