// 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 TableNamePlayerLetter = "player_letter"

// PlayerLetter mapped from table <player_letter>
type PlayerLetter 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_letter_playerId,priority:1" json:"playerId"`
	Type        int32     `gorm:"column:type;type:int(11)" json:"type"`
	ViewState   int32     `gorm:"column:viewState;type:int(11)" json:"viewState"`
	DrawState   int32     `gorm:"column:drawState;type:int(11)" json:"drawState"`
	Title       string    `gorm:"column:title;type:varchar(255)" json:"title"`
	Content     string    `gorm:"column:content;type:varchar(1024)" json:"content"`
	Extra       string    `gorm:"column:extra;type:text" json:"extra"`
	ExtraInfo   string    `gorm:"column:extraInfo;type:text" json:"extraInfo"`
	DisplayTime time.Time `gorm:"column:displayTime;type:datetime" json:"displayTime"`
	CreateTime  time.Time `gorm:"column:create_time;type:datetime" json:"create_time"`
	ExpireTime  time.Time `gorm:"column:expireTime;type:datetime" json:"expireTime"`
}

// TableName PlayerLetter's table name
func (*PlayerLetter) TableName() string {
	return TableNamePlayerLetter
}
