Added Website Setting Page

This commit is contained in:
Gitea
2025-04-23 02:44:47 +05:30
parent 59a2c07d81
commit 65f6df64aa
4 changed files with 266 additions and 0 deletions

33
app/Models/Setting.php Normal file
View 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'
];
}