package dao import "lone-services/pkg/utils" type LogCreate struct { Id int64 `json:"id" gorm:"id"` UserId int64 `json:"user_id" gorm:"user_id"` // 用户ID HostCode string `json:"host_code" gorm:"host_code"` // 设备号 Data string `json:"data" gorm:"data"` // 数据 } type LogInfo struct { Id int64 `json:"id" gorm:"id"` UserId int64 `json:"user_id" gorm:"user_id"` // 用户ID HostCode string `json:"host_code" gorm:"host_code"` // 设备号 Data string `json:"data" gorm:"data"` // 数据 CarteTime utils.CustomTime `json:"carte_time" gorm:"carte_time"` }