示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAppcomments()
 {
     return $this->hasMany(Appcomments::className(), ['userid' => 'id']);
 }