Rates, Build
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s

This commit is contained in:
2023-12-04 20:04:46 +01:00
parent aff90ceb86
commit 148a010f4d
8 changed files with 99 additions and 18 deletions

View File

@@ -1,3 +1,4 @@
<?php
namespace App\Models;

View File

@@ -0,0 +1,37 @@
<?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();
}
}