geekai/api/store/model/base.go

10 lines
144 B
Go

package model
import "time"
type BaseModel struct {
Id uint `gorm:"primarykey;column:id"`
CreatedAt time.Time
UpdatedAt time.Time
}