2017-01-30 21:40:43 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
2016-09-15 13:41:09 +03:00
|
|
|
|
|
|
|
|
/**
|
2017-01-30 21:40:43 +02:00
|
|
|
* Class AccountGatewaySettings.
|
2016-09-15 13:41:09 +03:00
|
|
|
*/
|
|
|
|
|
class AccountGatewaySettings extends EntityModel
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $dates = ['updated_at'];
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var bool
|
|
|
|
|
*/
|
|
|
|
|
protected static $hasPublicId = false;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
|
|
|
|
*/
|
|
|
|
|
public function gatewayType()
|
|
|
|
|
{
|
|
|
|
|
return $this->belongsTo('App\Models\GatewayType');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function setCreatedAtAttribute($value)
|
|
|
|
|
{
|
|
|
|
|
// to Disable created_at
|
|
|
|
|
}
|
|
|
|
|
}
|