// 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 TableNameGrandmaster = "grandmaster"

// Grandmaster mapped from table <grandmaster>
type Grandmaster struct {
	ID              int64  `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
	Playerid        int64  `gorm:"column:playerid;type:bigint(20);index:IDX_grandmaster_playerid,priority:1" json:"playerid"`
	JoinTime        string `gorm:"column:joinTime;type:text" json:"joinTime"`
	JoinNum         string `gorm:"column:joinNum;type:text" json:"joinNum"`
	MaxHistoryScore int64  `gorm:"column:maxHistoryScore;type:bigint(20)" json:"maxHistoryScore"`
	Season          string `gorm:"column:season;type:text" json:"season"`
	PrevSeason      string `gorm:"column:prevSeason;type:text" json:"prevSeason"`
	Worship         string `gorm:"column:worship;type:text" json:"worship"`
	IsDisplay       int32  `gorm:"column:isDisplay;type:int(11)" json:"isDisplay"`
	DayReward       string `gorm:"column:dayReward;type:text" json:"dayReward"`
	LogIds          string `gorm:"column:logIds;type:text" json:"logIds"`
}

// TableName Grandmaster's table name
func (*Grandmaster) TableName() string {
	return TableNameGrandmaster
}
