You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
343 B

package model
import (
"time"
)
type BrokerClosely struct {
Id uint `gorm:"primaryKey"` // 主键
BrokerId uint // 经纪人id
Broker Broker `gorm:"foreignKey:BrokerId"`
CloselyBrokerId uint // 常用联系人id
CloselyBroker Broker `gorm:"foreignKey:CloselyBrokerId"`
CreatedAt time.Time
}