public function Users() { return $this->belongsToMany(User::getClass())->withPivot('status'); }
public function userSchool($id) { return $this->belongsToMany(User::getClass(), 'school_user')->wherePivot('user_id', $id); }
public function users() { return $this->belongsTo(User::getClass()); }