entManageApplication.pb.go 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.23.0
  4. // protoc v3.11.4
  5. // source: entManageApplication.proto
  6. package pb
  7. import (
  8. context "context"
  9. proto "github.com/golang/protobuf/proto"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  14. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  15. reflect "reflect"
  16. sync "sync"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. // This is a compile-time assertion that a sufficiently up-to-date version
  25. // of the legacy proto package is being used.
  26. const _ = proto.ProtoPackageIsVersion4
  27. type BuyProductListReq struct {
  28. state protoimpl.MessageState
  29. sizeCache protoimpl.SizeCache
  30. unknownFields protoimpl.UnknownFields
  31. EntId int64 `protobuf:"varint,1,opt,name=entId,proto3" json:"entId,omitempty"`
  32. }
  33. func (x *BuyProductListReq) Reset() {
  34. *x = BuyProductListReq{}
  35. if protoimpl.UnsafeEnabled {
  36. mi := &file_entManageApplication_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. }
  41. func (x *BuyProductListReq) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*BuyProductListReq) ProtoMessage() {}
  45. func (x *BuyProductListReq) ProtoReflect() protoreflect.Message {
  46. mi := &file_entManageApplication_proto_msgTypes[0]
  47. if protoimpl.UnsafeEnabled && x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use BuyProductListReq.ProtoReflect.Descriptor instead.
  57. func (*BuyProductListReq) Descriptor() ([]byte, []int) {
  58. return file_entManageApplication_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *BuyProductListReq) GetEntId() int64 {
  61. if x != nil {
  62. return x.EntId
  63. }
  64. return 0
  65. }
  66. type BuyProductListResp struct {
  67. state protoimpl.MessageState
  68. sizeCache protoimpl.SizeCache
  69. unknownFields protoimpl.UnknownFields
  70. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  71. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  72. Data []*BuyProductList `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
  73. }
  74. func (x *BuyProductListResp) Reset() {
  75. *x = BuyProductListResp{}
  76. if protoimpl.UnsafeEnabled {
  77. mi := &file_entManageApplication_proto_msgTypes[1]
  78. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  79. ms.StoreMessageInfo(mi)
  80. }
  81. }
  82. func (x *BuyProductListResp) String() string {
  83. return protoimpl.X.MessageStringOf(x)
  84. }
  85. func (*BuyProductListResp) ProtoMessage() {}
  86. func (x *BuyProductListResp) ProtoReflect() protoreflect.Message {
  87. mi := &file_entManageApplication_proto_msgTypes[1]
  88. if protoimpl.UnsafeEnabled && x != nil {
  89. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  90. if ms.LoadMessageInfo() == nil {
  91. ms.StoreMessageInfo(mi)
  92. }
  93. return ms
  94. }
  95. return mi.MessageOf(x)
  96. }
  97. // Deprecated: Use BuyProductListResp.ProtoReflect.Descriptor instead.
  98. func (*BuyProductListResp) Descriptor() ([]byte, []int) {
  99. return file_entManageApplication_proto_rawDescGZIP(), []int{1}
  100. }
  101. func (x *BuyProductListResp) GetErrorCode() int64 {
  102. if x != nil {
  103. return x.ErrorCode
  104. }
  105. return 0
  106. }
  107. func (x *BuyProductListResp) GetErrorMsg() string {
  108. if x != nil {
  109. return x.ErrorMsg
  110. }
  111. return ""
  112. }
  113. func (x *BuyProductListResp) GetData() []*BuyProductList {
  114. if x != nil {
  115. return x.Data
  116. }
  117. return nil
  118. }
  119. type BuyProductList struct {
  120. state protoimpl.MessageState
  121. sizeCache protoimpl.SizeCache
  122. unknownFields protoimpl.UnknownFields
  123. WaitEmpowerId int64 `protobuf:"varint,1,opt,name=wait_empower_id,json=waitEmpowerId,proto3" json:"wait_empower_id,omitempty"`
  124. ProductType string `protobuf:"bytes,2,opt,name=product_type,json=productType,proto3" json:"product_type,omitempty"`
  125. UseCount int64 `protobuf:"varint,3,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"`
  126. EmpowerCount int64 `protobuf:"varint,4,opt,name=empower_count,json=empowerCount,proto3" json:"empower_count,omitempty"`
  127. ProvinceCount int64 `protobuf:"varint,5,opt,name=province_count,json=provinceCount,proto3" json:"province_count,omitempty"`
  128. EndTime string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
  129. }
  130. func (x *BuyProductList) Reset() {
  131. *x = BuyProductList{}
  132. if protoimpl.UnsafeEnabled {
  133. mi := &file_entManageApplication_proto_msgTypes[2]
  134. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  135. ms.StoreMessageInfo(mi)
  136. }
  137. }
  138. func (x *BuyProductList) String() string {
  139. return protoimpl.X.MessageStringOf(x)
  140. }
  141. func (*BuyProductList) ProtoMessage() {}
  142. func (x *BuyProductList) ProtoReflect() protoreflect.Message {
  143. mi := &file_entManageApplication_proto_msgTypes[2]
  144. if protoimpl.UnsafeEnabled && x != nil {
  145. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  146. if ms.LoadMessageInfo() == nil {
  147. ms.StoreMessageInfo(mi)
  148. }
  149. return ms
  150. }
  151. return mi.MessageOf(x)
  152. }
  153. // Deprecated: Use BuyProductList.ProtoReflect.Descriptor instead.
  154. func (*BuyProductList) Descriptor() ([]byte, []int) {
  155. return file_entManageApplication_proto_rawDescGZIP(), []int{2}
  156. }
  157. func (x *BuyProductList) GetWaitEmpowerId() int64 {
  158. if x != nil {
  159. return x.WaitEmpowerId
  160. }
  161. return 0
  162. }
  163. func (x *BuyProductList) GetProductType() string {
  164. if x != nil {
  165. return x.ProductType
  166. }
  167. return ""
  168. }
  169. func (x *BuyProductList) GetUseCount() int64 {
  170. if x != nil {
  171. return x.UseCount
  172. }
  173. return 0
  174. }
  175. func (x *BuyProductList) GetEmpowerCount() int64 {
  176. if x != nil {
  177. return x.EmpowerCount
  178. }
  179. return 0
  180. }
  181. func (x *BuyProductList) GetProvinceCount() int64 {
  182. if x != nil {
  183. return x.ProvinceCount
  184. }
  185. return 0
  186. }
  187. func (x *BuyProductList) GetEndTime() string {
  188. if x != nil {
  189. return x.EndTime
  190. }
  191. return ""
  192. }
  193. type UsePersonListReq struct {
  194. state protoimpl.MessageState
  195. sizeCache protoimpl.SizeCache
  196. unknownFields protoimpl.UnknownFields
  197. WaitEmpowerId int64 `protobuf:"varint,1,opt,name=wait_empower_id,json=waitEmpowerId,proto3" json:"wait_empower_id,omitempty"`
  198. }
  199. func (x *UsePersonListReq) Reset() {
  200. *x = UsePersonListReq{}
  201. if protoimpl.UnsafeEnabled {
  202. mi := &file_entManageApplication_proto_msgTypes[3]
  203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  204. ms.StoreMessageInfo(mi)
  205. }
  206. }
  207. func (x *UsePersonListReq) String() string {
  208. return protoimpl.X.MessageStringOf(x)
  209. }
  210. func (*UsePersonListReq) ProtoMessage() {}
  211. func (x *UsePersonListReq) ProtoReflect() protoreflect.Message {
  212. mi := &file_entManageApplication_proto_msgTypes[3]
  213. if protoimpl.UnsafeEnabled && x != nil {
  214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  215. if ms.LoadMessageInfo() == nil {
  216. ms.StoreMessageInfo(mi)
  217. }
  218. return ms
  219. }
  220. return mi.MessageOf(x)
  221. }
  222. // Deprecated: Use UsePersonListReq.ProtoReflect.Descriptor instead.
  223. func (*UsePersonListReq) Descriptor() ([]byte, []int) {
  224. return file_entManageApplication_proto_rawDescGZIP(), []int{3}
  225. }
  226. func (x *UsePersonListReq) GetWaitEmpowerId() int64 {
  227. if x != nil {
  228. return x.WaitEmpowerId
  229. }
  230. return 0
  231. }
  232. type UsePersonListResp struct {
  233. state protoimpl.MessageState
  234. sizeCache protoimpl.SizeCache
  235. unknownFields protoimpl.UnknownFields
  236. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  237. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  238. Data []*UsePersonList `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
  239. }
  240. func (x *UsePersonListResp) Reset() {
  241. *x = UsePersonListResp{}
  242. if protoimpl.UnsafeEnabled {
  243. mi := &file_entManageApplication_proto_msgTypes[4]
  244. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  245. ms.StoreMessageInfo(mi)
  246. }
  247. }
  248. func (x *UsePersonListResp) String() string {
  249. return protoimpl.X.MessageStringOf(x)
  250. }
  251. func (*UsePersonListResp) ProtoMessage() {}
  252. func (x *UsePersonListResp) ProtoReflect() protoreflect.Message {
  253. mi := &file_entManageApplication_proto_msgTypes[4]
  254. if protoimpl.UnsafeEnabled && x != nil {
  255. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  256. if ms.LoadMessageInfo() == nil {
  257. ms.StoreMessageInfo(mi)
  258. }
  259. return ms
  260. }
  261. return mi.MessageOf(x)
  262. }
  263. // Deprecated: Use UsePersonListResp.ProtoReflect.Descriptor instead.
  264. func (*UsePersonListResp) Descriptor() ([]byte, []int) {
  265. return file_entManageApplication_proto_rawDescGZIP(), []int{4}
  266. }
  267. func (x *UsePersonListResp) GetErrorCode() int64 {
  268. if x != nil {
  269. return x.ErrorCode
  270. }
  271. return 0
  272. }
  273. func (x *UsePersonListResp) GetErrorMsg() string {
  274. if x != nil {
  275. return x.ErrorMsg
  276. }
  277. return ""
  278. }
  279. func (x *UsePersonListResp) GetData() []*UsePersonList {
  280. if x != nil {
  281. return x.Data
  282. }
  283. return nil
  284. }
  285. type UsePersonList struct {
  286. state protoimpl.MessageState
  287. sizeCache protoimpl.SizeCache
  288. unknownFields protoimpl.UnknownFields
  289. EntnichePowerId int64 `protobuf:"varint,1,opt,name=entniche_power_id,json=entnichePowerId,proto3" json:"entniche_power_id,omitempty"`
  290. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  291. Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
  292. Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
  293. Department string `protobuf:"bytes,5,opt,name=department,proto3" json:"department,omitempty"`
  294. Role string `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"`
  295. }
  296. func (x *UsePersonList) Reset() {
  297. *x = UsePersonList{}
  298. if protoimpl.UnsafeEnabled {
  299. mi := &file_entManageApplication_proto_msgTypes[5]
  300. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  301. ms.StoreMessageInfo(mi)
  302. }
  303. }
  304. func (x *UsePersonList) String() string {
  305. return protoimpl.X.MessageStringOf(x)
  306. }
  307. func (*UsePersonList) ProtoMessage() {}
  308. func (x *UsePersonList) ProtoReflect() protoreflect.Message {
  309. mi := &file_entManageApplication_proto_msgTypes[5]
  310. if protoimpl.UnsafeEnabled && x != nil {
  311. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  312. if ms.LoadMessageInfo() == nil {
  313. ms.StoreMessageInfo(mi)
  314. }
  315. return ms
  316. }
  317. return mi.MessageOf(x)
  318. }
  319. // Deprecated: Use UsePersonList.ProtoReflect.Descriptor instead.
  320. func (*UsePersonList) Descriptor() ([]byte, []int) {
  321. return file_entManageApplication_proto_rawDescGZIP(), []int{5}
  322. }
  323. func (x *UsePersonList) GetEntnichePowerId() int64 {
  324. if x != nil {
  325. return x.EntnichePowerId
  326. }
  327. return 0
  328. }
  329. func (x *UsePersonList) GetName() string {
  330. if x != nil {
  331. return x.Name
  332. }
  333. return ""
  334. }
  335. func (x *UsePersonList) GetEmail() string {
  336. if x != nil {
  337. return x.Email
  338. }
  339. return ""
  340. }
  341. func (x *UsePersonList) GetPhone() string {
  342. if x != nil {
  343. return x.Phone
  344. }
  345. return ""
  346. }
  347. func (x *UsePersonList) GetDepartment() string {
  348. if x != nil {
  349. return x.Department
  350. }
  351. return ""
  352. }
  353. func (x *UsePersonList) GetRole() string {
  354. if x != nil {
  355. return x.Role
  356. }
  357. return ""
  358. }
  359. type AddUsePersonReq struct {
  360. state protoimpl.MessageState
  361. sizeCache protoimpl.SizeCache
  362. unknownFields protoimpl.UnknownFields
  363. WaitEmpowerId int64 `protobuf:"varint,1,opt,name=wait_empower_id,json=waitEmpowerId,proto3" json:"wait_empower_id,omitempty"`
  364. EntUserId int64 `protobuf:"varint,2,opt,name=ent_user_id,json=entUserId,proto3" json:"ent_user_id,omitempty"`
  365. EntId int64 `protobuf:"varint,3,opt,name=entId,proto3" json:"entId,omitempty"`
  366. }
  367. func (x *AddUsePersonReq) Reset() {
  368. *x = AddUsePersonReq{}
  369. if protoimpl.UnsafeEnabled {
  370. mi := &file_entManageApplication_proto_msgTypes[6]
  371. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  372. ms.StoreMessageInfo(mi)
  373. }
  374. }
  375. func (x *AddUsePersonReq) String() string {
  376. return protoimpl.X.MessageStringOf(x)
  377. }
  378. func (*AddUsePersonReq) ProtoMessage() {}
  379. func (x *AddUsePersonReq) ProtoReflect() protoreflect.Message {
  380. mi := &file_entManageApplication_proto_msgTypes[6]
  381. if protoimpl.UnsafeEnabled && x != nil {
  382. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  383. if ms.LoadMessageInfo() == nil {
  384. ms.StoreMessageInfo(mi)
  385. }
  386. return ms
  387. }
  388. return mi.MessageOf(x)
  389. }
  390. // Deprecated: Use AddUsePersonReq.ProtoReflect.Descriptor instead.
  391. func (*AddUsePersonReq) Descriptor() ([]byte, []int) {
  392. return file_entManageApplication_proto_rawDescGZIP(), []int{6}
  393. }
  394. func (x *AddUsePersonReq) GetWaitEmpowerId() int64 {
  395. if x != nil {
  396. return x.WaitEmpowerId
  397. }
  398. return 0
  399. }
  400. func (x *AddUsePersonReq) GetEntUserId() int64 {
  401. if x != nil {
  402. return x.EntUserId
  403. }
  404. return 0
  405. }
  406. func (x *AddUsePersonReq) GetEntId() int64 {
  407. if x != nil {
  408. return x.EntId
  409. }
  410. return 0
  411. }
  412. type AddUsePersonResp struct {
  413. state protoimpl.MessageState
  414. sizeCache protoimpl.SizeCache
  415. unknownFields protoimpl.UnknownFields
  416. ErrorCode int64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  417. ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
  418. Data *AddUsePerson `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  419. }
  420. func (x *AddUsePersonResp) Reset() {
  421. *x = AddUsePersonResp{}
  422. if protoimpl.UnsafeEnabled {
  423. mi := &file_entManageApplication_proto_msgTypes[7]
  424. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  425. ms.StoreMessageInfo(mi)
  426. }
  427. }
  428. func (x *AddUsePersonResp) String() string {
  429. return protoimpl.X.MessageStringOf(x)
  430. }
  431. func (*AddUsePersonResp) ProtoMessage() {}
  432. func (x *AddUsePersonResp) ProtoReflect() protoreflect.Message {
  433. mi := &file_entManageApplication_proto_msgTypes[7]
  434. if protoimpl.UnsafeEnabled && x != nil {
  435. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  436. if ms.LoadMessageInfo() == nil {
  437. ms.StoreMessageInfo(mi)
  438. }
  439. return ms
  440. }
  441. return mi.MessageOf(x)
  442. }
  443. // Deprecated: Use AddUsePersonResp.ProtoReflect.Descriptor instead.
  444. func (*AddUsePersonResp) Descriptor() ([]byte, []int) {
  445. return file_entManageApplication_proto_rawDescGZIP(), []int{7}
  446. }
  447. func (x *AddUsePersonResp) GetErrorCode() int64 {
  448. if x != nil {
  449. return x.ErrorCode
  450. }
  451. return 0
  452. }
  453. func (x *AddUsePersonResp) GetErrorMsg() string {
  454. if x != nil {
  455. return x.ErrorMsg
  456. }
  457. return ""
  458. }
  459. func (x *AddUsePersonResp) GetData() *AddUsePerson {
  460. if x != nil {
  461. return x.Data
  462. }
  463. return nil
  464. }
  465. type AddUsePerson struct {
  466. state protoimpl.MessageState
  467. sizeCache protoimpl.SizeCache
  468. unknownFields protoimpl.UnknownFields
  469. Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
  470. }
  471. func (x *AddUsePerson) Reset() {
  472. *x = AddUsePerson{}
  473. if protoimpl.UnsafeEnabled {
  474. mi := &file_entManageApplication_proto_msgTypes[8]
  475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  476. ms.StoreMessageInfo(mi)
  477. }
  478. }
  479. func (x *AddUsePerson) String() string {
  480. return protoimpl.X.MessageStringOf(x)
  481. }
  482. func (*AddUsePerson) ProtoMessage() {}
  483. func (x *AddUsePerson) ProtoReflect() protoreflect.Message {
  484. mi := &file_entManageApplication_proto_msgTypes[8]
  485. if protoimpl.UnsafeEnabled && x != nil {
  486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  487. if ms.LoadMessageInfo() == nil {
  488. ms.StoreMessageInfo(mi)
  489. }
  490. return ms
  491. }
  492. return mi.MessageOf(x)
  493. }
  494. // Deprecated: Use AddUsePerson.ProtoReflect.Descriptor instead.
  495. func (*AddUsePerson) Descriptor() ([]byte, []int) {
  496. return file_entManageApplication_proto_rawDescGZIP(), []int{8}
  497. }
  498. func (x *AddUsePerson) GetStatus() int64 {
  499. if x != nil {
  500. return x.Status
  501. }
  502. return 0
  503. }
  504. type DelUsePersonReq struct {
  505. state protoimpl.MessageState
  506. sizeCache protoimpl.SizeCache
  507. unknownFields protoimpl.UnknownFields
  508. EntnichePowerId int64 `protobuf:"varint,1,opt,name=entniche_power_id,json=entnichePowerId,proto3" json:"entniche_power_id,omitempty"`
  509. }
  510. func (x *DelUsePersonReq) Reset() {
  511. *x = DelUsePersonReq{}
  512. if protoimpl.UnsafeEnabled {
  513. mi := &file_entManageApplication_proto_msgTypes[9]
  514. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  515. ms.StoreMessageInfo(mi)
  516. }
  517. }
  518. func (x *DelUsePersonReq) String() string {
  519. return protoimpl.X.MessageStringOf(x)
  520. }
  521. func (*DelUsePersonReq) ProtoMessage() {}
  522. func (x *DelUsePersonReq) ProtoReflect() protoreflect.Message {
  523. mi := &file_entManageApplication_proto_msgTypes[9]
  524. if protoimpl.UnsafeEnabled && x != nil {
  525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  526. if ms.LoadMessageInfo() == nil {
  527. ms.StoreMessageInfo(mi)
  528. }
  529. return ms
  530. }
  531. return mi.MessageOf(x)
  532. }
  533. // Deprecated: Use DelUsePersonReq.ProtoReflect.Descriptor instead.
  534. func (*DelUsePersonReq) Descriptor() ([]byte, []int) {
  535. return file_entManageApplication_proto_rawDescGZIP(), []int{9}
  536. }
  537. func (x *DelUsePersonReq) GetEntnichePowerId() int64 {
  538. if x != nil {
  539. return x.EntnichePowerId
  540. }
  541. return 0
  542. }
  543. var File_entManageApplication_proto protoreflect.FileDescriptor
  544. var file_entManageApplication_proto_rawDesc = []byte{
  545. 0x0a, 0x1a, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69,
  546. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x11,
  547. 0x42, 0x75, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  548. 0x71, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  549. 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x75, 0x0a, 0x12, 0x42, 0x75, 0x79, 0x50, 0x72,
  550. 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a,
  551. 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  552. 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09,
  553. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  554. 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x23, 0x0a, 0x04, 0x64, 0x61, 0x74,
  555. 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x42, 0x75, 0x79, 0x50, 0x72, 0x6f,
  556. 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xdf,
  557. 0x01, 0x0a, 0x0e, 0x42, 0x75, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73,
  558. 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x6f, 0x77, 0x65,
  559. 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77, 0x61, 0x69, 0x74,
  560. 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f,
  561. 0x64, 0x75, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  562. 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09,
  563. 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  564. 0x08, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70,
  565. 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
  566. 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25,
  567. 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  568. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65,
  569. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d,
  570. 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
  571. 0x22, 0x3a, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73,
  572. 0x74, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x65, 0x6d, 0x70,
  573. 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77,
  574. 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x22, 0x73, 0x0a, 0x11,
  575. 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
  576. 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
  577. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65,
  578. 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
  579. 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x22, 0x0a,
  580. 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x55, 0x73,
  581. 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74,
  582. 0x61, 0x22, 0xaf, 0x01, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c,
  583. 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x5f,
  584. 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f,
  585. 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12,
  586. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  587. 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01,
  588. 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
  589. 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12,
  590. 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
  591. 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12,
  592. 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72,
  593. 0x6f, 0x6c, 0x65, 0x22, 0x6f, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72,
  594. 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0f, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x65,
  595. 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  596. 0x0d, 0x77, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e,
  597. 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
  598. 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14,
  599. 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65,
  600. 0x6e, 0x74, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65,
  601. 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f,
  602. 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72,
  603. 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72,
  604. 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f,
  605. 0x72, 0x4d, 0x73, 0x67, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
  606. 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f,
  607. 0x6e, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x26, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x55, 0x73,
  608. 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
  609. 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
  610. 0x3d, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52,
  611. 0x65, 0x71, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x5f, 0x70,
  612. 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x65,
  613. 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x64, 0x32, 0xf3,
  614. 0x01, 0x0a, 0x14, 0x45, 0x6e, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x41, 0x70, 0x70, 0x6c,
  615. 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0e, 0x62, 0x75, 0x79, 0x50, 0x72,
  616. 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x42, 0x75, 0x79, 0x50,
  617. 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e,
  618. 0x42, 0x75, 0x79, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  619. 0x73, 0x70, 0x12, 0x36, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c,
  620. 0x69, 0x73, 0x74, 0x12, 0x11, 0x2e, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4c,
  621. 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73,
  622. 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x33, 0x0a, 0x0c, 0x61, 0x64,
  623. 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x10, 0x2e, 0x41, 0x64, 0x64,
  624. 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x41,
  625. 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
  626. 0x33, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12,
  627. 0x10, 0x2e, 0x44, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65,
  628. 0x71, 0x1a, 0x11, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  629. 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
  630. 0x6f, 0x74, 0x6f, 0x33,
  631. }
  632. var (
  633. file_entManageApplication_proto_rawDescOnce sync.Once
  634. file_entManageApplication_proto_rawDescData = file_entManageApplication_proto_rawDesc
  635. )
  636. func file_entManageApplication_proto_rawDescGZIP() []byte {
  637. file_entManageApplication_proto_rawDescOnce.Do(func() {
  638. file_entManageApplication_proto_rawDescData = protoimpl.X.CompressGZIP(file_entManageApplication_proto_rawDescData)
  639. })
  640. return file_entManageApplication_proto_rawDescData
  641. }
  642. var file_entManageApplication_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  643. var file_entManageApplication_proto_goTypes = []interface{}{
  644. (*BuyProductListReq)(nil), // 0: BuyProductListReq
  645. (*BuyProductListResp)(nil), // 1: BuyProductListResp
  646. (*BuyProductList)(nil), // 2: BuyProductList
  647. (*UsePersonListReq)(nil), // 3: UsePersonListReq
  648. (*UsePersonListResp)(nil), // 4: UsePersonListResp
  649. (*UsePersonList)(nil), // 5: UsePersonList
  650. (*AddUsePersonReq)(nil), // 6: AddUsePersonReq
  651. (*AddUsePersonResp)(nil), // 7: AddUsePersonResp
  652. (*AddUsePerson)(nil), // 8: AddUsePerson
  653. (*DelUsePersonReq)(nil), // 9: DelUsePersonReq
  654. }
  655. var file_entManageApplication_proto_depIdxs = []int32{
  656. 2, // 0: BuyProductListResp.data:type_name -> BuyProductList
  657. 5, // 1: UsePersonListResp.data:type_name -> UsePersonList
  658. 8, // 2: AddUsePersonResp.data:type_name -> AddUsePerson
  659. 0, // 3: EntManageApplication.buyProductList:input_type -> BuyProductListReq
  660. 3, // 4: EntManageApplication.usePersonList:input_type -> UsePersonListReq
  661. 6, // 5: EntManageApplication.addUsePerson:input_type -> AddUsePersonReq
  662. 9, // 6: EntManageApplication.delUsePerson:input_type -> DelUsePersonReq
  663. 1, // 7: EntManageApplication.buyProductList:output_type -> BuyProductListResp
  664. 4, // 8: EntManageApplication.usePersonList:output_type -> UsePersonListResp
  665. 7, // 9: EntManageApplication.addUsePerson:output_type -> AddUsePersonResp
  666. 7, // 10: EntManageApplication.delUsePerson:output_type -> AddUsePersonResp
  667. 7, // [7:11] is the sub-list for method output_type
  668. 3, // [3:7] is the sub-list for method input_type
  669. 3, // [3:3] is the sub-list for extension type_name
  670. 3, // [3:3] is the sub-list for extension extendee
  671. 0, // [0:3] is the sub-list for field type_name
  672. }
  673. func init() { file_entManageApplication_proto_init() }
  674. func file_entManageApplication_proto_init() {
  675. if File_entManageApplication_proto != nil {
  676. return
  677. }
  678. if !protoimpl.UnsafeEnabled {
  679. file_entManageApplication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  680. switch v := v.(*BuyProductListReq); i {
  681. case 0:
  682. return &v.state
  683. case 1:
  684. return &v.sizeCache
  685. case 2:
  686. return &v.unknownFields
  687. default:
  688. return nil
  689. }
  690. }
  691. file_entManageApplication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  692. switch v := v.(*BuyProductListResp); i {
  693. case 0:
  694. return &v.state
  695. case 1:
  696. return &v.sizeCache
  697. case 2:
  698. return &v.unknownFields
  699. default:
  700. return nil
  701. }
  702. }
  703. file_entManageApplication_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  704. switch v := v.(*BuyProductList); i {
  705. case 0:
  706. return &v.state
  707. case 1:
  708. return &v.sizeCache
  709. case 2:
  710. return &v.unknownFields
  711. default:
  712. return nil
  713. }
  714. }
  715. file_entManageApplication_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  716. switch v := v.(*UsePersonListReq); i {
  717. case 0:
  718. return &v.state
  719. case 1:
  720. return &v.sizeCache
  721. case 2:
  722. return &v.unknownFields
  723. default:
  724. return nil
  725. }
  726. }
  727. file_entManageApplication_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  728. switch v := v.(*UsePersonListResp); i {
  729. case 0:
  730. return &v.state
  731. case 1:
  732. return &v.sizeCache
  733. case 2:
  734. return &v.unknownFields
  735. default:
  736. return nil
  737. }
  738. }
  739. file_entManageApplication_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  740. switch v := v.(*UsePersonList); i {
  741. case 0:
  742. return &v.state
  743. case 1:
  744. return &v.sizeCache
  745. case 2:
  746. return &v.unknownFields
  747. default:
  748. return nil
  749. }
  750. }
  751. file_entManageApplication_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  752. switch v := v.(*AddUsePersonReq); i {
  753. case 0:
  754. return &v.state
  755. case 1:
  756. return &v.sizeCache
  757. case 2:
  758. return &v.unknownFields
  759. default:
  760. return nil
  761. }
  762. }
  763. file_entManageApplication_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  764. switch v := v.(*AddUsePersonResp); i {
  765. case 0:
  766. return &v.state
  767. case 1:
  768. return &v.sizeCache
  769. case 2:
  770. return &v.unknownFields
  771. default:
  772. return nil
  773. }
  774. }
  775. file_entManageApplication_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  776. switch v := v.(*AddUsePerson); i {
  777. case 0:
  778. return &v.state
  779. case 1:
  780. return &v.sizeCache
  781. case 2:
  782. return &v.unknownFields
  783. default:
  784. return nil
  785. }
  786. }
  787. file_entManageApplication_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  788. switch v := v.(*DelUsePersonReq); i {
  789. case 0:
  790. return &v.state
  791. case 1:
  792. return &v.sizeCache
  793. case 2:
  794. return &v.unknownFields
  795. default:
  796. return nil
  797. }
  798. }
  799. }
  800. type x struct{}
  801. out := protoimpl.TypeBuilder{
  802. File: protoimpl.DescBuilder{
  803. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  804. RawDescriptor: file_entManageApplication_proto_rawDesc,
  805. NumEnums: 0,
  806. NumMessages: 10,
  807. NumExtensions: 0,
  808. NumServices: 1,
  809. },
  810. GoTypes: file_entManageApplication_proto_goTypes,
  811. DependencyIndexes: file_entManageApplication_proto_depIdxs,
  812. MessageInfos: file_entManageApplication_proto_msgTypes,
  813. }.Build()
  814. File_entManageApplication_proto = out.File
  815. file_entManageApplication_proto_rawDesc = nil
  816. file_entManageApplication_proto_goTypes = nil
  817. file_entManageApplication_proto_depIdxs = nil
  818. }
  819. // Reference imports to suppress errors if they are not otherwise used.
  820. var _ context.Context
  821. var _ grpc.ClientConnInterface
  822. // This is a compile-time assertion to ensure that this generated file
  823. // is compatible with the grpc package it is being compiled against.
  824. const _ = grpc.SupportPackageIsVersion6
  825. // EntManageApplicationClient is the client API for EntManageApplication service.
  826. //
  827. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  828. type EntManageApplicationClient interface {
  829. BuyProductList(ctx context.Context, in *BuyProductListReq, opts ...grpc.CallOption) (*BuyProductListResp, error)
  830. UsePersonList(ctx context.Context, in *UsePersonListReq, opts ...grpc.CallOption) (*UsePersonListResp, error)
  831. AddUsePerson(ctx context.Context, in *AddUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error)
  832. DelUsePerson(ctx context.Context, in *DelUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error)
  833. }
  834. type entManageApplicationClient struct {
  835. cc grpc.ClientConnInterface
  836. }
  837. func NewEntManageApplicationClient(cc grpc.ClientConnInterface) EntManageApplicationClient {
  838. return &entManageApplicationClient{cc}
  839. }
  840. func (c *entManageApplicationClient) BuyProductList(ctx context.Context, in *BuyProductListReq, opts ...grpc.CallOption) (*BuyProductListResp, error) {
  841. out := new(BuyProductListResp)
  842. err := c.cc.Invoke(ctx, "/EntManageApplication/buyProductList", in, out, opts...)
  843. if err != nil {
  844. return nil, err
  845. }
  846. return out, nil
  847. }
  848. func (c *entManageApplicationClient) UsePersonList(ctx context.Context, in *UsePersonListReq, opts ...grpc.CallOption) (*UsePersonListResp, error) {
  849. out := new(UsePersonListResp)
  850. err := c.cc.Invoke(ctx, "/EntManageApplication/usePersonList", in, out, opts...)
  851. if err != nil {
  852. return nil, err
  853. }
  854. return out, nil
  855. }
  856. func (c *entManageApplicationClient) AddUsePerson(ctx context.Context, in *AddUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error) {
  857. out := new(AddUsePersonResp)
  858. err := c.cc.Invoke(ctx, "/EntManageApplication/addUsePerson", in, out, opts...)
  859. if err != nil {
  860. return nil, err
  861. }
  862. return out, nil
  863. }
  864. func (c *entManageApplicationClient) DelUsePerson(ctx context.Context, in *DelUsePersonReq, opts ...grpc.CallOption) (*AddUsePersonResp, error) {
  865. out := new(AddUsePersonResp)
  866. err := c.cc.Invoke(ctx, "/EntManageApplication/delUsePerson", in, out, opts...)
  867. if err != nil {
  868. return nil, err
  869. }
  870. return out, nil
  871. }
  872. // EntManageApplicationServer is the server API for EntManageApplication service.
  873. type EntManageApplicationServer interface {
  874. BuyProductList(context.Context, *BuyProductListReq) (*BuyProductListResp, error)
  875. UsePersonList(context.Context, *UsePersonListReq) (*UsePersonListResp, error)
  876. AddUsePerson(context.Context, *AddUsePersonReq) (*AddUsePersonResp, error)
  877. DelUsePerson(context.Context, *DelUsePersonReq) (*AddUsePersonResp, error)
  878. }
  879. // UnimplementedEntManageApplicationServer can be embedded to have forward compatible implementations.
  880. type UnimplementedEntManageApplicationServer struct {
  881. }
  882. func (*UnimplementedEntManageApplicationServer) BuyProductList(context.Context, *BuyProductListReq) (*BuyProductListResp, error) {
  883. return nil, status.Errorf(codes.Unimplemented, "method BuyProductList not implemented")
  884. }
  885. func (*UnimplementedEntManageApplicationServer) UsePersonList(context.Context, *UsePersonListReq) (*UsePersonListResp, error) {
  886. return nil, status.Errorf(codes.Unimplemented, "method UsePersonList not implemented")
  887. }
  888. func (*UnimplementedEntManageApplicationServer) AddUsePerson(context.Context, *AddUsePersonReq) (*AddUsePersonResp, error) {
  889. return nil, status.Errorf(codes.Unimplemented, "method AddUsePerson not implemented")
  890. }
  891. func (*UnimplementedEntManageApplicationServer) DelUsePerson(context.Context, *DelUsePersonReq) (*AddUsePersonResp, error) {
  892. return nil, status.Errorf(codes.Unimplemented, "method DelUsePerson not implemented")
  893. }
  894. func RegisterEntManageApplicationServer(s *grpc.Server, srv EntManageApplicationServer) {
  895. s.RegisterService(&_EntManageApplication_serviceDesc, srv)
  896. }
  897. func _EntManageApplication_BuyProductList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  898. in := new(BuyProductListReq)
  899. if err := dec(in); err != nil {
  900. return nil, err
  901. }
  902. if interceptor == nil {
  903. return srv.(EntManageApplicationServer).BuyProductList(ctx, in)
  904. }
  905. info := &grpc.UnaryServerInfo{
  906. Server: srv,
  907. FullMethod: "/EntManageApplication/BuyProductList",
  908. }
  909. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  910. return srv.(EntManageApplicationServer).BuyProductList(ctx, req.(*BuyProductListReq))
  911. }
  912. return interceptor(ctx, in, info, handler)
  913. }
  914. func _EntManageApplication_UsePersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  915. in := new(UsePersonListReq)
  916. if err := dec(in); err != nil {
  917. return nil, err
  918. }
  919. if interceptor == nil {
  920. return srv.(EntManageApplicationServer).UsePersonList(ctx, in)
  921. }
  922. info := &grpc.UnaryServerInfo{
  923. Server: srv,
  924. FullMethod: "/EntManageApplication/UsePersonList",
  925. }
  926. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  927. return srv.(EntManageApplicationServer).UsePersonList(ctx, req.(*UsePersonListReq))
  928. }
  929. return interceptor(ctx, in, info, handler)
  930. }
  931. func _EntManageApplication_AddUsePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  932. in := new(AddUsePersonReq)
  933. if err := dec(in); err != nil {
  934. return nil, err
  935. }
  936. if interceptor == nil {
  937. return srv.(EntManageApplicationServer).AddUsePerson(ctx, in)
  938. }
  939. info := &grpc.UnaryServerInfo{
  940. Server: srv,
  941. FullMethod: "/EntManageApplication/AddUsePerson",
  942. }
  943. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  944. return srv.(EntManageApplicationServer).AddUsePerson(ctx, req.(*AddUsePersonReq))
  945. }
  946. return interceptor(ctx, in, info, handler)
  947. }
  948. func _EntManageApplication_DelUsePerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  949. in := new(DelUsePersonReq)
  950. if err := dec(in); err != nil {
  951. return nil, err
  952. }
  953. if interceptor == nil {
  954. return srv.(EntManageApplicationServer).DelUsePerson(ctx, in)
  955. }
  956. info := &grpc.UnaryServerInfo{
  957. Server: srv,
  958. FullMethod: "/EntManageApplication/DelUsePerson",
  959. }
  960. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  961. return srv.(EntManageApplicationServer).DelUsePerson(ctx, req.(*DelUsePersonReq))
  962. }
  963. return interceptor(ctx, in, info, handler)
  964. }
  965. var _EntManageApplication_serviceDesc = grpc.ServiceDesc{
  966. ServiceName: "EntManageApplication",
  967. HandlerType: (*EntManageApplicationServer)(nil),
  968. Methods: []grpc.MethodDesc{
  969. {
  970. MethodName: "buyProductList",
  971. Handler: _EntManageApplication_BuyProductList_Handler,
  972. },
  973. {
  974. MethodName: "usePersonList",
  975. Handler: _EntManageApplication_UsePersonList_Handler,
  976. },
  977. {
  978. MethodName: "addUsePerson",
  979. Handler: _EntManageApplication_AddUsePerson_Handler,
  980. },
  981. {
  982. MethodName: "delUsePerson",
  983. Handler: _EntManageApplication_DelUsePerson_Handler,
  984. },
  985. },
  986. Streams: []grpc.StreamDesc{},
  987. Metadata: "entManageApplication.proto",
  988. }