// 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 TableNameReportEvent = "report_events"

// ReportEvent mapped from table <report_events>
type ReportEvent struct {
	ID         int64  `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
	EventID    int64  `gorm:"column:event_id;type:bigint(20) unsigned;not null" json:"event_id"`
	EventName  string `gorm:"column:event_name;type:varchar(64)" json:"event_name"`
	ChapterID  int64  `gorm:"column:chapter_id;type:bigint(20) unsigned;not null" json:"chapter_id"`
	Extra      string `gorm:"column:extra;type:varchar(64)" json:"extra"`
	RoomID     int64  `gorm:"column:room_id;type:bigint(20) unsigned;not null" json:"room_id"`
	Difficulty int64  `gorm:"column:difficulty;type:bigint(20);not null" json:"difficulty"`
}

// TableName ReportEvent's table name
func (*ReportEvent) TableName() string {
	return TableNameReportEvent
}
