feat: import services and standardize Go 1.26.5
This commit is contained in:
15
apps/social/relation/internal/models/relation_match.go
Normal file
15
apps/social/relation/internal/models/relation_match.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package models
|
||||
|
||||
import "git.apinb.com/bsm-sdk/core/types"
|
||||
|
||||
// RelationMatch records a recommended relationship between two identities.
|
||||
type RelationMatch struct {
|
||||
types.Std_IICUDS
|
||||
RelationIdentity string `gorm:"column:relation_identity;type:varchar(36);not null;" json:"relation_identity"`
|
||||
RecommendIdentity string `gorm:"column:recommend_identity;type:varchar(255);not null;" json:"recommend_identity"`
|
||||
}
|
||||
|
||||
// TableName returns the backing relation table.
|
||||
func (*RelationMatch) TableName() string {
|
||||
return "relation_match"
|
||||
}
|
||||
Reference in New Issue
Block a user