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