From 710f54c0156c5fa081bc6af1a68e7cb44723939b Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 24 Jan 2022 19:34:26 +0100 Subject: add example in laravel --- Year_3/TSDWL/LARAVEL/iBook/app/Models/Book.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Year_3/TSDWL/LARAVEL/iBook/app/Models/Book.php (limited to 'Year_3/TSDWL/LARAVEL/iBook/app/Models/Book.php') diff --git a/Year_3/TSDWL/LARAVEL/iBook/app/Models/Book.php b/Year_3/TSDWL/LARAVEL/iBook/app/Models/Book.php new file mode 100644 index 0000000..98c4ac2 --- /dev/null +++ b/Year_3/TSDWL/LARAVEL/iBook/app/Models/Book.php @@ -0,0 +1,18 @@ +belongsTo(Author::class); + } +} -- cgit v1.2.3-18-g5258