2018-10-15 23:40:34 +11:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
2018-10-16 22:42:43 +11:00
|
|
|
/**
|
|
|
|
|
* Class PaymentLibrary.
|
|
|
|
|
*/
|
2018-11-02 21:54:46 +11:00
|
|
|
class PaymentLibrary extends BaseModel
|
2018-10-15 23:40:34 +11:00
|
|
|
{
|
2018-10-16 22:42:43 +11:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
|
|
|
|
*/
|
|
|
|
|
public function gateways()
|
|
|
|
|
{
|
|
|
|
|
return $this->hasMany(Gateway::class, 'payment_library_id');
|
|
|
|
|
}
|
2018-10-15 23:40:34 +11:00
|
|
|
}
|