org_player_rank.go 1.43 KB
Newer Older
haoyanbin's avatar
haoyanbin committed
1 2 3 4 5 6 7 8 9
package dto

import (
	"go-admin/common/dto"
)

type OrgPlayerRankGetPageReq struct {
	dto.Pagination `search:"-"`
	LeagueId       string `form:"leagueId"  search:"type:exact;column:league_id;table:om" comment:"联赛级别id"` //联赛级别id
haoyanbin's avatar
haoyanbin committed
10
	TypeName       string `form:"typeName"  search:"-"`                                                     //
haoyanbin's avatar
haoyanbin committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
}

type OrgPlayerRankGetPageReply struct {
	Id           string `json:"id"`
	Rank         string `json:"rank"`
	LeagueName   string `json:"leagueName"`
	TeamName     string `json:"leagueName"`
	PlayerName   string `json:"playerName"`
	PlayerNumber string `json:"playerNumber" comment:"球衣号码"`
	PlayerImg    string `json:"playerImg"`
	Position     string `json:"position" comment:"场上位置"`
	dto.TotalScoring
}

type GetPageMatchPlayerRankReq struct {
	Id string `form:"id" json:"id"`
}
type GetPageMatchPlayerRankReply struct {
	MatchInfo     dto.PageMatchInfo   `json:"matchInfo"`
	TotalScoring  []dto.TotalScoring  `json:"totalScoring"`
	RoundsScoring []dto.RoundsScoring `json:"roundsScoring"`
}

func (m *OrgPlayerRankGetPageReq) GetNeedSearch() interface{} {
	return *m
}

// OrgMatchEvaluateGetReq 功能获取请求参数
type OrgTeamPlayerGetReq struct {
	Id int `uri:"id"`
}

type OrgTeamPlayerGetReply struct {
	MatchInfo     dto.PageMatchInfo   `json:"matchInfo"`
	RoundsScoring []dto.RoundsScoring `json:"roundsScoring"`
}

func (s *OrgTeamPlayerGetReq) GetId() interface{} {
	return s.Id
}