// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

const TableNameEventConfig = "event_config"

// EventConfig mapped from table <event_config>
type EventConfig struct {
	ID        int32  `gorm:"column:id;type:int(11) unsigned;primaryKey;autoIncrement:true" json:"id"`
	Name      string `gorm:"column:name;type:varchar(128);not null" json:"name"`
	EventCode int32  `gorm:"column:event_code;type:int(11) unsigned;not null" json:"event_code"`
	Category  string `gorm:"column:category;type:enum('LOGIN','CHAPTER','ADV','GOODS','QUERY','_');not null;default:_" json:"category"`
	CreatedAt int32  `gorm:"column:created_at;type:int(11) unsigned;not null" json:"created_at"`
}

// TableName EventConfig's table name
func (*EventConfig) TableName() string {
	return TableNameEventConfig
}
