예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getSite()
 {
     return $this->hasOne(Site::className(), ['id' => 'site_id']);
 }