// 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

import (
	"time"
)

const TableNamePlayerAttr = "player_attr"

// PlayerAttr mapped from table <player_attr>
type PlayerAttr struct {
	ID             int64     `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	Playerid       int64     `gorm:"column:playerid" json:"playerid"`
	AccID          int64     `gorm:"column:accId" json:"accId"`
	Level          int32     `gorm:"column:level" json:"level"`
	Exp            int64     `gorm:"column:exp" json:"exp"`
	Lastlogintick  int64     `gorm:"column:lastlogintick" json:"lastlogintick"`
	Lastlogouttick int64     `gorm:"column:lastlogouttick" json:"lastlogouttick"`
	OpenID         string    `gorm:"column:openId" json:"openId"`
	NickName       string    `gorm:"column:nickName" json:"nickName"`
	ImgURL         string    `gorm:"column:imgUrl" json:"imgUrl"`
	HeadImg        string    `gorm:"column:headImg" json:"headImg"`
	CreateTime     time.Time `gorm:"column:create_time" json:"create_time"`
	Ban            int32     `gorm:"column:ban" json:"ban"`
	AdID           string    `gorm:"column:adId" json:"adId"`
	ClickID        string    `gorm:"column:clickId" json:"clickId"`
	AdSrc          string    `gorm:"column:adSrc" json:"adSrc"`
	Plat           string    `gorm:"column:plat" json:"plat"`
	Flag           int32     `gorm:"column:flag" json:"flag"`
	Materials      string    `gorm:"column:materials" json:"materials"`
	Heros          string    `gorm:"column:heros" json:"heros"`
	Fort           string    `gorm:"column:fort" json:"fort"`
	Runes          string    `gorm:"column:runes" json:"runes"`
	Line           int32     `gorm:"column:line" json:"line"`
	Chapters       string    `gorm:"column:chapters" json:"chapters"`
	Treasures      string    `gorm:"column:treasures" json:"treasures"`
	Recruit        string    `gorm:"column:recruit" json:"recruit"`
	HeroSkins      string    `gorm:"column:heroSkins" json:"heroSkins"`
}

// TableName PlayerAttr's table name
func (*PlayerAttr) TableName() string {
	return TableNamePlayerAttr
}
