Files
law-api/app/Models/GoldCurrency.php
2026-08-15 21:15:32 +03:30

30 lines
547 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class GoldCurrency extends Model
{
use HasFactory;
protected $fillable = [
'name',
'name_en',
'price',
'change_percent',
'change_value',
'symbol',
'unit',
'time_unix',
];
protected $casts = [
'price' => 'integer',
'change_percent' => 'float',
'change_value' => 'integer',
'time_unix' => 'integer',
];
}