first commit, after modifying client section
This commit is contained in:
14
app/Models/SystemUser.php
Executable file
14
app/Models/SystemUser.php
Executable file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class SystemUser extends Model
|
||||
{
|
||||
protected $guarded = array('id');
|
||||
public $table = "auth_users";
|
||||
public function designation_info(){
|
||||
return $this->hasOne('App\Models\Designation', 'id', 'designation');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user