fix: update models and views
This commit is contained in:
18
app/Models/SystemUser.php
Executable file
18
app/Models/SystemUser.php
Executable file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class SystemUser extends Model
|
||||
{
|
||||
// use LogsActivity;
|
||||
//use CausesActivity;
|
||||
protected $guarded = array('id');
|
||||
public $table = "auth_users";
|
||||
// protected static $logUnguarded = true;
|
||||
|
||||
public function designation_info(){
|
||||
return $this->hasOne('App\Models\Designation', 'id', 'designation');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user