This commit is contained in:
2025-06-07 14:54:16 +02:00
parent 6136ffa5f6
commit 45c08b6ba9
3 changed files with 25 additions and 2 deletions

View File

@@ -9,4 +9,8 @@ class Mangas extends Model
{
/** @use HasFactory<\Database\Factories\MangasFactory> */
use HasFactory;
public function genre() {
return $this->belongsTo(Genres::class, "genre_id");
}
}