fix: json

This commit is contained in:
2025-07-03 09:38:51 +08:00
parent 07963218cd
commit 2aa22b1385

View File

@ -28,7 +28,7 @@ type StepTrainRecord struct {
StartTime int64 `gorm:"type:bigint" json:"time"` // 开始时间戳 StartTime int64 `gorm:"type:bigint" json:"time"` // 开始时间戳
EndTime int64 `gorm:"type:bigint" json:"endTime"` // 结束时间戳[3](@ref) EndTime int64 `gorm:"type:bigint" json:"endTime"` // 结束时间戳[3](@ref)
Name string `gorm:"size:100" json:"name"` Name string `gorm:"size:100" json:"name"`
RunType string `gorm:"size:100" json:"RunType"` RunType string `gorm:"size:100" json:"runType"`
MaxHeartRate int `gorm:"type:int" json:"maxHeartRate"` MaxHeartRate int `gorm:"type:int" json:"maxHeartRate"`
Duration int `gorm:"type:int" json:"duration"` // 持续时间(秒) Duration int `gorm:"type:int" json:"duration"` // 持续时间(秒)
DeadZone int `gorm:"type:int" json:"deadZone"` DeadZone int `gorm:"type:int" json:"deadZone"`