/** * @return \yii\db\ActiveQuery */ public function getIdPayment0() { return $this->hasOne(PaymentModel::className(), ['id' => 'idPayment']); }