modified assests
This commit is contained in:
@@ -18,10 +18,10 @@ class Role extends BaseModel
|
||||
parent::boot();
|
||||
}
|
||||
|
||||
protected $fillable = ['name_en', 'lab_id'];
|
||||
protected $fillable = ['name_en', 'organization_id'];
|
||||
|
||||
public function lab(){
|
||||
return $this->belongsTo(Laboratory::class, 'lab_id');
|
||||
return $this->belongsTo(Organization::class, 'organization_id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user