24 lines
440 B
PHP
24 lines
440 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Casts\Attribute;
|
|
|
|
class SrgssrSettings extends Model
|
|
{
|
|
use HasFactory;
|
|
protected $table = 'srgssr_settings';
|
|
protected $fillable = ['api', 'settings'];
|
|
|
|
protected function casts(): array
|
|
{
|
|
return [
|
|
'settings' => 'array',
|
|
];
|
|
}
|
|
|
|
|
|
}
|