// Models generated by mesh dev cli,@Author: David Yan(david.yan@qq.com). package models import ( "git.apinb.com/bsm-sdk/core/types" ) type RelationFollow struct { types.Std_IICUDS FromIdentity string `gorm:"column:from_identity;type:varchar(36);not null;" json:"from_identity"` // 关注者 ToIdentity string `gorm:"column:to_identity;type:varchar(255);not null;" json:"to_identity"` // 关注对象` } // TableName . func (table *RelationFollow) TableName() string { return "relation_follow" //对应数据库表名 }