types.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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 IgnoreReq struct {
  149. PositionId int64 `header:"positionId"`
  150. EntUserId int64 `header:"entUserId,optional"`
  151. EntId int64 `header:"entId,optional"`
  152. EntDeptId int64 `header:"entDeptId,optional"`
  153. RelateId string `json:"relateId,optional"`
  154. Source int `json:"source,optional"`
  155. Action int `json:"action,optional"`
  156. }
  157. type InfoEmployinfoReq struct {
  158. AppId string `header:"appId,default=10000"`
  159. BaseUserId int64 `header:"newUserId"`
  160. PositionId int64 `header:"positionId,optional"`
  161. EntUserId int64 `header:"entUserId,optional"`
  162. EntId int64 `header:"entId,optional"`
  163. EmployType int64 `json:"employType"` //1标采购、2企业、3采购单位、4拟在建项目
  164. IdArr string `json:"idArr"` //id
  165. EntNicheDis int64 `header:"entNicheDis,optional"`
  166. EntDeptId int64 `header:"entDeptId,optional"`
  167. PositionType int64 `header:"positionType,optional"` //职位类型 0个人 1企业
  168. AccountId int64 `header:"accountId,optional"` //账户id
  169. EntAccountId int64 `header:"entAccountId,optional"` //企业账户id
  170. From string `json:"from,optional"` //来源
  171. }
  172. type InfoReply struct {
  173. Error_code int64 `json:"error_code"`
  174. Error_msg string `json:"error_msg"`
  175. Data interface{} `json:"data"`
  176. BatchEmploy int64 `json:"batchEmploy"`
  177. }
  178. type NetWorkListReq struct {
  179. PositionId int64 `header:"positionId"`
  180. Type string `json:"type,optional"`
  181. Name string `json:"name,optional"`
  182. Monitor string `json:"monitor,optional"`
  183. Starttime string `json:"starttime,optional"`
  184. Endtime string `json:"endtime,optional"`
  185. Order_amount string `json:"order_amount,optional"`
  186. Current_page string `json:"current_page,optional"`
  187. Project_matchme string `json:"project_matchme,optional"`
  188. }
  189. type OwnerListReq struct {
  190. PartyA string `json:"partyA,optional"` //甲方
  191. Supplier string `json:"supplier,optional"` //供应商
  192. Heterotophy string `json:"heterotophy,optional"` //同甲异业
  193. Intermediary string `json:"intermediary,optional"` //中间人
  194. Agency string `json:"agency,optional"` //代理机构
  195. SearchEntName string `json:"searchEntName,optional"` //搜索企业名称
  196. SourceType string `json:"sourceType,optional"` //搜索类型 1 只看转介绍成功率高2只看已监控的
  197. ProcessingStatus string `json:"processingStatus,optional"` //处理状态1未处理2已忽略3已建客户
  198. Area string `json:"area,optional"` //项目地区
  199. PositionId int64 `header:"positionId,optional"`
  200. PageSize int64 `json:"pageSize,optional"`
  201. PageIndex int64 `json:"pageIndex,optional"`
  202. }
  203. type PnameAssReq struct {
  204. ProjectName string `json:"projectName"`
  205. }
  206. type ProjectListReq struct {
  207. PositionId int64 `header:"positionId,optional"`
  208. EntId string `header:"entId,optional"`
  209. EntUserId string `header:"entUserId,optional"`
  210. DeptId string `header:"deptId,optional"` //部门id
  211. PartyA string `json:"partyA,optional"` //甲方
  212. Supplier string `json:"supplier,optional"` //供应商
  213. Heterotophy string `json:"heterotophy,optional"` //同甲异业
  214. Intermediary string `json:"intermediary,optional"` //中间人
  215. Agency string `json:"agency,optional"` //代理机构
  216. PageNum int64 `json:"pageNum"`
  217. PageSize int64 `json:"pageSize"`
  218. BusinessType string `json:"businessType"`
  219. SaleStatus int `json:"saleStatus"`
  220. ProjectName string `json:"projectName"`
  221. StartTime int64 `json:"startTime"`
  222. EntTime int64 `json:"entTime"`
  223. Area string `json:"area"`
  224. City string `json:"city"`
  225. District string `json:"district"`
  226. PropertyForm string `json:"propertyForm"`
  227. SubClass string `json:"subClass"`
  228. Amount string `json:"amount"`
  229. }
  230. type PushMsgReq struct {
  231. AppId string `header:"appId,default=10000"`
  232. BaseUserId int64 `header:"newUserId"`
  233. PositionId int64 `header:"positionId,optional"`
  234. EntUserId int64 `header:"entUserId,optional"`
  235. EntId int64 `header:"entId,optional"`
  236. Title string `json:"title"` //标题
  237. Content string `json:"content"` //内容
  238. PcHref string `json:"pcHref"` //pc跳转地址
  239. MobileHref string `json:"mobileHref"` //移动端跳转地址
  240. User []int64 `json:"user,optional"` //企业用户id
  241. MsgType string `json:"msgType"` //消息类型 1-活动优惠 2-服务通知 3-订阅消息 4-项目动态 5-企业动态 6-分析报告 7-系统通知 11-待办
  242. }
  243. type Reply struct {
  244. Error_code int64 `json:"error_code"`
  245. Error_msg string `json:"error_msg"`
  246. Data interface{} `json:"data"`
  247. }
  248. type SaleChanceReq struct {
  249. AppId string `header:"appId,default=10000"`
  250. BaseUserId int64 `header:"newUserId"`
  251. PositionId int64 `header:"positionId,optional"`
  252. EntUserId int64 `header:"entUserId,optional"`
  253. EntId int64 `header:"entId,optional"`
  254. AccountId int64 `header:"accountId,optional"`
  255. EntDeptId int64 `header:"entDeptId,optional"`
  256. ChanceName string `json:"chanceName"` //机会名称
  257. Summary string `json:"summary"` //概要信息
  258. ChanceClassify int64 `json:"chanceClassify"` //机会分类
  259. ExpectedOrderTime int64 `json:"expectedOrderTime,optional"` //最初预计落单段时间 时间戳
  260. ExpectedMoney float64 `json:"expectedMoney,optional"` //最初预计落单金额
  261. CustomName string `json:"customName"` //客户全称
  262. BusinessType int64 `json:"businessType"` //业务类型 1新客户需求 2老客户需求 3简易项目流程
  263. Remarks string `json:"remarks,optional"` //备注
  264. NextfollowUpTime int64 `json:"nextfollowUpTime,optional"` //下次跟进时间戳
  265. Types int64 `json:"types"` //处理方式 1自办;2转办;3待处理
  266. User []int64 `json:"user,optional"` //企业用户id
  267. EmployInfoId int64 `json:"employInfoId,optional"` //资讯收录id
  268. CustomId int64 `json:"customId,optional"` //客户id
  269. CreateName string `json:"createName"` //创建人
  270. ChanceSource int64 `json:"chanceSource"` //机会来源
  271. OwnerId int64 `json:"ownerId,optional"` //潜客收录id(人脉)
  272. BusinessId int64 `json:"businessId,optional"` //商机收录id(人脉)
  273. }
  274. type TransferReq struct {
  275. AppId string `header:"appId,default=10000"`
  276. BaseUserId int64 `header:"newUserId"`
  277. PositionId int64 `header:"positionId,optional"`
  278. EntUserId int64 `header:"entUserId,optional"`
  279. EntId int64 `header:"entId,optional"`
  280. EmplouIdArr []string `json:"emplouIdArr"`
  281. PositionIdArr []string `json:"positionIdArr"`
  282. }