Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAds()
 {
     return $this->hasMany(Ad::className(), ['adpos_id' => 'adpos_id']);
 }