// 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 TableNamePlayerMailbox = "player_mailbox"

// PlayerMailbox mapped from table <player_mailbox>
type PlayerMailbox struct {
	ID           int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
	PlayerID     int64 `gorm:"column:playerId;type:bigint(20);index:IDX_player_mailbox_playerId,priority:1" json:"playerId"`
	LastGlobalID int32 `gorm:"column:lastGlobalId;type:int(11)" json:"lastGlobalId"`
}

// TableName PlayerMailbox's table name
func (*PlayerMailbox) TableName() string {
	return TableNamePlayerMailbox
}
