staff members,senderid, documents,bug fixes, etc
This commit is contained in:
19
app/Models/Mnonote.php
Normal file
19
app/Models/Mnonote.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Mnonote extends Model
|
||||
{
|
||||
protected $guarded = array('id');
|
||||
public $table = "mno_notes";
|
||||
|
||||
public function mno_info(){
|
||||
return $this->hasOne('App\Models\NetworkOps', 'id', 'mno_id');
|
||||
}
|
||||
|
||||
public function created_by_info(){
|
||||
return $this->hasOne('App\Models\SystemUser', 'id', 'user_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user