Added Website Setting Page
This commit is contained in:
33
app/Models/Setting.php
Normal file
33
app/Models/Setting.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
class Setting extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'app_name',
|
||||
'app_version',
|
||||
'app_base_url',
|
||||
'app_title',
|
||||
'app_description',
|
||||
'app_keyword',
|
||||
'app_admin',
|
||||
'app_contact',
|
||||
'app_meta',
|
||||
'app_social',
|
||||
'app_header',
|
||||
'app_footer',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'app_meta' => 'json',
|
||||
'app_social' => 'json'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user