public function getMapedUsers() { return $this->hasMany(UserGroup::className(), ['groupId' => 'Id']); }
public function getUsersGroup() { return $this->usergroupsDP = new ActiveDataProvider(['query' => UserGroup::find()->where(['userId' => $this->Id])]); }