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/customerCollectCar.go

17 lines
295 B

package model
import (
"gorm.io/gorm"
"time"
)
type CustomerCollectCar struct {
Id uint `gorm:"primaryKey"`
CustomerId uint // 客户id
CarId uint // 车辆id
Car Car `gorm:"foreignKey:CarId"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt
}