first commit

This commit is contained in:
2025-09-13 17:39:17 +03:00
commit e650f3c1b2
73 changed files with 14164 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
protected $fillable = [
'name',
'slug',
'description',
];
/**
* Get the books for the category.
*/
public function books()
{
return $this->hasMany(Book::class);
}
}