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.

20 lines
775 B

package diamond_show
import "github.com/golangkit/formatime"
type Information struct {
ID uint `gorm:"column:id;primary_key" json:"id"`
GoodsID uint `gorm:"column:goods_id" json:"goodsId"`
URL string `gorm:"column:url" json:"url"`
CreatedAt formatime.Second `gorm:"column:created_at" json:"createdAt"`
ActiveID uint `gorm:"column:activity_id" json:"activityId"`
Color string `gorm:"column:color" json:"color"`
IsActive int8 `gorm:"column:is_active" json:"is_active"`
BackgroundColor string
}
// TableName sets the insert table name for this struct type
func (r *Information) TableName() string {
return "recook_diamond_show_info"
}