WorkspaceDDLproject.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package http_model
  2. type WorkspaceDDLprojectRequest struct {
  3. PageSize int64 `json:"page_size"`
  4. PageNum int64 `json:"page_num"`
  5. }
  6. type WorkspaceDDLprojectdata struct {
  7. DDLProjectPreview []*DDLProjectPreview `json:"DDL_project_pre_view"`
  8. //TDBillingPreview []*TDBillingPreview `json:"td_billing_preview"`
  9. //TDRechargeRecordPreview []*TDRechargeRecordPreview `json:"td_recharge_record_preview"`
  10. Total string `json:"total"`
  11. }
  12. // DDLProjectPreview 当天变化状态的项目
  13. type DDLProjectPreview struct {
  14. ProjectId string `json:"project_id"` // 项目ID
  15. ProjectName string `json:"project_name"` // 项目名
  16. ProjectStatus string `json:"project_status"` // 项目状态
  17. ProjectPlatform string `json:"project_platform"` // 项目平台
  18. ProjectForm string `json:"project_form"` // 项目形式
  19. //ProjectFeeForms []string `json:"project_fee_forms"` // 稿费形式
  20. ProjectContentType string `json:"project_content_type"` // 内容形式
  21. RecruitDDL string `json:"recruit_ddl"` //招募截止时间
  22. RecruitNum string `json:"recruit_num"` //已招募人数
  23. AutoFailAt string `json:"auto_fail_at"` //支付截止时间
  24. FinishAt string `json:"finish_at"` //结案时间
  25. PassAt string `json:"pass_at"` //审核通过时间
  26. }
  27. //type TDBillingPreview struct {
  28. // BillingID string `json:"billing_id"` //开票信息ID
  29. // InvoiceType string `json:"invoice_type"` //发票类型
  30. // BillingAt string `json:"billing_at"` //开票时间
  31. //}
  32. //
  33. //type TDRechargeRecordPreview struct {
  34. // RechargeID string `json:"recharge_id"` //充值订单ID
  35. // RechargeAmount string `json:"recharge_amount"` // 开票金额
  36. // ConfirmAt string `json:"confirm_at"` // 充值确认时间
  37. //}
  38. func NewWorkspaceDDLprojectRequest() *WorkspaceDDLprojectRequest {
  39. return new(WorkspaceDDLprojectRequest)
  40. }
  41. func NewWorkspaceDDLprojectResponse() *CommonResponse {
  42. resp := new(CommonResponse)
  43. resp.Data = new(WorkspaceDDLprojectdata)
  44. return resp
  45. }