示例#1
0
文件: TMenu.php 项目: tqsq2005/yga
 /**
  * 获取父菜单
  */
 public function getFather()
 {
     return $this->hasOne(TMenu::className(), ['id' => 'parentid']);
 }