예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCuentas()
 {
     return $this->hasMany(Cuentas::className(), ['id_tercero' => 'id_tercero']);
 }
예제 #2
0
파일: Empresa.php 프로젝트: jmcaro/sigerapp
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCuentas()
 {
     return $this->hasMany(Cuentas::className(), ['id_empresa' => 'id_empresa']);
 }