// 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 TableNamePlayerBattleDp = "player_battle_dps" // PlayerBattleDp mapped from table type PlayerBattleDp struct { ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"` Playerid int64 `gorm:"column:playerid;type:bigint(20);not null;uniqueIndex:playerid,priority:1" json:"playerid"` // 用户ID DetailsID int64 `gorm:"column:details_id;type:bigint(20);not null" json:"details_id"` // 战斗日志ID Dps float64 `gorm:"column:dps;type:decimal(20,2);index:event_id,priority:1;default:0.00" json:"dps"` // dps } // TableName PlayerBattleDp's table name func (*PlayerBattleDp) TableName() string { return TableNamePlayerBattleDp }