Exemplo n.º 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCompanyBill()
 {
     return $this->hasOne(EeCompanyBills::className(), ['id' => 'company_bill_id']);
 }
Exemplo n.º 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEeCompanyBills0()
 {
     return $this->hasMany(EeCompanyBills::className(), ['vendor_c_id' => 'c_id']);
 }