ok
Direktori : /home2/selectio/www/limpiar.in.net/app/Models/ |
Current File : //home2/selectio/www/limpiar.in.net/app/Models/Staff.php |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Staff extends Model { public function user() { return $this->belongsTo(User::class); } public function role() { return $this->belongsTo(Role::class); } public function pick_up_point() { return $this->hasOne(PickupPoint::class); } }