package dto import ( "go-admin/common/dto" ) type OrgTeamPlayerGetPageReq struct { dto.Pagination `search:"-"` TeamId string `form:"reamId" search:"-"` //联赛级别id LeagueId string `form:"leagueId" search:"type:exact;column:league_id;table:om" comment:"联赛级别id"` //联赛级别id DivisionId string `form:"divisionId" search:"type:exact;column:division_id;table:om" comment:"赛区id"` //赛区id SeasonId string `form:"seasonId" search:"type:exact;column:season_id;table:om" comment:"赛季id"` //赛季id Rounds string `form:"rounds" search:"type:exact;column:rounds;table:omtp" comment:"轮次"` //轮次 PlayerName string `form:"playerName" search:"type:contains;column:player_name;table:omtp" comment:"球员名称"` //球员名称 } type OrgTeamPlayerGetPageReply struct { Id string `json:"id"` Rank string `json:"rank"` LeagueName string `json:"leagueName"` SeasonId string `json:"seasonId"` SeasonName string `json:"seasonName"` Rounds string `json:"rounds"` PlayerId string `json:"playerId"` PlayerName string `json:"playerName"` PlayerNumber string `json:"playerNumber" comment:"球衣号码"` Position string `json:"position" comment:"场上位置"` dto.TotalScoring } type GetPageMatchTeamPlayerReq struct { Id string `form:"id" json:"id"` } type GetPageMatchTeamPlayerReply struct { MatchInfo dto.PageMatchInfo `json:"matchInfo"` TotalScoring []dto.TotalScoring `json:"totalScoring"` RoundsScoring []dto.RoundsScoring `json:"roundsScoring"` } func (m *OrgTeamPlayerGetPageReq) 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 }