Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEeCompanyInvoiceDetails()
 {
     return $this->hasMany(EeCompanyInvoiceDetails::className(), ['brand_id' => 'brand_id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getInvoiceDetail()
 {
     return $this->hasOne(EeCompanyInvoiceDetails::className(), ['id' => 'invoice_detail_id']);
 }