新增逻辑 根据车辆数量及单次服务数量来决定时间点是否可预约
This commit is contained in:
@@ -193,3 +193,10 @@ type ServiceUserMarkRecord 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:"-"` //更新时间
|
||||
}
|
||||
|
||||
// ReserveTimeFilter 服务过滤时间
|
||||
type ReserveTimeFilter struct {
|
||||
Id int `gorm:"primaryKey;autoIncrement" json:"id"` //id
|
||||
Type int `gorm:"not null" json:"type"` //类型 1日期 2小时
|
||||
Content string `gorm:"not null" json:"content"` //类型 具体内容 比如:2024-04-08 12
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user