projectdatarequest.go 885 B

12345678910111213141516171819202122232425262728293031
  1. package http_model
  2. import "time"
  3. type ProjectDataRequest struct {
  4. ProjectId string `json:"project_id"`
  5. }
  6. type ProjectDataResponse struct {
  7. RecruitDDl time.Time `json:"recruit_ddl"`
  8. Recruittime time.Time `json:"recruit_time"`
  9. ApplyNum int64 `json:"apply_num"`
  10. AgreeNum int64 `json:"agree_num"`
  11. DraftFee float64 `json:"draft_fee"`
  12. AvgFansNum int `json:"avg_fans_num"`
  13. FromType float64 `json:"from_type"`
  14. ManRatio float64 `json:"man_ratio"`
  15. FeeMap map[int]int `json:"fee_map"`
  16. FansMap map[int64]int `json:"fans_map"`
  17. DateStats map[string]int `json:"date_stats"`
  18. }
  19. func NewProjectDataRequest() *ProjectDataRequest {
  20. return new(ProjectDataRequest)
  21. }
  22. func NewProjectDataResponse() *CommonResponse {
  23. resp := new(CommonResponse)
  24. resp.Data = new(ProjectDataResponse)
  25. return resp
  26. }