feat: account.
This commit is contained in:
@ -25,6 +25,7 @@ type StepHeartRate struct {
|
||||
// 对应Flutter的TrainRecord结构
|
||||
type StepTrainRecord struct {
|
||||
gorm.Model
|
||||
Username string `gorm:"size:50" json:"username"` // 对应Dart的tid字段
|
||||
TrainId uint `gorm:"uniqueIndex" json:"tid"` // 对应Dart的tid字段
|
||||
StartTime int64 `gorm:"type:bigint" json:"time"` // 开始时间戳
|
||||
EndTime int64 `gorm:"type:bigint" json:"endTime"` // 结束时间戳[3](@ref)
|
||||
|
||||
Reference in New Issue
Block a user