Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCellar()
 {
     return $this->hasOne(Cellars::className(), ['id' => 'cellar_id']);
 }