예제 #1
0
파일: Post.php 프로젝트: shuangjie/galaxy
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStation()
 {
     return $this->hasOne(Station::className(), ['id' => 'station_id']);
 }