Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAffiliates()
 {
     return $this->hasMany(Affiliates::className(), ['CustomerId' => 'CustomerId']);
 }