feat: add settings model

This commit is contained in:
2026-08-17 07:50:21 +03:30
parent a2f1b04c97
commit cecb00fbb6
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property string $code
* @property string $value
* @property string $created_at
* @property string $updated_at
*/
class Setting extends Model
{
protected $table = 'settings';
protected $fillable = [
'code',
'value',
];
protected $casts = [
'created_at' => 'datetime',
'updated_at' => 'datetime',
];
}