new commit
This commit is contained in:
@@ -16,4 +16,9 @@ class Rayon extends Model
|
||||
{
|
||||
return $this->belongsTo('App\Models\Cabang');
|
||||
}
|
||||
|
||||
public function region()
|
||||
{
|
||||
return $this->belongsTo(\App\Models\Region::class, 'region_id', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user