refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,24 @@
package models
import (
"git.apinb.com/bsm-sdk/core/database"
"git.apinb.com/bsm-sdk/engine/types"
)
// 网址收藏夹模型
type CloudBookmark struct {
types.Std_IICUDS
types.Std_Passport
CloudBase
Title string `gorm:"size:200" json:"title"` // 标题
URL string `gorm:"size:500" json:"url"` // 网址
Description string `gorm:"size:500" json:"description"` // 描述
Category string `gorm:"size:50" json:"category"` // 分类
Tags string `gorm:"size:500" json:"tags"` // 标签
Icon string `gorm:"size:500" json:"icon"` // 网站图标URL
IsPrivate bool `gorm:"default:false" json:"is_private"` // 是否私有
}
func init() {
database.AppendMigrate(&CloudBookmark{})
}