Files
hstream/app/Models/Studios.php
2026-04-18 14:18:52 +02:00

31 lines
540 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
class Studios extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var string[]
*/
protected $fillable = [
'name',
'slug',
];
/**
* Get the tags for the Hentai.
*/
public function hentais(): HasMany
{
return $this->hasMany(Hentai::class);
}
}