Files
ikea/app/Models/CurrencyRates.php
Jaroslav Drzik 148a010f4d
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s
Rates, Build
2023-12-04 20:04:46 +01:00

38 lines
682 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class CurrencyRates extends Model
{
use HasFactory;
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'v_currency';
/**
* The primary key associated with the table.
*
* @var string
*/
protected $primaryKey = 'currency';
/**
* Indicates if the model's ID is auto-incrementing.
*
* @var bool
*/
public $incrementing = false;
use HasFactory;
protected function actual(String $status)
{
return $this->get();
}
}