Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getRecibes()
 {
     return $this->hasMany(Recibe::className(), ['codigoBono' => 'codigoBono']);
 }
Пример #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getRecibes()
 {
     return $this->hasMany(Recibe::className(), ['rutVendedor' => 'rutVendedor']);
 }