Skip to content

Commit 573ae68

Browse files
author
piexlmax
committed
增加角色按钮数据库备注
1 parent 3662c22 commit 573ae68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package system
22

33
type SysAuthorityBtn struct {
4-
AuthorityId string
5-
SysMenuID uint
6-
SysBaseMenuBtnID uint
7-
SysBaseMenuBtn SysBaseMenuBtn
4+
AuthorityId string `gorm:"comment:角色ID"`
5+
SysMenuID uint `gorm:"comment:菜单ID"`
6+
SysBaseMenuBtnID uint `gorm:"comment:菜单按钮ID"`
7+
SysBaseMenuBtn SysBaseMenuBtn ` gorm:"comment:按钮详情"`
88
}

0 commit comments

Comments
 (0)