iot_server/internal/models/timestamps.go

7 lines
306 B
Go
Raw Normal View History

2023-08-28 06:49:44 +00:00
package models
type Timestamps struct {
Created int64 `json:"created" gorm:"comment:创建时间"` // Created is a timestamp indicating when the entity was created.
Modified int64 `json:"modified" gorm:"comment:更新时间"` // Modified is a timestamp indicating when the entity was last modified.
}