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,16 @@
package models
import "git.apinb.com/bsm-sdk/core/types"
// feed 关联附件表
type FeedRelateAttach struct {
types.Std_IDIdentity
Identity string `gorm:"column:identity;type:varchar(36);uniqueIndex;"`
PostIdentity string `gorm:"column:post_identity;type:varchar(36);index;" json:"post_identity"` // 推文唯一码
AttachType string `gorm:"column:attach_type;type:varchar(36);index;" json:"attach_type"` // 附件类型
Url string `gorm:"column:url;type:varchar(255);index;" json:"url"` // 附件地址
}
func (table *FeedRelateAttach) TableName() string {
return "feed_relate_attach"
}