/** * @return \yii\db\ActiveQuery */ public function getSecSers() { return $this->hasMany(SecSer::className(), ['ser' => 'id']); }