model/procedures.go
@@ -15,7 +15,7 @@ ID int `gorm:"primarykey"` WorkOrderID string `gorm:"index;type:varchar(191);not null;comment:工单ID" json:"-"` OrderID string `gorm:"index;type:varchar(191);not null;comment:订单ID" json:"-"` DeviceID string `gorm:"type:varchar(191);comment:设备ID" json:"deviceId"` DeviceID string `gorm:"index;type:varchar(191);comment:设备ID" json:"deviceId"` StartTime int64 `gorm:"comment:计划开始时间" json:"startTime"` EndTime int64 `gorm:"comment:计划结束时间" json:"endTime"` Status ProcedureStatus