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.

22 lines
475 B

package model
import (
"time"
)
const (
CustomerInviteTypeInvite = 1 // 看车
CustomerInviteTypeReserve = 2 // 检车
)
type CustomerInvite struct {
Id uint `gorm:"primaryKey"`
CustomerId uint // 客户id
Customer Customer `gorm:"foreignKey:CustomerId"`
BrokerId uint // 经纪人id
Type uint // 邀约类型 1=看车 2=检车
InviteAt time.Time // 预约时间
InviteId uint // 预约id
CreatedAt time.Time
}