fix: update models and views
This commit is contained in:
15
app/Models/NetworkOps.php
Executable file
15
app/Models/NetworkOps.php
Executable file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class NetworkOps extends Model
|
||||
{
|
||||
protected $guarded = array('id');
|
||||
public $table = "network_operators";
|
||||
|
||||
public function account_manager_info(){
|
||||
return $this->hasOne('App\Models\StaffMember', 'id', 'account_manager_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user