NASER add setting controller & dynamic fee in settings & add send transactions to tahesab in settings

This commit is contained in:
2026-02-09 14:09:19 +03:30
parent cfb5b17ab7
commit 875c1b09b2
7 changed files with 88 additions and 20 deletions
+9 -3
View File
@@ -4,18 +4,24 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Support\Facades\Hash;
use Rooyesh\Wallet\models\Transaction;
use Tymon\JWTAuth\Contracts\JWTSubject;
class Setting extends Model
{
use HasFactory;
protected $table = 'settings';
use HasFactory,Selector;
protected $fillable = [
'key',
'title_fa',
'is_active',
'description',
'value',
'value_json'
];
protected $casts = [
'value_json'=>'array'
'value_json'=>'array',
'is_active'=>'boolean',
];
}