You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
272 B

package entity
import (
"time"
)
// Id int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
type Model struct {
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}