feat: 添加数据库资产、命令拦截器、授权资产等功能,修复GitHub Actions工作流
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
import "next-terminal/server/common"
|
||||
|
||||
type WebsiteGroup struct {
|
||||
ID string `gorm:"primary_key,type:varchar(36)" json:"id"`
|
||||
Name string `gorm:"type:varchar(200)" json:"name"`
|
||||
ParentId string `gorm:"type:varchar(36)" json:"parentId"`
|
||||
Sort int `json:"sort"`
|
||||
Created common.JsonTime `gorm:"type:datetime" json:"createdAt"`
|
||||
}
|
||||
|
||||
func (r *WebsiteGroup) TableName() string {
|
||||
return "website_groups"
|
||||
}
|
||||
Reference in New Issue
Block a user