generated from Logisim-Evolution/Laravel-Docker
Etape 7
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user