From 1a252a12be534c7bfa24644ac27d584f02c8374c Mon Sep 17 00:00:00 2001 From: laoboli <1293528695@qq.com> Date: Wed, 22 Oct 2025 15:25:42 +0800 Subject: [PATCH] feat: count. --- models/step_train.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/step_train.go b/models/step_train.go index 4262acf..1236b97 100644 --- a/models/step_train.go +++ b/models/step_train.go @@ -7,6 +7,7 @@ type StepStrideFreq struct { TrainId uint `gorm:"column:train_id; index" json:"trainId"` // 外键关联训练记录[4](@ref) Time int64 `gorm:"type:bigint" json:"time"` // 保持与前端一致的毫秒时间戳[3](@ref) Value int `gorm:"type:int" json:"value"` + Count int `gorm:"type:int" json:"count"` PredictValue int `gorm:"type:int" json:"predictValue"` Identifier string `gorm:"uniqueIndex;type:varchar(255)" json:"identifier"` }