// 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 TableNameChat = "chat"

// Chat mapped from table <chat>
type Chat struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	Playerid   int64  `gorm:"column:playerid;index:IDX_chat_playerid,priority:1" json:"playerid"`
	EmojiIds   string `gorm:"column:emojiIds" json:"emojiIds"`
	ForbidTime int64  `gorm:"column:forbidTime" json:"forbidTime"`
}

// TableName Chat's table name
func (*Chat) TableName() string {
	return TableNameChat
}
