mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
任务,通知功能完成
This commit is contained in:
@@ -11,7 +11,7 @@ type SysMenu struct {
|
||||
Icon string `json:"icon" gorm:"type:varchar(128);"`
|
||||
Path string `json:"path" gorm:"type:varchar(128);"`
|
||||
Component string `json:"component" gorm:"type:varchar(255);"` // 组件路径
|
||||
IsFrame string `json:"isFrame" gorm:"type:varchar(1);"` //是否为外链
|
||||
IsIframe string `json:"isIframe" gorm:"type:varchar(1);"` //是否为内嵌
|
||||
IsLink string `json:"isLink" gorm:"type:varchar(11);"` //是否超链接菜单
|
||||
MenuType string `json:"menuType" gorm:"type:varchar(1);"` //菜单类型(M目录 C菜单 F按钮)
|
||||
IsHide string `json:"isHide" gorm:"type:varchar(1);"` //显示状态(0显示 1隐藏)
|
||||
|
||||
@@ -6,8 +6,9 @@ type SysNotice struct {
|
||||
NoticeId int64 `json:"noticeId" gorm:"primary_key;AUTO_INCREMENT"`
|
||||
Title string `json:"title" gorm:"type:varchar(128);comment:标题"`
|
||||
Content string `json:"content" gorm:"type:text;comment:标题"`
|
||||
NoticeType string `json:"notice_type" gorm:"type:varchar(1);comment:通知类型"`
|
||||
NoticeType string `json:"noticeType" gorm:"type:varchar(1);comment:通知类型"`
|
||||
DeptId int64 `json:"deptId" gorm:"type:int(11);comment:部门Id,部门及子部门"`
|
||||
UserName string `json:"userName" gorm:"type:varchar(64);comment:发布人"`
|
||||
|
||||
DeptIds []int64 `json:"deptIds" gorm:"-"`
|
||||
model.BaseModel
|
||||
|
||||
Reference in New Issue
Block a user