package model import ( "time" ) type CommonModel struct { ID uint `gorm:"primary_key" json:"ID,string"` CreatedAt time.Time UpdatedAt time.Time DeletedAt *time.Time `sql:"index"` }