package model

import (
	"database/sql"
	"time"
)

// ArenaRanking 竞技场排名
type ArenaRanking struct {
	RankingId   int `gorm:"primaryKey"`
	PlayerId    int
	RobotId     int
	Ranking     int
	RankingLast int
	ServerId    int16
	CreatedAt   time.Time
	UpdatedAt   sql.NullTime
}

// ArenaReward 竞技场奖励
type ArenaReward struct {
	ID         int `gorm:"primaryKey"`
	PlayerId   int
	Day        int
	Rewards    string
	RewardType int8
	DrawState  int8
	CreatedAt  time.Time
	UpdatedAt  sql.NullTime
}

// Robot 机器人的基础信息
type Robot struct {
	RobotId        int `gorm:"primaryKey"`
	NickName       string
	HeadImg        string
	RobotLevel     uint8
	BoxLevel       uint8
	StationSlots   uint8
	EquipInitLevel uint8
	ServerId       int
	RankingInit    int
}
