Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAuctionPreferences()
 {
     return $this->hasOne(AuctionPreference::className(), ['auction' => 'id']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAuctionPreferences()
 {
     return $this->hasMany(AuctionPreference::className(), ['brand' => 'id']);
 }