12345678910111213141516171819202122232425262728293031323334 |
- // 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 TableNameGameAlarmCombatLog = "game_alarm_combat_logs"
- // GameAlarmCombatLog mapped from table <game_alarm_combat_logs>
- type GameAlarmCombatLog struct {
- ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
- OriginID int64 `gorm:"column:origin_id;type:bigint(20);not null;index:game_alarm_combat_logs_origin_id_index,priority:1" json:"origin_id"` // 战斗信息表id
- OriginTime string `gorm:"column:origin_time;type:varchar(255);not null" json:"origin_time"`
- YearMonth string `gorm:"column:year_month;type:varchar(255);not null" json:"year_month"` // 年月
- PlayerID int64 `gorm:"column:player_id;type:bigint(20);not null;index:game_alarm_combat_logs_server_id_player_id_index,priority:2;index:game_alarm_combat_logs_player_id_index,priority:1" json:"player_id"` // 玩家id
- ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:game_alarm_combat_logs_server_id_index,priority:1;index:game_alarm_combat_logs_server_id_player_id_index,priority:1" json:"server_id"` // 游戏服id
- Dps float64 `gorm:"column:dps;type:double;not null" json:"dps"`
- Rate float64 `gorm:"column:rate;type:double;not null" json:"rate"` // 技能倍率
- Valuation float64 `gorm:"column:valuation;type:double;not null" json:"valuation"` // 估值伤害
- Damage float64 `gorm:"column:damage;type:double;not null" json:"damage"` // 实际伤害
- Ratio float64 `gorm:"column:ratio;type:double;not null;index:game_alarm_combat_logs_ratio_index,priority:1" json:"ratio"` // 实际伤害值/估值
- AlarmData string `gorm:"column:alarm_data;type:json;not null" json:"alarm_data"` // 异常数据
- RoleInfo string `gorm:"column:role_info;type:json;not null" json:"role_info"` // 角色信息
- CreatedAt time.Time `gorm:"column:created_at;type:datetime;not null;index:game_alarm_combat_logs_created_at_index,priority:1" json:"created_at"`
- }
- // TableName GameAlarmCombatLog's table name
- func (*GameAlarmCombatLog) TableName() string {
- return TableNameGameAlarmCombatLog
- }
|