public function invites() { return $this->hasMany(Config::get('teamwork.invite_model'), 'team_id', 'id'); }