示例#1
0
 public function getFriend()
 {
     return $this->hasOne(Friend::className(), ['cube_id' => 'id'])->from(Friend::tableName() . ' friend');
 }