edms/app/RemoteContactApi.php

16 lines
349 B
PHP
Raw Permalink Normal View History

2022-06-06 05:07:54 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class RemoteContactApi extends Model
{
protected $fillable = ['remote_contact_id', 'connection_string', 'connection_method', 'mandatory_fields', 'type'];
public function remotecontact()
{
return $this->belongsTo(RemoteContact::class, 'remote_contact_id');
}
}