// 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 TableNameGloballetter = "globalletter"

// Globalletter mapped from table <globalletter>
type Globalletter struct {
	ID          int64     `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
	Type        int32     `gorm:"column:type;type:int(11)" json:"type"`
	MaxPlayerID int32     `gorm:"column:maxPlayerId;type:int(11)" json:"maxPlayerId"`
	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"`
	CreateTime  time.Time `gorm:"column:create_time;type:datetime" json:"create_time"`
	ExpireTime  time.Time `gorm:"column:expireTime;type:datetime" json:"expireTime"`
}

// TableName Globalletter's table name
func (*Globalletter) TableName() string {
	return TableNameGloballetter
}
