package models

import (
	"git.apinb.com/bsm-sdk/core/types"
)

// FriendData 好友存在于那些标签
type FriendInTag struct {
	types.Std_IICUDS
	types.Std_Passport        //标签归属
	FriendIdentity     string `gorm:"column:friend_identity;type:varchar(36);not null;" json:"friend_identity"`
	TagIdentity        string `gorm:"column:tag_identity;type:varchar(36);not null;" json:"tag_identity"` //所属好友标签Identity
}

// TableName .
func (fd *FriendInTag) TableName() string {
	return "relation_friend_in_tag"
}
