types.go 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type AddOrUpdateReq struct {
  4. PositionId int64 `header:"positionId"`
  5. EntUserId int64 `header:"entUserId,optional"`
  6. EntId int64 `header:"entId,optional"`
  7. EntDeptId int64 `header:"entDeptId,optional"`
  8. Company_id string `json:"company_id,optional"`
  9. Company_name string `json:"company_name,optional"`
  10. Contact_person string `json:"contact_person,optional"`
  11. Contact_phone string `json:"contact_phone,optional"`
  12. Introduce_owner_id string `json:"introduce_owner_id,optional"`
  13. Introduce_owner_name string `json:"introduce_owner_name,optional"`
  14. Introduce_project_id string `json:"introduce_project_id,optional"`
  15. Introduce_project_name string `json:"introduce_project_name,optional"`
  16. Id int64 `json:"id,optional"`
  17. Type string `json:"type,optional"`
  18. }
  19. type AllprojectReq struct {
  20. PositionId int64 `header:"positionId"`
  21. Name string `json:"name,optional"`
  22. }
  23. type AssociateReq struct {
  24. Name string `json:"name"`
  25. Type string `json:"type"`
  26. }
  27. type CanAddReq struct {
  28. AppId string `header:"appId,default=10000"`
  29. BaseUserId int64 `header:"newUserId"`
  30. PositionId int64 `header:"positionId,optional"`
  31. EntUserId int64 `header:"entUserId,optional"`
  32. EntId int64 `header:"entId,optional"`
  33. AccountId int64 `header:"accountId,optional"`
  34. EntDeptId int64 `header:"entDeptId,optional"`
  35. EmployInfoId int64 `json:"employInfoId"` //资讯收录id
  36. EmployCustomId int64 `json:"employCustomId,optional"` //客户收录id
  37. Key string `json:"key"` //创建线索:more_create_clue 创建机会:more_create_chance 创建客户:more_create_custom
  38. }
  39. type ClueAddReq struct {
  40. AppId string `header:"appId,default=10000"`
  41. BaseUserId int64 `header:"newUserId"`
  42. PositionId int64 `header:"positionId,optional"`
  43. EntUserId int64 `header:"entUserId,optional"`
  44. EntId int64 `header:"entId,optional"`
  45. AccountId int64 `header:"accountId,optional"`
  46. EntDeptId int64 `header:"entDeptId,optional"`
  47. CluesSource string `json:"cluesSource"` //线索来源
  48. ClueName string `json:"clueName"` //线索名称
  49. Summary string `json:"summary"` //概要信息
  50. FollowUpTime int64 `json:"followUpTime,optional"` //下次跟进时间(时间戳)
  51. Types int64 `json:"types"` //处理方式 1自办;2转办;3待处理
  52. User []int64 `json:"user,optional"` //企业用户id
  53. EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
  54. CreateName string `json:"createName"` //创建人
  55. Channel string `json:"channel"` //渠道来源:网页、手动创建
  56. }
  57. type CoopHistoryReq struct {
  58. EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
  59. PositionId int64 `header:"positionId,optional"`
  60. EntId string `header:"entId,optional"`
  61. EntUserId string `header:"entUserId,optional"`
  62. DeptId string `header:"deptId,optional"` //部门id
  63. Pid string `json:"porjectId"`
  64. ChannelType int `json:"channelType"`
  65. }
  66. type CustomAddReq struct {
  67. AppId string `header:"appId,default=10000"`
  68. BaseUserId int64 `header:"newUserId"`
  69. PositionId int64 `header:"positionId,optional"`
  70. EntUserId int64 `header:"entUserId,optional"`
  71. EntId int64 `header:"entId,optional"`
  72. AccountId int64 `header:"accountId,optional"`
  73. EntDeptId int64 `header:"entDeptId,optional"`
  74. CustomType int64 `json:"customType"` //客户类型
  75. Summary string `json:"summary"` //概要信息
  76. CustomAllName string `json:"customAllName"` //客户全称
  77. CustomAbbreviation string `json:"customAbbreviation"` //客户简称
  78. CustomLevel int64 `json:"customLevel,optional"` //客户级别
  79. CustomIndustry int64 `json:"customIndustry"` //客户行业
  80. CustomDetailIndustry int64 `json:"customDetailIndustry"` //客户细分行业
  81. Province string `json:"province,optional"` //省份
  82. City string `json:"city,optional"` //城市
  83. District string `json:"district,optional"` //地区
  84. Address string `json:"address,optional"` //详细地址
  85. CompanyPhone string `json:"companyPhone,optional"` //公司电话
  86. NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
  87. Types int64 `json:"types"` //处理方式 1自办;2转办
  88. User []int64 `json:"user,optional"` //转办用户
  89. EmployCustomId int64 `json:"employCustomId,optional,optional"` //客户收录id
  90. EmployInfoId int64 `json:"employInfoId,optional,optional"` //资讯收录id
  91. Remarks string `json:"remarks,optional"` //备注
  92. CreateName string `json:"createName"` //创建人
  93. Source string `json:"source,optional"` //来源
  94. OwnerId int64 `json:"ownerId,optional"` //潜客收录id(人脉)
  95. BusinessId int64 `json:"businessId,optional"` //商机收录id(人脉)
  96. }
  97. type DistributePerson struct {
  98. PositionId int64 `json:"positionId"`
  99. EntUserId int64 `json:"entUserId"`
  100. EntDeptId int64 `json:"entDeptId"`
  101. }
  102. type EmployDistributeReq struct {
  103. AppId string `header:"appId,default=10000"`
  104. BaseUserId int64 `header:"newUserId"`
  105. PositionId int64 `header:"positionId,optional"`
  106. EntUserId int64 `header:"entUserId,optional"`
  107. EntId int64 `header:"entId,optional"`
  108. EmployIdArr string `json:"employIdArr"`
  109. Person []DistributePerson `json:"person"`
  110. EntNicheDis int64 `header:"entNicheDis,optional"`
  111. EntDeptId int64 `header:"entDeptId,optional"`
  112. }
  113. type EmployOperateReq struct {
  114. AppId string `header:"appId,default=10000"`
  115. BaseUserId int64 `header:"newUserId"`
  116. PositionId int64 `header:"positionId,optional"`
  117. EntUserId int64 `header:"entUserId,optional"`
  118. EntId int64 `header:"entId,optional"`
  119. IdArr string `json:"idArr"` //信息id多条信息
  120. IsEmploy bool `json:"isEmploy"` //是否收录true收录 false取消收录
  121. EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
  122. EntDeptId int64 `header:"entDeptId,optional"`
  123. From string `json:"from,optional"` //来源
  124. }
  125. type EntInfoReq struct {
  126. EntName string `json:"entName"`
  127. }
  128. type FileUploadReq struct {
  129. AppId string `header:"appId,default=10000"`
  130. BaseUserId int64 `header:"newUserId"`
  131. PositionId int64 `header:"positionId,optional"`
  132. EntUserId int64 `header:"entUserId,optional"`
  133. EntId int64 `header:"entId,optional"`
  134. BusinessId int64 `form:"businessId"` //业务id
  135. Types int64 `form:"type"` //类型;1:跟进记录-线下 2:跟进记录-线上 3:跟进记录-备忘 4:销售机会-项目文档 5:客户-客户档案
  136. FileType int64 `form:"fileType"` //文件类型,产品介绍、项目方案、立项报告、报价文件、招标文件、投标文件、中标通知书、合同、发票、其他文件
  137. }
  138. type IgnoreOperateReq struct {
  139. AppId string `header:"appId,default=10000"`
  140. BaseUserId int64 `header:"newUserId"`
  141. PositionId int64 `header:"positionId,optional"`
  142. EntUserId int64 `header:"entUserId,optional"`
  143. EntId int64 `header:"entId,optional"`
  144. IdArr string `json:"idArr"` //id集合
  145. IsIgnore bool `json:"isIgnore"` //是否忽略 true 忽略 false取消忽略
  146. EmployType int64 `json:"employType"` //来源方式来源;1招标采购、2企业、3采购单位、4拟在建项目
  147. }
  148. type InfoEmployinfoReq struct {
  149. AppId string `header:"appId,default=10000"`
  150. BaseUserId int64 `header:"newUserId"`
  151. PositionId int64 `header:"positionId,optional"`
  152. EntUserId int64 `header:"entUserId,optional"`
  153. EntId int64 `header:"entId,optional"`
  154. EmployType int64 `json:"employType"` //1标采购、2企业、3采购单位、4拟在建项目
  155. IdArr string `json:"idArr"` //id
  156. EntNicheDis int64 `header:"entNicheDis,optional"`
  157. EntDeptId int64 `header:"entDeptId,optional"`
  158. PositionType int64 `header:"positionType,optional"` //职位类型 0个人 1企业
  159. AccountId int64 `header:"accountId,optional"` //账户id
  160. EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
  161. From string `json:"from,optional"` //来源
  162. }
  163. type InfoReply struct {
  164. Error_code int64 `json:"error_code"`
  165. Error_msg string `json:"error_msg"`
  166. Data interface{} `json:"data"`
  167. BatchEmploy int64 `json:"batchEmploy"`
  168. }
  169. type NetWorkListReq struct {
  170. PositionId int64 `header:"positionId"`
  171. Type string `json:"type,optional"`
  172. Name string `json:"name,optional"`
  173. Monitor string `json:"monitor,optional"`
  174. Starttime string `json:"starttime,optional"`
  175. Endtime string `json:"endtime,optional"`
  176. Order_amount string `json:"order_amount,optional"`
  177. Current_page string `json:"current_page,optional"`
  178. Project_matchme string `json:"project_matchme,optional"`
  179. }
  180. type OwnerListReq struct {
  181. PartyA string `json:"partyA,optional"` //甲方
  182. Supplier string `json:"supplier,optional"` //供应商
  183. Heterotophy string `json:"heterotophy,optional"` //同甲异业
  184. Intermediary string `json:"intermediary,optional"` //中间人
  185. Agency string `json:"agency,optional"` //代理机构
  186. SearchEntName string `json:"searchEntName,optional"` //搜索企业名称
  187. SourceType string `json:"sourceType,optional"` //搜索类型 1 只看转介绍成功率高2只看已监控的
  188. ProcessingStatus string `json:"processingStatus,optional"` //处理状态1未处理2已忽略3已建客户
  189. Area string `json:"area,optional"` //项目地区
  190. PositionId int64 `header:"positionId,optional"`
  191. PageSize int64 `json:"pageSize,optional"`
  192. PageIndex int64 `json:"pageIndex,optional"`
  193. }
  194. type PnameAssReq struct {
  195. ProjectName string `json:"projectName"`
  196. }
  197. type ProjectListReq struct {
  198. PositionId int64 `header:"positionId,optional"`
  199. EntId string `header:"entId,optional"`
  200. EntUserId string `header:"entUserId,optional"`
  201. DeptId string `header:"deptId,optional"` //部门id
  202. PageNum int64 `json:"pageNum"`
  203. PageSize int64 `json:"pageSize"`
  204. BusinessType string `json:"businessType"`
  205. SaleStatus int `json:"saleStatus"`
  206. ProjectName string `json:"projectName"`
  207. StartTime int64 `json:"startTime"`
  208. EntTime int64 `json:"entTime"`
  209. Area string `json:"area"`
  210. City string `json:"city"`
  211. District string `json:"district"`
  212. PropertyForm string `json:"propertyForm"`
  213. SubClass string `json:"subClass"`
  214. Amount string `json:"amount"`
  215. }
  216. type PushMsgReq struct {
  217. AppId string `header:"appId,default=10000"`
  218. BaseUserId int64 `header:"newUserId"`
  219. PositionId int64 `header:"positionId,optional"`
  220. EntUserId int64 `header:"entUserId,optional"`
  221. EntId int64 `header:"entId,optional"`
  222. Title string `json:"title"` //标题
  223. Content string `json:"content"` //内容
  224. PcHref string `json:"pcHref"` //pc跳转地址
  225. MobileHref string `json:"mobileHref"` //移动端跳转地址
  226. User []int64 `json:"user,optional"` //企业用户id
  227. MsgType string `json:"msgType"` //消息类型 1-活动优惠 2-服务通知 3-订阅消息 4-项目动态 5-企业动态 6-分析报告 7-系统通知 11-待办
  228. }
  229. type Reply struct {
  230. Error_code int64 `json:"error_code"`
  231. Error_msg string `json:"error_msg"`
  232. Data interface{} `json:"data"`
  233. }
  234. type SaleChanceReq struct {
  235. AppId string `header:"appId,default=10000"`
  236. BaseUserId int64 `header:"newUserId"`
  237. PositionId int64 `header:"positionId,optional"`
  238. EntUserId int64 `header:"entUserId,optional"`
  239. EntId int64 `header:"entId,optional"`
  240. AccountId int64 `header:"accountId,optional"`
  241. EntDeptId int64 `header:"entDeptId,optional"`
  242. ChanceName string `json:"chanceName"` //机会名称
  243. Summary string `json:"summary"` //概要信息
  244. ChanceClassify int64 `json:"chanceClassify"` //机会分类
  245. ExpectedOrderTime int64 `json:"expectedOrderTime,optional"` //最初预计落单段时间 时间戳
  246. ExpectedMoney float64 `json:"expectedMoney,optional"` //最初预计落单金额
  247. CustomName string `json:"customName"` //客户全称
  248. BusinessType int64 `json:"businessType"` //业务类型 1新客户需求 2老客户需求 3简易项目流程
  249. Remarks string `json:"remarks,optional"` //备注
  250. NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
  251. Types int64 `json:"types"` //处理方式 1自办;2转办;3待处理
  252. User []int64 `json:"user,optional"` //企业用户id
  253. EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
  254. CustomId int64 `json:"customId,optional"` //客户id
  255. CreateName string `json:"createName"` //创建人
  256. ChanceSource int64 `json:"chanceSource"` //机会来源
  257. OwnerId int64 `json:"ownerId,optional"` //潜客收录id(人脉)
  258. BusinessId int64 `json:"businessId,optional"` //商机收录id(人脉)
  259. }
  260. type TransferReq struct {
  261. AppId string `header:"appId,default=10000"`
  262. BaseUserId int64 `header:"newUserId"`
  263. PositionId int64 `header:"positionId,optional"`
  264. EntUserId int64 `header:"entUserId,optional"`
  265. EntId int64 `header:"entId,optional"`
  266. EmplouIdArr []string `json:"emplouIdArr"`
  267. PositionIdArr []string `json:"positionIdArr"`
  268. }