community_question.go 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. package response
  2. import (
  3. "github.com/rdlucklib/rdluck_tools/paging"
  4. "hongze/hz_crm_api/models/yb"
  5. )
  6. type CommunityQuestionListResp struct {
  7. Paging *paging.PagingItem
  8. List []*CommunityQuestionItem `description:"列表数据"`
  9. Count *CommunityQuestionCount
  10. }
  11. type CommunityQuestionItem struct {
  12. CommunityQuestionId int `description:"问题ID"`
  13. UserId int `description:"提问用户ID"`
  14. Mobile string `description:"用户手机号"`
  15. RealName string `description:"用户名"`
  16. QuestionContent string `description:"问题描述"`
  17. ReplierUserId int `description:"回复人的user_id"`
  18. ReplierAdminId int `description:"回复人关联的admin_id"`
  19. ReplierRealName string `description:"回复人姓名"`
  20. ReplierAvatar string `description:"回复人头像"`
  21. ResearchGroupFirstId int `description:"回复人研究方向一级分组ID"`
  22. ResearchGroupSecondId int `description:"回复人研究方向二级分组ID"`
  23. ResearchGroupFirstName string `description:"研究方向一级分组名称"`
  24. ResearchGroupSecondName string `description:"研究方向二级分组名称"`
  25. ReplyStatus int `description:"状态 1-待分配 2-待回答 3-已回答"`
  26. MsgSendStatus int `description:"消息推送进度 0-待推送 1-已推送回答人 2-已推送提问人"`
  27. ReplyTime string `description:"回复时间"`
  28. CreateTime string `description:"提问时间"`
  29. NeedRedistribute bool `description:"是否需要重新分配"`
  30. ClickNum int `description:"点击量"`
  31. UserQaCount int `description:"用户提问数"`
  32. UserHasDetail bool `description:"是否有用户详情"`
  33. StopReason string `description:"终止原因"`
  34. }
  35. type CommunityQuestionCount struct {
  36. Free int `json:"free"`
  37. Wait int `json:"wait"`
  38. Replied int `json:"replied"`
  39. Total int `json:"total"`
  40. }
  41. type QuestionClickLogListItem struct {
  42. UserId int
  43. SourceAgent int
  44. LastCreateTime string
  45. ClickNum int `description:"点击量"`
  46. RealName string
  47. CompanyName string
  48. CompanyStatus string
  49. CompanyId int
  50. }
  51. type QuestionCompanyUser struct {
  52. CommunityQuestionId int `description:"问题ID"`
  53. QuestionContent string `description:"问题描述"`
  54. UserId int
  55. RealName string
  56. CompanyName string
  57. CompanyStatus string
  58. CompanyId int
  59. SellerName string `description:"销售姓名"`
  60. }
  61. type QuestionClickLogListResp struct {
  62. Paging *paging.PagingItem
  63. List []*QuestionClickLogListItem `description:"列表数据"`
  64. Count int
  65. QuestionContent string `description:"问题描述"`
  66. }
  67. // LikeTeaseListWithQuestionResp 问答点赞吐槽返回数据
  68. type LikeTeaseListWithQuestionResp struct {
  69. List []*yb.StatCommunityQuestionLikeTeaseItem
  70. Paging *paging.PagingItem
  71. }
  72. // LikeTeaseListListResp 问答详情点赞/吐槽用户列表返回数据
  73. type LikeTeaseListListResp struct {
  74. List []*yb.LikeTeaseListItem
  75. Paging *paging.PagingItem
  76. }
  77. // CommunityQuestionCommentResp 社区问答评论列表返回数据
  78. type CommunityQuestionCommentResp struct {
  79. List []*yb.YbCommunityQuestionCommentAndQuestion
  80. Paging *paging.PagingItem
  81. }