entity.go 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package entity
  2. // KeyWord /*筛选条件--关键词*/
  3. type KeyWord struct {
  4. Keyword string `json:"keyword"` //关键词
  5. Appended []string `json:"appended"` //附加词
  6. Exclude []string `json:"exclude"` //排除词
  7. }
  8. // BiddingSearchParams /*招标信息搜索筛选条件*/
  9. type BiddingSearchParams struct {
  10. Id string `json:"id"`
  11. PublishTime string `json:"publishtime"` //发布时间
  12. Province []string `json:"province"` //地区-省份
  13. City []string `json:"city"` //地区-城市
  14. Region []string `json:"region"` //地区-省份+城市
  15. Industry []string `json:"industry"` //行业
  16. Keyword []KeyWord `json:"keywords"` //关键词
  17. Buyer []string `json:"buyer"` //招标单位(采购单位)
  18. BuyerClass []string `json:"buyerclass"` //采购单位类型
  19. HasBuyerTel string `json:"hasBuyertel"` //是否有采购单位电话
  20. Winner []string `json:"winner"` //中标单位
  21. HasWinnerTel string `json:"hasWinnertel"` //是否有中标单位电话
  22. ComeInTime int64 `json:"comeintime"` //入库时间(秒)
  23. OpenId string `json:"openid"` //用户openid
  24. MinPrice string `json:"minprice"` //金额——最少
  25. MaxPrice string `json:"maxprice"` //金额——最多
  26. SelectType string `json:"selectType"` //筛选(正文 or 标题)
  27. Subtype string `json:"subtype"` //信息类型
  28. Toptype string `json:"toptype,omitempty"` //信息类型-一级分类
  29. SelectIds []string `json:"selectId"` //选择信息导出
  30. ComeInFrom string `json:"comeinfrom"` //查询来源
  31. FileExists string `json:"fileExists"` //是否有附件
  32. SearchTypeSwitch bool `json:"searchTypeSwitch"` //是否开启 正文 标题同时搜索只搜正文的开关
  33. PageNum int64 `json:"pageNum,omitempty"` //当前页码
  34. PageSize int64 `json:"pageSize,omitempty"` //每页数量
  35. Price string `json:"price,omitempty"` //价格
  36. UserId string `json:"userId,omitempty"` //用户id
  37. }