mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
update rate history module
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
|
||||
class CurrencyRateLog extends AbstractModel
|
||||
{
|
||||
protected $table = 'currency_rate_logs';
|
||||
|
||||
/**
|
||||
* @return BelongsTo
|
||||
*/
|
||||
public function currencyRate(): BelongsTo
|
||||
{
|
||||
return $this->BelongsTo(CurrencyRate::class, 'currency_rate_id', 'id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user