预约时间修正
This commit is contained in:
@@ -219,6 +219,7 @@ type ServiceCar struct {
|
||||
CreateTime time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP" json:"-"` //创建时间
|
||||
UpdateTime time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP" json:"-"` //更新时间
|
||||
ServiceAddr ServiceAddr `gorm:"-" json:"serviceAddr"` //当前服务区域
|
||||
CarStatus int `gorm:"not null"` //车辆状态 1在线 2下线
|
||||
}
|
||||
|
||||
// CarOrder 车辆订单
|
||||
|
||||
Reference in New Issue
Block a user