new commit
This commit is contained in:
@@ -168,6 +168,11 @@ class Admin extends Authenticatable
|
||||
return $this->belongsTo(Rayon::class, 'rayon_id');
|
||||
}
|
||||
|
||||
public function rayon()
|
||||
{
|
||||
return $this->belongsTo(Rayon::class, 'rayon_id');
|
||||
}
|
||||
|
||||
public function getRegion()
|
||||
{
|
||||
return $this->belongsTo(Region::class, 'region_id');
|
||||
|
||||
Reference in New Issue
Block a user