// 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 TableNameLoginLog = "login_log" // LoginLog mapped from table type LoginLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` PlayerID int64 `gorm:"column:player_id" json:"player_id"` EventType string `gorm:"column:event_type" json:"event_type"` Duration int64 `gorm:"column:duration;comment:事件完成时长 单位毫秒" json:"duration"` // 事件完成时长 单位毫秒 IsNew int64 `gorm:"column:is_new" json:"is_new"` EventID string `gorm:"column:event_id;comment:客户端生成的唯一id 玩家登录成功之后更新玩家id用" json:"event_id"` // 客户端生成的唯一id 玩家登录成功之后更新玩家id用 EventTime time.Time `gorm:"column:event_time" json:"event_time"` EventDay time.Time `gorm:"column:event_day" json:"event_day"` Channel string `gorm:"column:channel" json:"channel"` } // TableName LoginLog's table name func (*LoginLog) TableName() string { return TableNameLoginLog }