예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getParcelaIdparcela()
 {
     return $this->hasOne(Parcela::className(), ['idparcela' => 'parcela_idparcela']);
 }
예제 #2
0
파일: Venda.php 프로젝트: alissoncti/sgo
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getParcelas()
 {
     return $this->hasMany(Parcela::className(), ['venda_idvenda' => 'idvenda']);
 }
예제 #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getParcelas()
 {
     return $this->hasMany(Parcela::className(), ['forma_pagamento_id' => 'idforma_pagamento']);
 }