mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
20 lines
363 B
PHP
20 lines
363 B
PHP
<?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');
|
|
}
|
|
|
|
}
|