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.
GO/app/model/brokerCollectCar.go

17 lines
289 B

package model
import (
"gorm.io/gorm"
"time"
)
type BrokerCollectCar struct {
Id uint `gorm:"primaryKey"`
BrokerId uint // 经纪人id
CarId uint // 车辆id
Car Car `gorm:"foreignKey:CarId"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt
}