player_battle_dps.gen.go 908 B

1234567891011121314151617181920
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. const TableNamePlayerBattleDp = "player_battle_dps"
  6. // PlayerBattleDp mapped from table <player_battle_dps>
  7. type PlayerBattleDp struct {
  8. ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"`
  9. Playerid int64 `gorm:"column:playerid;type:bigint(20);not null;uniqueIndex:playerid,priority:1" json:"playerid"` // 用户ID
  10. DetailsID int64 `gorm:"column:details_id;type:bigint(20);not null" json:"details_id"` // 战斗日志ID
  11. Dps float64 `gorm:"column:dps;type:decimal(20,2);index:event_id,priority:1;default:0.00" json:"dps"` // dps
  12. }
  13. // TableName PlayerBattleDp's table name
  14. func (*PlayerBattleDp) TableName() string {
  15. return TableNamePlayerBattleDp
  16. }