// 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 TableNamePlayerLogin = "player_logins"

// PlayerLogin mapped from table <player_logins>
type PlayerLogin struct {
	ID       int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
	Playerid int64 `gorm:"column:playerid;type:bigint(20);not null" json:"playerid"` // 用户ID
	Times    int32 `gorm:"column:times;type:int(11)" json:"times"`                   // 登录次数
}

// TableName PlayerLogin's table name
func (*PlayerLogin) TableName() string {
	return TableNamePlayerLogin
}
