belongsTo('App\Models\Grade','grade_id','id'); } public function head(){ return $this->belongsTo('App\Models\PayrollHead','head_id','id'); } }