Files
exchange-2.0/app/Models/CurrencyRate.php

27 lines
489 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
class CurrencyRate extends AbstractModel
{
use SoftDeletes;
protected $table = 'currency_rates';
protected $fillable = ['currency_id', 'selling', 'payment_method_type'];
/**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'deleted_at' => 'datetime',
];
}
}