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,21 @@
package models
import (
"git.apinb.com/bsm-sdk/core/types"
)
// FriendData 好友列表
type RelationFriend struct {
types.Std_IICUDS
types.Std_Passport
FriendrelationID uint `gorm:"column:friend_relation_id;not null;" json:"friend_relation_id"` //好友的会员唯一ID
FriendrelationIdentity string `gorm:"column:friend_relation_identity;not null;" json:"friend_relation_identity"` //好友的会员唯一标识
RemarkName string `gorm:"column:remark_name;type:varchar(255);default:'';" json:"remark_name"` //备注
Popular int `gorm:"column:popular;type:int2;default:0;" json:"popular"` //是否置顶,默认:否
SessionID string `gorm:"column:session_id;not null;" json:"session_id"` //与好友的会话ID
}
// TableName .
func (fd *RelationFriend) TableName() string {
return "relation_friend"
}