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"
}
