2026-01-24 14:03:11 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
2026-05-17 16:27:50 +00:00
|
|
|
use App\Http\Controllers\Controller;
|
2026-01-24 14:03:11 +00:00
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2026-03-10 15:39:30 +03:30
|
|
|
use Illuminate\Support\Facades\Http;
|
2026-01-24 14:03:11 +00:00
|
|
|
|
|
|
|
|
class Cnt extends Model
|
|
|
|
|
{
|
|
|
|
|
use HasFactory;
|
|
|
|
|
protected $table = 'const';
|
|
|
|
|
protected $fillable = [
|
|
|
|
|
'key',
|
|
|
|
|
'title_fa',
|
|
|
|
|
'value',
|
|
|
|
|
'value_json'
|
|
|
|
|
];
|
|
|
|
|
protected $casts = [
|
|
|
|
|
'value_json'=>'array'
|
|
|
|
|
];
|
|
|
|
|
}
|