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.
17 lines
439 B
17 lines
439 B
package model
|
|
|
|
const (
|
|
CarPhotoTypeCar = 1 // 车辆照片
|
|
CarPhotoTypeInterior = 2 // 内饰照片
|
|
CarPhotoTypeDefect = 3 // 缺陷照片
|
|
CarPhotoTypeData = 4 // 资料照片
|
|
)
|
|
|
|
type CarPhoto struct {
|
|
Id uint `gorm:"primaryKey"`
|
|
OrderId uint // 订单id
|
|
Path string // 图片地址
|
|
Text string // 图片描述
|
|
Type uint // 车辆类型 1=车辆照片 2=内饰照片 3=缺陷照片 4=资料照片
|
|
}
|