All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s
38 lines
682 B
PHP
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();
|
|
}
|
|
}
|