feat: query.
This commit is contained in:
1
models/pageination.go
Normal file
1
models/pageination.go
Normal file
@ -0,0 +1 @@
|
||||
package models
|
||||
@ -33,6 +33,6 @@ type StepTrainRecord struct {
|
||||
Duration int `gorm:"type:int" json:"duration"` // 持续时间(秒)
|
||||
DeadZone int `gorm:"type:int" json:"deadZone"`
|
||||
Evaluation string `gorm:"size:50" json:"evaluation"`
|
||||
HeartRates []StepHeartRate `gorm:"foreignKey:TrainId;references:TrainId" json:"HeartRates"`
|
||||
HeartRates []StepHeartRate `gorm:"foreignKey:TrainId;references:TrainId" json:"heartRates"`
|
||||
StrideFreqs []StepStrideFreq `gorm:"foreignKey:TrainId;references:TrainId" json:"strideFreqs"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user