// 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 TableNameChatMsgLog = "chat_msg_log" // ChatMsgLog mapped from table type ChatMsgLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` PlayerID int64 `gorm:"column:player_id;comment:玩家id" json:"player_id"` // 玩家id NickName string `gorm:"column:nick_name;comment:玩家昵称" json:"nick_name"` // 玩家昵称 HeadID int32 `gorm:"column:head_id;comment:头像 -1 代表使用 AvatarURL 微信授权头像" json:"head_id"` // 头像 -1 代表使用 AvatarURL 微信授权头像 FrameID int32 `gorm:"column:frame_id;comment:头像框id" json:"frame_id"` // 头像框id HeadImg string `gorm:"column:head_img;comment:头像" json:"head_img"` // 头像 CreateTime int64 `gorm:"column:create_time;comment:产生时间(毫秒)" json:"create_time"` // 产生时间(毫秒) ChatChannel int32 `gorm:"column:chat_channel;comment:频道类型" json:"chat_channel"` // 频道类型 ChatID string `gorm:"column:chat_id;comment:聊天Id" json:"chat_id"` // 聊天Id Content string `gorm:"column:content;comment:聊天内容 [emoji:表情Id]" json:"content"` // 聊天内容 [emoji:表情Id] SeverID int32 `gorm:"column:sever_id;comment:服务器Id" json:"sever_id"` // 服务器Id ShowType int32 `gorm:"column:show_type" json:"show_type"` IntParam string `gorm:"column:int_param" json:"int_param"` StrParam string `gorm:"column:str_param" json:"str_param"` } // TableName ChatMsgLog's table name func (*ChatMsgLog) TableName() string { return TableNameChatMsgLog }