Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCompanyBill()
 {
     return $this->hasOne(EeCompanyBills::className(), ['id' => 'company_bill_id']);
 }
Пример #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEeCompanyBills0()
 {
     return $this->hasMany(EeCompanyBills::className(), ['vendor_c_id' => 'c_id']);
 }