// 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 TableNameBattleLog = "battle_log" // BattleLog mapped from table type BattleLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` ChapterID int32 `gorm:"column:chapter_id" json:"chapter_id"` Wave int32 `gorm:"column:wave" json:"wave"` PlayerID int64 `gorm:"column:player_id" json:"player_id"` BattleTime int32 `gorm:"column:battle_time" json:"battle_time"` BattleResult int32 `gorm:"column:battle_result;comment:战斗结果 0未通关 1通关" json:"battle_result"` // 战斗结果 0未通关 1通关 IsNew int32 `gorm:"column:is_new" json:"is_new"` 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"` IsRevive int32 `gorm:"column:is_revive;comment:是否使用复活 0未使用 1使用" json:"is_revive"` // 是否使用复活 0未使用 1使用 ReviveWave int32 `gorm:"column:revive_wave;comment:在那一波复活" json:"revive_wave"` // 在那一波复活 } // TableName BattleLog's table name func (*BattleLog) TableName() string { return TableNameBattleLog }