/** * @return \yii\db\ActiveQuery */ public function getSysMenus() { return $this->hasMany(SysMenu::className(), ['type_ID' => 'ID']); }