// 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 TableNameGrandmasterMatch = "grandmaster_match"

// GrandmasterMatch mapped from table <grandmaster_match>
type GrandmasterMatch struct {
	ID      int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
	Type    int32 `gorm:"column:type;type:int(11);index:type,priority:1;default:1" json:"type"` // 1成功2失败
	Seconds int64 `gorm:"column:seconds;type:bigint(20)" json:"seconds"`                        // 匹配时长
	Times   int64 `gorm:"column:times;type:bigint(20)" json:"times"`                            // 出现次数
}

// TableName GrandmasterMatch's table name
func (*GrandmasterMatch) TableName() string {
	return TableNameGrandmasterMatch
}
