system.pb.go 93 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.9
  5. // source: backend/operation/system.proto
  6. package operationPb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type CommonOK struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  24. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  25. Data *Success `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  26. }
  27. func (x *CommonOK) Reset() {
  28. *x = CommonOK{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_backend_operation_system_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *CommonOK) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*CommonOK) ProtoMessage() {}
  39. func (x *CommonOK) ProtoReflect() protoreflect.Message {
  40. mi := &file_backend_operation_system_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use CommonOK.ProtoReflect.Descriptor instead.
  51. func (*CommonOK) Descriptor() ([]byte, []int) {
  52. return file_backend_operation_system_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *CommonOK) GetCode() int32 {
  55. if x != nil {
  56. return x.Code
  57. }
  58. return 0
  59. }
  60. func (x *CommonOK) GetMsg() string {
  61. if x != nil {
  62. return x.Msg
  63. }
  64. return ""
  65. }
  66. func (x *CommonOK) GetData() *Success {
  67. if x != nil {
  68. return x.Data
  69. }
  70. return nil
  71. }
  72. type Success struct {
  73. state protoimpl.MessageState
  74. sizeCache protoimpl.SizeCache
  75. unknownFields protoimpl.UnknownFields
  76. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
  77. }
  78. func (x *Success) Reset() {
  79. *x = Success{}
  80. if protoimpl.UnsafeEnabled {
  81. mi := &file_backend_operation_system_proto_msgTypes[1]
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. ms.StoreMessageInfo(mi)
  84. }
  85. }
  86. func (x *Success) String() string {
  87. return protoimpl.X.MessageStringOf(x)
  88. }
  89. func (*Success) ProtoMessage() {}
  90. func (x *Success) ProtoReflect() protoreflect.Message {
  91. mi := &file_backend_operation_system_proto_msgTypes[1]
  92. if protoimpl.UnsafeEnabled && x != nil {
  93. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  94. if ms.LoadMessageInfo() == nil {
  95. ms.StoreMessageInfo(mi)
  96. }
  97. return ms
  98. }
  99. return mi.MessageOf(x)
  100. }
  101. // Deprecated: Use Success.ProtoReflect.Descriptor instead.
  102. func (*Success) Descriptor() ([]byte, []int) {
  103. return file_backend_operation_system_proto_rawDescGZIP(), []int{1}
  104. }
  105. func (x *Success) GetSuccess() bool {
  106. if x != nil {
  107. return x.Success
  108. }
  109. return false
  110. }
  111. type WxOpenId struct {
  112. state protoimpl.MessageState
  113. sizeCache protoimpl.SizeCache
  114. unknownFields protoimpl.UnknownFields
  115. Openid string `protobuf:"bytes,1,opt,name=openid,proto3" json:"openid,omitempty"`
  116. }
  117. func (x *WxOpenId) Reset() {
  118. *x = WxOpenId{}
  119. if protoimpl.UnsafeEnabled {
  120. mi := &file_backend_operation_system_proto_msgTypes[2]
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. ms.StoreMessageInfo(mi)
  123. }
  124. }
  125. func (x *WxOpenId) String() string {
  126. return protoimpl.X.MessageStringOf(x)
  127. }
  128. func (*WxOpenId) ProtoMessage() {}
  129. func (x *WxOpenId) ProtoReflect() protoreflect.Message {
  130. mi := &file_backend_operation_system_proto_msgTypes[2]
  131. if protoimpl.UnsafeEnabled && x != nil {
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. if ms.LoadMessageInfo() == nil {
  134. ms.StoreMessageInfo(mi)
  135. }
  136. return ms
  137. }
  138. return mi.MessageOf(x)
  139. }
  140. // Deprecated: Use WxOpenId.ProtoReflect.Descriptor instead.
  141. func (*WxOpenId) Descriptor() ([]byte, []int) {
  142. return file_backend_operation_system_proto_rawDescGZIP(), []int{2}
  143. }
  144. func (x *WxOpenId) GetOpenid() string {
  145. if x != nil {
  146. return x.Openid
  147. }
  148. return ""
  149. }
  150. // 用户角色
  151. type AddRoleRequest struct {
  152. state protoimpl.MessageState
  153. sizeCache protoimpl.SizeCache
  154. unknownFields protoimpl.UnknownFields
  155. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  156. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  157. Remarks string `protobuf:"bytes,3,opt,name=remarks,proto3" json:"remarks,omitempty"` // 角色备注
  158. IsShow IsShow_Kind `protobuf:"varint,4,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  159. PastureId []uint32 `protobuf:"varint,5,rep,packed,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  160. MenuId []uint32 `protobuf:"varint,6,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 菜单id
  161. MobileId []uint32 `protobuf:"varint,7,rep,packed,name=mobile_id,json=mobileId,proto3" json:"mobile_id,omitempty"` // 移动端id
  162. CreateUser string `protobuf:"bytes,8,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建用户
  163. CreatedAt uint32 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  164. CreatedAtFormat string `protobuf:"bytes,10,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  165. }
  166. func (x *AddRoleRequest) Reset() {
  167. *x = AddRoleRequest{}
  168. if protoimpl.UnsafeEnabled {
  169. mi := &file_backend_operation_system_proto_msgTypes[3]
  170. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  171. ms.StoreMessageInfo(mi)
  172. }
  173. }
  174. func (x *AddRoleRequest) String() string {
  175. return protoimpl.X.MessageStringOf(x)
  176. }
  177. func (*AddRoleRequest) ProtoMessage() {}
  178. func (x *AddRoleRequest) ProtoReflect() protoreflect.Message {
  179. mi := &file_backend_operation_system_proto_msgTypes[3]
  180. if protoimpl.UnsafeEnabled && x != nil {
  181. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  182. if ms.LoadMessageInfo() == nil {
  183. ms.StoreMessageInfo(mi)
  184. }
  185. return ms
  186. }
  187. return mi.MessageOf(x)
  188. }
  189. // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead.
  190. func (*AddRoleRequest) Descriptor() ([]byte, []int) {
  191. return file_backend_operation_system_proto_rawDescGZIP(), []int{3}
  192. }
  193. func (x *AddRoleRequest) GetId() uint32 {
  194. if x != nil {
  195. return x.Id
  196. }
  197. return 0
  198. }
  199. func (x *AddRoleRequest) GetName() string {
  200. if x != nil {
  201. return x.Name
  202. }
  203. return ""
  204. }
  205. func (x *AddRoleRequest) GetRemarks() string {
  206. if x != nil {
  207. return x.Remarks
  208. }
  209. return ""
  210. }
  211. func (x *AddRoleRequest) GetIsShow() IsShow_Kind {
  212. if x != nil {
  213. return x.IsShow
  214. }
  215. return IsShow_INVALID
  216. }
  217. func (x *AddRoleRequest) GetPastureId() []uint32 {
  218. if x != nil {
  219. return x.PastureId
  220. }
  221. return nil
  222. }
  223. func (x *AddRoleRequest) GetMenuId() []uint32 {
  224. if x != nil {
  225. return x.MenuId
  226. }
  227. return nil
  228. }
  229. func (x *AddRoleRequest) GetMobileId() []uint32 {
  230. if x != nil {
  231. return x.MobileId
  232. }
  233. return nil
  234. }
  235. func (x *AddRoleRequest) GetCreateUser() string {
  236. if x != nil {
  237. return x.CreateUser
  238. }
  239. return ""
  240. }
  241. func (x *AddRoleRequest) GetCreatedAt() uint32 {
  242. if x != nil {
  243. return x.CreatedAt
  244. }
  245. return 0
  246. }
  247. func (x *AddRoleRequest) GetCreatedAtFormat() string {
  248. if x != nil {
  249. return x.CreatedAtFormat
  250. }
  251. return ""
  252. }
  253. type SearchRoleRequest struct {
  254. state protoimpl.MessageState
  255. sizeCache protoimpl.SizeCache
  256. unknownFields protoimpl.UnknownFields
  257. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  258. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  259. }
  260. func (x *SearchRoleRequest) Reset() {
  261. *x = SearchRoleRequest{}
  262. if protoimpl.UnsafeEnabled {
  263. mi := &file_backend_operation_system_proto_msgTypes[4]
  264. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  265. ms.StoreMessageInfo(mi)
  266. }
  267. }
  268. func (x *SearchRoleRequest) String() string {
  269. return protoimpl.X.MessageStringOf(x)
  270. }
  271. func (*SearchRoleRequest) ProtoMessage() {}
  272. func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message {
  273. mi := &file_backend_operation_system_proto_msgTypes[4]
  274. if protoimpl.UnsafeEnabled && x != nil {
  275. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  276. if ms.LoadMessageInfo() == nil {
  277. ms.StoreMessageInfo(mi)
  278. }
  279. return ms
  280. }
  281. return mi.MessageOf(x)
  282. }
  283. // Deprecated: Use SearchRoleRequest.ProtoReflect.Descriptor instead.
  284. func (*SearchRoleRequest) Descriptor() ([]byte, []int) {
  285. return file_backend_operation_system_proto_rawDescGZIP(), []int{4}
  286. }
  287. func (x *SearchRoleRequest) GetName() string {
  288. if x != nil {
  289. return x.Name
  290. }
  291. return ""
  292. }
  293. func (x *SearchRoleRequest) GetPagination() *PaginationModel {
  294. if x != nil {
  295. return x.Pagination
  296. }
  297. return nil
  298. }
  299. type SearchRoleResponse struct {
  300. state protoimpl.MessageState
  301. sizeCache protoimpl.SizeCache
  302. unknownFields protoimpl.UnknownFields
  303. Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  304. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  305. Data *SearchRoleData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  306. }
  307. func (x *SearchRoleResponse) Reset() {
  308. *x = SearchRoleResponse{}
  309. if protoimpl.UnsafeEnabled {
  310. mi := &file_backend_operation_system_proto_msgTypes[5]
  311. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  312. ms.StoreMessageInfo(mi)
  313. }
  314. }
  315. func (x *SearchRoleResponse) String() string {
  316. return protoimpl.X.MessageStringOf(x)
  317. }
  318. func (*SearchRoleResponse) ProtoMessage() {}
  319. func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message {
  320. mi := &file_backend_operation_system_proto_msgTypes[5]
  321. if protoimpl.UnsafeEnabled && x != nil {
  322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  323. if ms.LoadMessageInfo() == nil {
  324. ms.StoreMessageInfo(mi)
  325. }
  326. return ms
  327. }
  328. return mi.MessageOf(x)
  329. }
  330. // Deprecated: Use SearchRoleResponse.ProtoReflect.Descriptor instead.
  331. func (*SearchRoleResponse) Descriptor() ([]byte, []int) {
  332. return file_backend_operation_system_proto_rawDescGZIP(), []int{5}
  333. }
  334. func (x *SearchRoleResponse) GetCode() uint32 {
  335. if x != nil {
  336. return x.Code
  337. }
  338. return 0
  339. }
  340. func (x *SearchRoleResponse) GetMsg() string {
  341. if x != nil {
  342. return x.Msg
  343. }
  344. return ""
  345. }
  346. func (x *SearchRoleResponse) GetData() *SearchRoleData {
  347. if x != nil {
  348. return x.Data
  349. }
  350. return nil
  351. }
  352. type SearchRoleData struct {
  353. state protoimpl.MessageState
  354. sizeCache protoimpl.SizeCache
  355. unknownFields protoimpl.UnknownFields
  356. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  357. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  358. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  359. List []*AddRoleRequest `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  360. }
  361. func (x *SearchRoleData) Reset() {
  362. *x = SearchRoleData{}
  363. if protoimpl.UnsafeEnabled {
  364. mi := &file_backend_operation_system_proto_msgTypes[6]
  365. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  366. ms.StoreMessageInfo(mi)
  367. }
  368. }
  369. func (x *SearchRoleData) String() string {
  370. return protoimpl.X.MessageStringOf(x)
  371. }
  372. func (*SearchRoleData) ProtoMessage() {}
  373. func (x *SearchRoleData) ProtoReflect() protoreflect.Message {
  374. mi := &file_backend_operation_system_proto_msgTypes[6]
  375. if protoimpl.UnsafeEnabled && x != nil {
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. if ms.LoadMessageInfo() == nil {
  378. ms.StoreMessageInfo(mi)
  379. }
  380. return ms
  381. }
  382. return mi.MessageOf(x)
  383. }
  384. // Deprecated: Use SearchRoleData.ProtoReflect.Descriptor instead.
  385. func (*SearchRoleData) Descriptor() ([]byte, []int) {
  386. return file_backend_operation_system_proto_rawDescGZIP(), []int{6}
  387. }
  388. func (x *SearchRoleData) GetPage() int32 {
  389. if x != nil {
  390. return x.Page
  391. }
  392. return 0
  393. }
  394. func (x *SearchRoleData) GetTotal() int32 {
  395. if x != nil {
  396. return x.Total
  397. }
  398. return 0
  399. }
  400. func (x *SearchRoleData) GetPageSize() int32 {
  401. if x != nil {
  402. return x.PageSize
  403. }
  404. return 0
  405. }
  406. func (x *SearchRoleData) GetList() []*AddRoleRequest {
  407. if x != nil {
  408. return x.List
  409. }
  410. return nil
  411. }
  412. // 角色对应权限列表
  413. type RolePermissionsList struct {
  414. state protoimpl.MessageState
  415. sizeCache protoimpl.SizeCache
  416. unknownFields protoimpl.UnknownFields
  417. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  418. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  419. Data *RolePermissionsData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  420. }
  421. func (x *RolePermissionsList) Reset() {
  422. *x = RolePermissionsList{}
  423. if protoimpl.UnsafeEnabled {
  424. mi := &file_backend_operation_system_proto_msgTypes[7]
  425. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  426. ms.StoreMessageInfo(mi)
  427. }
  428. }
  429. func (x *RolePermissionsList) String() string {
  430. return protoimpl.X.MessageStringOf(x)
  431. }
  432. func (*RolePermissionsList) ProtoMessage() {}
  433. func (x *RolePermissionsList) ProtoReflect() protoreflect.Message {
  434. mi := &file_backend_operation_system_proto_msgTypes[7]
  435. if protoimpl.UnsafeEnabled && x != nil {
  436. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  437. if ms.LoadMessageInfo() == nil {
  438. ms.StoreMessageInfo(mi)
  439. }
  440. return ms
  441. }
  442. return mi.MessageOf(x)
  443. }
  444. // Deprecated: Use RolePermissionsList.ProtoReflect.Descriptor instead.
  445. func (*RolePermissionsList) Descriptor() ([]byte, []int) {
  446. return file_backend_operation_system_proto_rawDescGZIP(), []int{7}
  447. }
  448. func (x *RolePermissionsList) GetCode() int32 {
  449. if x != nil {
  450. return x.Code
  451. }
  452. return 0
  453. }
  454. func (x *RolePermissionsList) GetMsg() string {
  455. if x != nil {
  456. return x.Msg
  457. }
  458. return ""
  459. }
  460. func (x *RolePermissionsList) GetData() *RolePermissionsData {
  461. if x != nil {
  462. return x.Data
  463. }
  464. return nil
  465. }
  466. type RolePermissionsData struct {
  467. state protoimpl.MessageState
  468. sizeCache protoimpl.SizeCache
  469. unknownFields protoimpl.UnknownFields
  470. MobileList []uint32 `protobuf:"varint,1,rep,packed,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限id
  471. PastureList []uint32 `protobuf:"varint,2,rep,packed,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场端列表
  472. MenuList []uint32 `protobuf:"varint,3,rep,packed,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 后端权限列表
  473. }
  474. func (x *RolePermissionsData) Reset() {
  475. *x = RolePermissionsData{}
  476. if protoimpl.UnsafeEnabled {
  477. mi := &file_backend_operation_system_proto_msgTypes[8]
  478. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  479. ms.StoreMessageInfo(mi)
  480. }
  481. }
  482. func (x *RolePermissionsData) String() string {
  483. return protoimpl.X.MessageStringOf(x)
  484. }
  485. func (*RolePermissionsData) ProtoMessage() {}
  486. func (x *RolePermissionsData) ProtoReflect() protoreflect.Message {
  487. mi := &file_backend_operation_system_proto_msgTypes[8]
  488. if protoimpl.UnsafeEnabled && x != nil {
  489. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  490. if ms.LoadMessageInfo() == nil {
  491. ms.StoreMessageInfo(mi)
  492. }
  493. return ms
  494. }
  495. return mi.MessageOf(x)
  496. }
  497. // Deprecated: Use RolePermissionsData.ProtoReflect.Descriptor instead.
  498. func (*RolePermissionsData) Descriptor() ([]byte, []int) {
  499. return file_backend_operation_system_proto_rawDescGZIP(), []int{8}
  500. }
  501. func (x *RolePermissionsData) GetMobileList() []uint32 {
  502. if x != nil {
  503. return x.MobileList
  504. }
  505. return nil
  506. }
  507. func (x *RolePermissionsData) GetPastureList() []uint32 {
  508. if x != nil {
  509. return x.PastureList
  510. }
  511. return nil
  512. }
  513. func (x *RolePermissionsData) GetMenuList() []uint32 {
  514. if x != nil {
  515. return x.MenuList
  516. }
  517. return nil
  518. }
  519. // 用户token
  520. type SystemToken struct {
  521. state protoimpl.MessageState
  522. sizeCache protoimpl.SizeCache
  523. unknownFields protoimpl.UnknownFields
  524. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  525. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  526. Data *TokenData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  527. }
  528. func (x *SystemToken) Reset() {
  529. *x = SystemToken{}
  530. if protoimpl.UnsafeEnabled {
  531. mi := &file_backend_operation_system_proto_msgTypes[9]
  532. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  533. ms.StoreMessageInfo(mi)
  534. }
  535. }
  536. func (x *SystemToken) String() string {
  537. return protoimpl.X.MessageStringOf(x)
  538. }
  539. func (*SystemToken) ProtoMessage() {}
  540. func (x *SystemToken) ProtoReflect() protoreflect.Message {
  541. mi := &file_backend_operation_system_proto_msgTypes[9]
  542. if protoimpl.UnsafeEnabled && x != nil {
  543. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  544. if ms.LoadMessageInfo() == nil {
  545. ms.StoreMessageInfo(mi)
  546. }
  547. return ms
  548. }
  549. return mi.MessageOf(x)
  550. }
  551. // Deprecated: Use SystemToken.ProtoReflect.Descriptor instead.
  552. func (*SystemToken) Descriptor() ([]byte, []int) {
  553. return file_backend_operation_system_proto_rawDescGZIP(), []int{9}
  554. }
  555. func (x *SystemToken) GetCode() int32 {
  556. if x != nil {
  557. return x.Code
  558. }
  559. return 0
  560. }
  561. func (x *SystemToken) GetMsg() string {
  562. if x != nil {
  563. return x.Msg
  564. }
  565. return ""
  566. }
  567. func (x *SystemToken) GetData() *TokenData {
  568. if x != nil {
  569. return x.Data
  570. }
  571. return nil
  572. }
  573. type TokenData struct {
  574. state protoimpl.MessageState
  575. sizeCache protoimpl.SizeCache
  576. unknownFields protoimpl.UnknownFields
  577. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  578. }
  579. func (x *TokenData) Reset() {
  580. *x = TokenData{}
  581. if protoimpl.UnsafeEnabled {
  582. mi := &file_backend_operation_system_proto_msgTypes[10]
  583. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  584. ms.StoreMessageInfo(mi)
  585. }
  586. }
  587. func (x *TokenData) String() string {
  588. return protoimpl.X.MessageStringOf(x)
  589. }
  590. func (*TokenData) ProtoMessage() {}
  591. func (x *TokenData) ProtoReflect() protoreflect.Message {
  592. mi := &file_backend_operation_system_proto_msgTypes[10]
  593. if protoimpl.UnsafeEnabled && x != nil {
  594. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  595. if ms.LoadMessageInfo() == nil {
  596. ms.StoreMessageInfo(mi)
  597. }
  598. return ms
  599. }
  600. return mi.MessageOf(x)
  601. }
  602. // Deprecated: Use TokenData.ProtoReflect.Descriptor instead.
  603. func (*TokenData) Descriptor() ([]byte, []int) {
  604. return file_backend_operation_system_proto_rawDescGZIP(), []int{10}
  605. }
  606. func (x *TokenData) GetToken() string {
  607. if x != nil {
  608. return x.Token
  609. }
  610. return ""
  611. }
  612. // 用户登录
  613. type UserAuth struct {
  614. state protoimpl.MessageState
  615. sizeCache protoimpl.SizeCache
  616. unknownFields protoimpl.UnknownFields
  617. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  618. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  619. Data *UserAuthData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  620. }
  621. func (x *UserAuth) Reset() {
  622. *x = UserAuth{}
  623. if protoimpl.UnsafeEnabled {
  624. mi := &file_backend_operation_system_proto_msgTypes[11]
  625. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  626. ms.StoreMessageInfo(mi)
  627. }
  628. }
  629. func (x *UserAuth) String() string {
  630. return protoimpl.X.MessageStringOf(x)
  631. }
  632. func (*UserAuth) ProtoMessage() {}
  633. func (x *UserAuth) ProtoReflect() protoreflect.Message {
  634. mi := &file_backend_operation_system_proto_msgTypes[11]
  635. if protoimpl.UnsafeEnabled && x != nil {
  636. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  637. if ms.LoadMessageInfo() == nil {
  638. ms.StoreMessageInfo(mi)
  639. }
  640. return ms
  641. }
  642. return mi.MessageOf(x)
  643. }
  644. // Deprecated: Use UserAuth.ProtoReflect.Descriptor instead.
  645. func (*UserAuth) Descriptor() ([]byte, []int) {
  646. return file_backend_operation_system_proto_rawDescGZIP(), []int{11}
  647. }
  648. func (x *UserAuth) GetCode() int32 {
  649. if x != nil {
  650. return x.Code
  651. }
  652. return 0
  653. }
  654. func (x *UserAuth) GetMsg() string {
  655. if x != nil {
  656. return x.Msg
  657. }
  658. return ""
  659. }
  660. func (x *UserAuth) GetData() *UserAuthData {
  661. if x != nil {
  662. return x.Data
  663. }
  664. return nil
  665. }
  666. type UserAuthData struct {
  667. state protoimpl.MessageState
  668. sizeCache protoimpl.SizeCache
  669. unknownFields protoimpl.UnknownFields
  670. UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 用户名称
  671. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 用户密码
  672. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  673. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 用户角色
  674. EmployeeName string `protobuf:"bytes,5,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工名称
  675. }
  676. func (x *UserAuthData) Reset() {
  677. *x = UserAuthData{}
  678. if protoimpl.UnsafeEnabled {
  679. mi := &file_backend_operation_system_proto_msgTypes[12]
  680. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  681. ms.StoreMessageInfo(mi)
  682. }
  683. }
  684. func (x *UserAuthData) String() string {
  685. return protoimpl.X.MessageStringOf(x)
  686. }
  687. func (*UserAuthData) ProtoMessage() {}
  688. func (x *UserAuthData) ProtoReflect() protoreflect.Message {
  689. mi := &file_backend_operation_system_proto_msgTypes[12]
  690. if protoimpl.UnsafeEnabled && x != nil {
  691. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  692. if ms.LoadMessageInfo() == nil {
  693. ms.StoreMessageInfo(mi)
  694. }
  695. return ms
  696. }
  697. return mi.MessageOf(x)
  698. }
  699. // Deprecated: Use UserAuthData.ProtoReflect.Descriptor instead.
  700. func (*UserAuthData) Descriptor() ([]byte, []int) {
  701. return file_backend_operation_system_proto_rawDescGZIP(), []int{12}
  702. }
  703. func (x *UserAuthData) GetUserName() string {
  704. if x != nil {
  705. return x.UserName
  706. }
  707. return ""
  708. }
  709. func (x *UserAuthData) GetPassword() string {
  710. if x != nil {
  711. return x.Password
  712. }
  713. return ""
  714. }
  715. func (x *UserAuthData) GetPhone() string {
  716. if x != nil {
  717. return x.Phone
  718. }
  719. return ""
  720. }
  721. func (x *UserAuthData) GetRoles() []*UserRole {
  722. if x != nil {
  723. return x.Roles
  724. }
  725. return nil
  726. }
  727. func (x *UserAuthData) GetEmployeeName() string {
  728. if x != nil {
  729. return x.EmployeeName
  730. }
  731. return ""
  732. }
  733. type UserRole struct {
  734. state protoimpl.MessageState
  735. sizeCache protoimpl.SizeCache
  736. unknownFields protoimpl.UnknownFields
  737. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 角色id
  738. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  739. }
  740. func (x *UserRole) Reset() {
  741. *x = UserRole{}
  742. if protoimpl.UnsafeEnabled {
  743. mi := &file_backend_operation_system_proto_msgTypes[13]
  744. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  745. ms.StoreMessageInfo(mi)
  746. }
  747. }
  748. func (x *UserRole) String() string {
  749. return protoimpl.X.MessageStringOf(x)
  750. }
  751. func (*UserRole) ProtoMessage() {}
  752. func (x *UserRole) ProtoReflect() protoreflect.Message {
  753. mi := &file_backend_operation_system_proto_msgTypes[13]
  754. if protoimpl.UnsafeEnabled && x != nil {
  755. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  756. if ms.LoadMessageInfo() == nil {
  757. ms.StoreMessageInfo(mi)
  758. }
  759. return ms
  760. }
  761. return mi.MessageOf(x)
  762. }
  763. // Deprecated: Use UserRole.ProtoReflect.Descriptor instead.
  764. func (*UserRole) Descriptor() ([]byte, []int) {
  765. return file_backend_operation_system_proto_rawDescGZIP(), []int{13}
  766. }
  767. func (x *UserRole) GetId() int32 {
  768. if x != nil {
  769. return x.Id
  770. }
  771. return 0
  772. }
  773. func (x *UserRole) GetName() string {
  774. if x != nil {
  775. return x.Name
  776. }
  777. return ""
  778. }
  779. // 用户详情
  780. type UserDetails struct {
  781. state protoimpl.MessageState
  782. sizeCache protoimpl.SizeCache
  783. unknownFields protoimpl.UnknownFields
  784. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  785. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  786. Data *AddSystemUser `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  787. }
  788. func (x *UserDetails) Reset() {
  789. *x = UserDetails{}
  790. if protoimpl.UnsafeEnabled {
  791. mi := &file_backend_operation_system_proto_msgTypes[14]
  792. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  793. ms.StoreMessageInfo(mi)
  794. }
  795. }
  796. func (x *UserDetails) String() string {
  797. return protoimpl.X.MessageStringOf(x)
  798. }
  799. func (*UserDetails) ProtoMessage() {}
  800. func (x *UserDetails) ProtoReflect() protoreflect.Message {
  801. mi := &file_backend_operation_system_proto_msgTypes[14]
  802. if protoimpl.UnsafeEnabled && x != nil {
  803. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  804. if ms.LoadMessageInfo() == nil {
  805. ms.StoreMessageInfo(mi)
  806. }
  807. return ms
  808. }
  809. return mi.MessageOf(x)
  810. }
  811. // Deprecated: Use UserDetails.ProtoReflect.Descriptor instead.
  812. func (*UserDetails) Descriptor() ([]byte, []int) {
  813. return file_backend_operation_system_proto_rawDescGZIP(), []int{14}
  814. }
  815. func (x *UserDetails) GetCode() int32 {
  816. if x != nil {
  817. return x.Code
  818. }
  819. return 0
  820. }
  821. func (x *UserDetails) GetMsg() string {
  822. if x != nil {
  823. return x.Msg
  824. }
  825. return ""
  826. }
  827. func (x *UserDetails) GetData() *AddSystemUser {
  828. if x != nil {
  829. return x.Data
  830. }
  831. return nil
  832. }
  833. type AddSystemUser struct {
  834. state protoimpl.MessageState
  835. sizeCache protoimpl.SizeCache
  836. unknownFields protoimpl.UnknownFields
  837. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
  838. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  839. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  840. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 角色
  841. IsShow IsShow_Kind `protobuf:"varint,5,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  842. EmployeeName string `protobuf:"bytes,6,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  843. CreateUser string `protobuf:"bytes,7,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建人
  844. CreatedAt int32 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  845. CreatedAtFormat string `protobuf:"bytes,9,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  846. RoleName string `protobuf:"bytes,10,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 角色名称
  847. RoleIds []int32 `protobuf:"varint,11,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // 角色ids
  848. }
  849. func (x *AddSystemUser) Reset() {
  850. *x = AddSystemUser{}
  851. if protoimpl.UnsafeEnabled {
  852. mi := &file_backend_operation_system_proto_msgTypes[15]
  853. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  854. ms.StoreMessageInfo(mi)
  855. }
  856. }
  857. func (x *AddSystemUser) String() string {
  858. return protoimpl.X.MessageStringOf(x)
  859. }
  860. func (*AddSystemUser) ProtoMessage() {}
  861. func (x *AddSystemUser) ProtoReflect() protoreflect.Message {
  862. mi := &file_backend_operation_system_proto_msgTypes[15]
  863. if protoimpl.UnsafeEnabled && x != nil {
  864. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  865. if ms.LoadMessageInfo() == nil {
  866. ms.StoreMessageInfo(mi)
  867. }
  868. return ms
  869. }
  870. return mi.MessageOf(x)
  871. }
  872. // Deprecated: Use AddSystemUser.ProtoReflect.Descriptor instead.
  873. func (*AddSystemUser) Descriptor() ([]byte, []int) {
  874. return file_backend_operation_system_proto_rawDescGZIP(), []int{15}
  875. }
  876. func (x *AddSystemUser) GetId() int32 {
  877. if x != nil {
  878. return x.Id
  879. }
  880. return 0
  881. }
  882. func (x *AddSystemUser) GetName() string {
  883. if x != nil {
  884. return x.Name
  885. }
  886. return ""
  887. }
  888. func (x *AddSystemUser) GetPhone() string {
  889. if x != nil {
  890. return x.Phone
  891. }
  892. return ""
  893. }
  894. func (x *AddSystemUser) GetRoles() []*UserRole {
  895. if x != nil {
  896. return x.Roles
  897. }
  898. return nil
  899. }
  900. func (x *AddSystemUser) GetIsShow() IsShow_Kind {
  901. if x != nil {
  902. return x.IsShow
  903. }
  904. return IsShow_INVALID
  905. }
  906. func (x *AddSystemUser) GetEmployeeName() string {
  907. if x != nil {
  908. return x.EmployeeName
  909. }
  910. return ""
  911. }
  912. func (x *AddSystemUser) GetCreateUser() string {
  913. if x != nil {
  914. return x.CreateUser
  915. }
  916. return ""
  917. }
  918. func (x *AddSystemUser) GetCreatedAt() int32 {
  919. if x != nil {
  920. return x.CreatedAt
  921. }
  922. return 0
  923. }
  924. func (x *AddSystemUser) GetCreatedAtFormat() string {
  925. if x != nil {
  926. return x.CreatedAtFormat
  927. }
  928. return ""
  929. }
  930. func (x *AddSystemUser) GetRoleName() string {
  931. if x != nil {
  932. return x.RoleName
  933. }
  934. return ""
  935. }
  936. func (x *AddSystemUser) GetRoleIds() []int32 {
  937. if x != nil {
  938. return x.RoleIds
  939. }
  940. return nil
  941. }
  942. // 查询用户
  943. type SearchUserRequest struct {
  944. state protoimpl.MessageState
  945. sizeCache protoimpl.SizeCache
  946. unknownFields protoimpl.UnknownFields
  947. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  948. EmployeeName string `protobuf:"bytes,2,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  949. IsShow IsShow_Kind `protobuf:"varint,3,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  950. CreatedStartTime uint32 `protobuf:"varint,4,opt,name=created_start_time,json=createdStartTime,proto3" json:"created_start_time,omitempty"` // 开始时间
  951. CreatedEndTime uint32 `protobuf:"varint,5,opt,name=created_end_time,json=createdEndTime,proto3" json:"created_end_time,omitempty"` // 结束时间
  952. Pagination *PaginationModel `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  953. }
  954. func (x *SearchUserRequest) Reset() {
  955. *x = SearchUserRequest{}
  956. if protoimpl.UnsafeEnabled {
  957. mi := &file_backend_operation_system_proto_msgTypes[16]
  958. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  959. ms.StoreMessageInfo(mi)
  960. }
  961. }
  962. func (x *SearchUserRequest) String() string {
  963. return protoimpl.X.MessageStringOf(x)
  964. }
  965. func (*SearchUserRequest) ProtoMessage() {}
  966. func (x *SearchUserRequest) ProtoReflect() protoreflect.Message {
  967. mi := &file_backend_operation_system_proto_msgTypes[16]
  968. if protoimpl.UnsafeEnabled && x != nil {
  969. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  970. if ms.LoadMessageInfo() == nil {
  971. ms.StoreMessageInfo(mi)
  972. }
  973. return ms
  974. }
  975. return mi.MessageOf(x)
  976. }
  977. // Deprecated: Use SearchUserRequest.ProtoReflect.Descriptor instead.
  978. func (*SearchUserRequest) Descriptor() ([]byte, []int) {
  979. return file_backend_operation_system_proto_rawDescGZIP(), []int{16}
  980. }
  981. func (x *SearchUserRequest) GetName() string {
  982. if x != nil {
  983. return x.Name
  984. }
  985. return ""
  986. }
  987. func (x *SearchUserRequest) GetEmployeeName() string {
  988. if x != nil {
  989. return x.EmployeeName
  990. }
  991. return ""
  992. }
  993. func (x *SearchUserRequest) GetIsShow() IsShow_Kind {
  994. if x != nil {
  995. return x.IsShow
  996. }
  997. return IsShow_INVALID
  998. }
  999. func (x *SearchUserRequest) GetCreatedStartTime() uint32 {
  1000. if x != nil {
  1001. return x.CreatedStartTime
  1002. }
  1003. return 0
  1004. }
  1005. func (x *SearchUserRequest) GetCreatedEndTime() uint32 {
  1006. if x != nil {
  1007. return x.CreatedEndTime
  1008. }
  1009. return 0
  1010. }
  1011. func (x *SearchUserRequest) GetPagination() *PaginationModel {
  1012. if x != nil {
  1013. return x.Pagination
  1014. }
  1015. return nil
  1016. }
  1017. type SearchUserResponse struct {
  1018. state protoimpl.MessageState
  1019. sizeCache protoimpl.SizeCache
  1020. unknownFields protoimpl.UnknownFields
  1021. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1022. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1023. Data *SearchUserData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1024. }
  1025. func (x *SearchUserResponse) Reset() {
  1026. *x = SearchUserResponse{}
  1027. if protoimpl.UnsafeEnabled {
  1028. mi := &file_backend_operation_system_proto_msgTypes[17]
  1029. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1030. ms.StoreMessageInfo(mi)
  1031. }
  1032. }
  1033. func (x *SearchUserResponse) String() string {
  1034. return protoimpl.X.MessageStringOf(x)
  1035. }
  1036. func (*SearchUserResponse) ProtoMessage() {}
  1037. func (x *SearchUserResponse) ProtoReflect() protoreflect.Message {
  1038. mi := &file_backend_operation_system_proto_msgTypes[17]
  1039. if protoimpl.UnsafeEnabled && x != nil {
  1040. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1041. if ms.LoadMessageInfo() == nil {
  1042. ms.StoreMessageInfo(mi)
  1043. }
  1044. return ms
  1045. }
  1046. return mi.MessageOf(x)
  1047. }
  1048. // Deprecated: Use SearchUserResponse.ProtoReflect.Descriptor instead.
  1049. func (*SearchUserResponse) Descriptor() ([]byte, []int) {
  1050. return file_backend_operation_system_proto_rawDescGZIP(), []int{17}
  1051. }
  1052. func (x *SearchUserResponse) GetCode() int32 {
  1053. if x != nil {
  1054. return x.Code
  1055. }
  1056. return 0
  1057. }
  1058. func (x *SearchUserResponse) GetMsg() string {
  1059. if x != nil {
  1060. return x.Msg
  1061. }
  1062. return ""
  1063. }
  1064. func (x *SearchUserResponse) GetData() *SearchUserData {
  1065. if x != nil {
  1066. return x.Data
  1067. }
  1068. return nil
  1069. }
  1070. type SearchUserData struct {
  1071. state protoimpl.MessageState
  1072. sizeCache protoimpl.SizeCache
  1073. unknownFields protoimpl.UnknownFields
  1074. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  1075. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  1076. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1077. List []*AddSystemUser `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  1078. }
  1079. func (x *SearchUserData) Reset() {
  1080. *x = SearchUserData{}
  1081. if protoimpl.UnsafeEnabled {
  1082. mi := &file_backend_operation_system_proto_msgTypes[18]
  1083. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1084. ms.StoreMessageInfo(mi)
  1085. }
  1086. }
  1087. func (x *SearchUserData) String() string {
  1088. return protoimpl.X.MessageStringOf(x)
  1089. }
  1090. func (*SearchUserData) ProtoMessage() {}
  1091. func (x *SearchUserData) ProtoReflect() protoreflect.Message {
  1092. mi := &file_backend_operation_system_proto_msgTypes[18]
  1093. if protoimpl.UnsafeEnabled && x != nil {
  1094. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1095. if ms.LoadMessageInfo() == nil {
  1096. ms.StoreMessageInfo(mi)
  1097. }
  1098. return ms
  1099. }
  1100. return mi.MessageOf(x)
  1101. }
  1102. // Deprecated: Use SearchUserData.ProtoReflect.Descriptor instead.
  1103. func (*SearchUserData) Descriptor() ([]byte, []int) {
  1104. return file_backend_operation_system_proto_rawDescGZIP(), []int{18}
  1105. }
  1106. func (x *SearchUserData) GetPage() int32 {
  1107. if x != nil {
  1108. return x.Page
  1109. }
  1110. return 0
  1111. }
  1112. func (x *SearchUserData) GetTotal() int32 {
  1113. if x != nil {
  1114. return x.Total
  1115. }
  1116. return 0
  1117. }
  1118. func (x *SearchUserData) GetPageSize() int32 {
  1119. if x != nil {
  1120. return x.PageSize
  1121. }
  1122. return 0
  1123. }
  1124. func (x *SearchUserData) GetList() []*AddSystemUser {
  1125. if x != nil {
  1126. return x.List
  1127. }
  1128. return nil
  1129. }
  1130. type IsShowSystemUserRequest struct {
  1131. state protoimpl.MessageState
  1132. sizeCache protoimpl.SizeCache
  1133. unknownFields protoimpl.UnknownFields
  1134. UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1135. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  1136. }
  1137. func (x *IsShowSystemUserRequest) Reset() {
  1138. *x = IsShowSystemUserRequest{}
  1139. if protoimpl.UnsafeEnabled {
  1140. mi := &file_backend_operation_system_proto_msgTypes[19]
  1141. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1142. ms.StoreMessageInfo(mi)
  1143. }
  1144. }
  1145. func (x *IsShowSystemUserRequest) String() string {
  1146. return protoimpl.X.MessageStringOf(x)
  1147. }
  1148. func (*IsShowSystemUserRequest) ProtoMessage() {}
  1149. func (x *IsShowSystemUserRequest) ProtoReflect() protoreflect.Message {
  1150. mi := &file_backend_operation_system_proto_msgTypes[19]
  1151. if protoimpl.UnsafeEnabled && x != nil {
  1152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1153. if ms.LoadMessageInfo() == nil {
  1154. ms.StoreMessageInfo(mi)
  1155. }
  1156. return ms
  1157. }
  1158. return mi.MessageOf(x)
  1159. }
  1160. // Deprecated: Use IsShowSystemUserRequest.ProtoReflect.Descriptor instead.
  1161. func (*IsShowSystemUserRequest) Descriptor() ([]byte, []int) {
  1162. return file_backend_operation_system_proto_rawDescGZIP(), []int{19}
  1163. }
  1164. func (x *IsShowSystemUserRequest) GetUserId() int32 {
  1165. if x != nil {
  1166. return x.UserId
  1167. }
  1168. return 0
  1169. }
  1170. func (x *IsShowSystemUserRequest) GetIsShow() IsShow_Kind {
  1171. if x != nil {
  1172. return x.IsShow
  1173. }
  1174. return IsShow_INVALID
  1175. }
  1176. // 系统菜单权限
  1177. type AddMenuRequest struct {
  1178. state protoimpl.MessageState
  1179. sizeCache protoimpl.SizeCache
  1180. unknownFields protoimpl.UnknownFields
  1181. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1182. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1183. ParentId int32 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父id
  1184. MenuType int32 `protobuf:"varint,4,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"` // 菜单类型 1 菜单 2 按钮
  1185. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` // 标题
  1186. Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // 路径 path
  1187. IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否显示
  1188. Component string `protobuf:"bytes,8,opt,name=component,proto3" json:"component,omitempty"` // 组件
  1189. Icon string `protobuf:"bytes,9,opt,name=icon,proto3" json:"icon,omitempty"` // 图标
  1190. Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
  1191. Redirect string `protobuf:"bytes,11,opt,name=redirect,proto3" json:"redirect,omitempty"` // 重定向
  1192. CreatedAt int32 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  1193. CreatedAtFormat string `protobuf:"bytes,13,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  1194. Level int32 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` // 菜单等级
  1195. Children []*AddMenuRequest `protobuf:"bytes,15,rep,name=children,proto3" json:"children,omitempty"` // 子分类
  1196. Affix bool `protobuf:"varint,16,opt,name=affix,proto3" json:"affix,omitempty"`
  1197. KeepAlive bool `protobuf:"varint,17,opt,name=keepAlive,proto3" json:"keepAlive,omitempty"`
  1198. }
  1199. func (x *AddMenuRequest) Reset() {
  1200. *x = AddMenuRequest{}
  1201. if protoimpl.UnsafeEnabled {
  1202. mi := &file_backend_operation_system_proto_msgTypes[20]
  1203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1204. ms.StoreMessageInfo(mi)
  1205. }
  1206. }
  1207. func (x *AddMenuRequest) String() string {
  1208. return protoimpl.X.MessageStringOf(x)
  1209. }
  1210. func (*AddMenuRequest) ProtoMessage() {}
  1211. func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
  1212. mi := &file_backend_operation_system_proto_msgTypes[20]
  1213. if protoimpl.UnsafeEnabled && x != nil {
  1214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1215. if ms.LoadMessageInfo() == nil {
  1216. ms.StoreMessageInfo(mi)
  1217. }
  1218. return ms
  1219. }
  1220. return mi.MessageOf(x)
  1221. }
  1222. // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
  1223. func (*AddMenuRequest) Descriptor() ([]byte, []int) {
  1224. return file_backend_operation_system_proto_rawDescGZIP(), []int{20}
  1225. }
  1226. func (x *AddMenuRequest) GetId() int32 {
  1227. if x != nil {
  1228. return x.Id
  1229. }
  1230. return 0
  1231. }
  1232. func (x *AddMenuRequest) GetName() string {
  1233. if x != nil {
  1234. return x.Name
  1235. }
  1236. return ""
  1237. }
  1238. func (x *AddMenuRequest) GetParentId() int32 {
  1239. if x != nil {
  1240. return x.ParentId
  1241. }
  1242. return 0
  1243. }
  1244. func (x *AddMenuRequest) GetMenuType() int32 {
  1245. if x != nil {
  1246. return x.MenuType
  1247. }
  1248. return 0
  1249. }
  1250. func (x *AddMenuRequest) GetTitle() string {
  1251. if x != nil {
  1252. return x.Title
  1253. }
  1254. return ""
  1255. }
  1256. func (x *AddMenuRequest) GetPath() string {
  1257. if x != nil {
  1258. return x.Path
  1259. }
  1260. return ""
  1261. }
  1262. func (x *AddMenuRequest) GetIsShow() IsShow_Kind {
  1263. if x != nil {
  1264. return x.IsShow
  1265. }
  1266. return IsShow_INVALID
  1267. }
  1268. func (x *AddMenuRequest) GetComponent() string {
  1269. if x != nil {
  1270. return x.Component
  1271. }
  1272. return ""
  1273. }
  1274. func (x *AddMenuRequest) GetIcon() string {
  1275. if x != nil {
  1276. return x.Icon
  1277. }
  1278. return ""
  1279. }
  1280. func (x *AddMenuRequest) GetSort() int32 {
  1281. if x != nil {
  1282. return x.Sort
  1283. }
  1284. return 0
  1285. }
  1286. func (x *AddMenuRequest) GetRedirect() string {
  1287. if x != nil {
  1288. return x.Redirect
  1289. }
  1290. return ""
  1291. }
  1292. func (x *AddMenuRequest) GetCreatedAt() int32 {
  1293. if x != nil {
  1294. return x.CreatedAt
  1295. }
  1296. return 0
  1297. }
  1298. func (x *AddMenuRequest) GetCreatedAtFormat() string {
  1299. if x != nil {
  1300. return x.CreatedAtFormat
  1301. }
  1302. return ""
  1303. }
  1304. func (x *AddMenuRequest) GetLevel() int32 {
  1305. if x != nil {
  1306. return x.Level
  1307. }
  1308. return 0
  1309. }
  1310. func (x *AddMenuRequest) GetChildren() []*AddMenuRequest {
  1311. if x != nil {
  1312. return x.Children
  1313. }
  1314. return nil
  1315. }
  1316. func (x *AddMenuRequest) GetAffix() bool {
  1317. if x != nil {
  1318. return x.Affix
  1319. }
  1320. return false
  1321. }
  1322. func (x *AddMenuRequest) GetKeepAlive() bool {
  1323. if x != nil {
  1324. return x.KeepAlive
  1325. }
  1326. return false
  1327. }
  1328. type IsShowSystemMenuRequest struct {
  1329. state protoimpl.MessageState
  1330. sizeCache protoimpl.SizeCache
  1331. unknownFields protoimpl.UnknownFields
  1332. MenuId int32 `protobuf:"varint,1,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 角色id
  1333. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  1334. }
  1335. func (x *IsShowSystemMenuRequest) Reset() {
  1336. *x = IsShowSystemMenuRequest{}
  1337. if protoimpl.UnsafeEnabled {
  1338. mi := &file_backend_operation_system_proto_msgTypes[21]
  1339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1340. ms.StoreMessageInfo(mi)
  1341. }
  1342. }
  1343. func (x *IsShowSystemMenuRequest) String() string {
  1344. return protoimpl.X.MessageStringOf(x)
  1345. }
  1346. func (*IsShowSystemMenuRequest) ProtoMessage() {}
  1347. func (x *IsShowSystemMenuRequest) ProtoReflect() protoreflect.Message {
  1348. mi := &file_backend_operation_system_proto_msgTypes[21]
  1349. if protoimpl.UnsafeEnabled && x != nil {
  1350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1351. if ms.LoadMessageInfo() == nil {
  1352. ms.StoreMessageInfo(mi)
  1353. }
  1354. return ms
  1355. }
  1356. return mi.MessageOf(x)
  1357. }
  1358. // Deprecated: Use IsShowSystemMenuRequest.ProtoReflect.Descriptor instead.
  1359. func (*IsShowSystemMenuRequest) Descriptor() ([]byte, []int) {
  1360. return file_backend_operation_system_proto_rawDescGZIP(), []int{21}
  1361. }
  1362. func (x *IsShowSystemMenuRequest) GetMenuId() int32 {
  1363. if x != nil {
  1364. return x.MenuId
  1365. }
  1366. return 0
  1367. }
  1368. func (x *IsShowSystemMenuRequest) GetIsShow() IsShow_Kind {
  1369. if x != nil {
  1370. return x.IsShow
  1371. }
  1372. return IsShow_INVALID
  1373. }
  1374. // 查询菜单权限
  1375. type SearchMenuRequest struct {
  1376. state protoimpl.MessageState
  1377. sizeCache protoimpl.SizeCache
  1378. unknownFields protoimpl.UnknownFields
  1379. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 菜单名称
  1380. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  1381. }
  1382. func (x *SearchMenuRequest) Reset() {
  1383. *x = SearchMenuRequest{}
  1384. if protoimpl.UnsafeEnabled {
  1385. mi := &file_backend_operation_system_proto_msgTypes[22]
  1386. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1387. ms.StoreMessageInfo(mi)
  1388. }
  1389. }
  1390. func (x *SearchMenuRequest) String() string {
  1391. return protoimpl.X.MessageStringOf(x)
  1392. }
  1393. func (*SearchMenuRequest) ProtoMessage() {}
  1394. func (x *SearchMenuRequest) ProtoReflect() protoreflect.Message {
  1395. mi := &file_backend_operation_system_proto_msgTypes[22]
  1396. if protoimpl.UnsafeEnabled && x != nil {
  1397. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1398. if ms.LoadMessageInfo() == nil {
  1399. ms.StoreMessageInfo(mi)
  1400. }
  1401. return ms
  1402. }
  1403. return mi.MessageOf(x)
  1404. }
  1405. // Deprecated: Use SearchMenuRequest.ProtoReflect.Descriptor instead.
  1406. func (*SearchMenuRequest) Descriptor() ([]byte, []int) {
  1407. return file_backend_operation_system_proto_rawDescGZIP(), []int{22}
  1408. }
  1409. func (x *SearchMenuRequest) GetName() string {
  1410. if x != nil {
  1411. return x.Name
  1412. }
  1413. return ""
  1414. }
  1415. func (x *SearchMenuRequest) GetPagination() *PaginationModel {
  1416. if x != nil {
  1417. return x.Pagination
  1418. }
  1419. return nil
  1420. }
  1421. type SearchMenuResponse struct {
  1422. state protoimpl.MessageState
  1423. sizeCache protoimpl.SizeCache
  1424. unknownFields protoimpl.UnknownFields
  1425. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1426. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1427. Data *SearchMenuData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1428. }
  1429. func (x *SearchMenuResponse) Reset() {
  1430. *x = SearchMenuResponse{}
  1431. if protoimpl.UnsafeEnabled {
  1432. mi := &file_backend_operation_system_proto_msgTypes[23]
  1433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1434. ms.StoreMessageInfo(mi)
  1435. }
  1436. }
  1437. func (x *SearchMenuResponse) String() string {
  1438. return protoimpl.X.MessageStringOf(x)
  1439. }
  1440. func (*SearchMenuResponse) ProtoMessage() {}
  1441. func (x *SearchMenuResponse) ProtoReflect() protoreflect.Message {
  1442. mi := &file_backend_operation_system_proto_msgTypes[23]
  1443. if protoimpl.UnsafeEnabled && x != nil {
  1444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1445. if ms.LoadMessageInfo() == nil {
  1446. ms.StoreMessageInfo(mi)
  1447. }
  1448. return ms
  1449. }
  1450. return mi.MessageOf(x)
  1451. }
  1452. // Deprecated: Use SearchMenuResponse.ProtoReflect.Descriptor instead.
  1453. func (*SearchMenuResponse) Descriptor() ([]byte, []int) {
  1454. return file_backend_operation_system_proto_rawDescGZIP(), []int{23}
  1455. }
  1456. func (x *SearchMenuResponse) GetCode() int32 {
  1457. if x != nil {
  1458. return x.Code
  1459. }
  1460. return 0
  1461. }
  1462. func (x *SearchMenuResponse) GetMsg() string {
  1463. if x != nil {
  1464. return x.Msg
  1465. }
  1466. return ""
  1467. }
  1468. func (x *SearchMenuResponse) GetData() *SearchMenuData {
  1469. if x != nil {
  1470. return x.Data
  1471. }
  1472. return nil
  1473. }
  1474. type SearchMenuData struct {
  1475. state protoimpl.MessageState
  1476. sizeCache protoimpl.SizeCache
  1477. unknownFields protoimpl.UnknownFields
  1478. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  1479. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  1480. List []*AddMenuRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  1481. }
  1482. func (x *SearchMenuData) Reset() {
  1483. *x = SearchMenuData{}
  1484. if protoimpl.UnsafeEnabled {
  1485. mi := &file_backend_operation_system_proto_msgTypes[24]
  1486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1487. ms.StoreMessageInfo(mi)
  1488. }
  1489. }
  1490. func (x *SearchMenuData) String() string {
  1491. return protoimpl.X.MessageStringOf(x)
  1492. }
  1493. func (*SearchMenuData) ProtoMessage() {}
  1494. func (x *SearchMenuData) ProtoReflect() protoreflect.Message {
  1495. mi := &file_backend_operation_system_proto_msgTypes[24]
  1496. if protoimpl.UnsafeEnabled && x != nil {
  1497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1498. if ms.LoadMessageInfo() == nil {
  1499. ms.StoreMessageInfo(mi)
  1500. }
  1501. return ms
  1502. }
  1503. return mi.MessageOf(x)
  1504. }
  1505. // Deprecated: Use SearchMenuData.ProtoReflect.Descriptor instead.
  1506. func (*SearchMenuData) Descriptor() ([]byte, []int) {
  1507. return file_backend_operation_system_proto_rawDescGZIP(), []int{24}
  1508. }
  1509. func (x *SearchMenuData) GetPage() int32 {
  1510. if x != nil {
  1511. return x.Page
  1512. }
  1513. return 0
  1514. }
  1515. func (x *SearchMenuData) GetTotal() int32 {
  1516. if x != nil {
  1517. return x.Total
  1518. }
  1519. return 0
  1520. }
  1521. func (x *SearchMenuData) GetList() []*AddMenuRequest {
  1522. if x != nil {
  1523. return x.List
  1524. }
  1525. return nil
  1526. }
  1527. // 系统用户权限相关
  1528. type SystemUserMenuPermissions struct {
  1529. state protoimpl.MessageState
  1530. sizeCache protoimpl.SizeCache
  1531. unknownFields protoimpl.UnknownFields
  1532. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1533. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1534. Data *SystemUserMenuData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1535. }
  1536. func (x *SystemUserMenuPermissions) Reset() {
  1537. *x = SystemUserMenuPermissions{}
  1538. if protoimpl.UnsafeEnabled {
  1539. mi := &file_backend_operation_system_proto_msgTypes[25]
  1540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1541. ms.StoreMessageInfo(mi)
  1542. }
  1543. }
  1544. func (x *SystemUserMenuPermissions) String() string {
  1545. return protoimpl.X.MessageStringOf(x)
  1546. }
  1547. func (*SystemUserMenuPermissions) ProtoMessage() {}
  1548. func (x *SystemUserMenuPermissions) ProtoReflect() protoreflect.Message {
  1549. mi := &file_backend_operation_system_proto_msgTypes[25]
  1550. if protoimpl.UnsafeEnabled && x != nil {
  1551. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1552. if ms.LoadMessageInfo() == nil {
  1553. ms.StoreMessageInfo(mi)
  1554. }
  1555. return ms
  1556. }
  1557. return mi.MessageOf(x)
  1558. }
  1559. // Deprecated: Use SystemUserMenuPermissions.ProtoReflect.Descriptor instead.
  1560. func (*SystemUserMenuPermissions) Descriptor() ([]byte, []int) {
  1561. return file_backend_operation_system_proto_rawDescGZIP(), []int{25}
  1562. }
  1563. func (x *SystemUserMenuPermissions) GetCode() int32 {
  1564. if x != nil {
  1565. return x.Code
  1566. }
  1567. return 0
  1568. }
  1569. func (x *SystemUserMenuPermissions) GetMsg() string {
  1570. if x != nil {
  1571. return x.Msg
  1572. }
  1573. return ""
  1574. }
  1575. func (x *SystemUserMenuPermissions) GetData() *SystemUserMenuData {
  1576. if x != nil {
  1577. return x.Data
  1578. }
  1579. return nil
  1580. }
  1581. type SystemUserMenuData struct {
  1582. state protoimpl.MessageState
  1583. sizeCache protoimpl.SizeCache
  1584. unknownFields protoimpl.UnknownFields
  1585. PastureList []*AddPastureRequest `protobuf:"bytes,1,rep,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场列表
  1586. MenuList []*AddMenuRequest `protobuf:"bytes,2,rep,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 菜单列表
  1587. MobileList []*AddMobileRequest `protobuf:"bytes,3,rep,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限
  1588. }
  1589. func (x *SystemUserMenuData) Reset() {
  1590. *x = SystemUserMenuData{}
  1591. if protoimpl.UnsafeEnabled {
  1592. mi := &file_backend_operation_system_proto_msgTypes[26]
  1593. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1594. ms.StoreMessageInfo(mi)
  1595. }
  1596. }
  1597. func (x *SystemUserMenuData) String() string {
  1598. return protoimpl.X.MessageStringOf(x)
  1599. }
  1600. func (*SystemUserMenuData) ProtoMessage() {}
  1601. func (x *SystemUserMenuData) ProtoReflect() protoreflect.Message {
  1602. mi := &file_backend_operation_system_proto_msgTypes[26]
  1603. if protoimpl.UnsafeEnabled && x != nil {
  1604. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1605. if ms.LoadMessageInfo() == nil {
  1606. ms.StoreMessageInfo(mi)
  1607. }
  1608. return ms
  1609. }
  1610. return mi.MessageOf(x)
  1611. }
  1612. // Deprecated: Use SystemUserMenuData.ProtoReflect.Descriptor instead.
  1613. func (*SystemUserMenuData) Descriptor() ([]byte, []int) {
  1614. return file_backend_operation_system_proto_rawDescGZIP(), []int{26}
  1615. }
  1616. func (x *SystemUserMenuData) GetPastureList() []*AddPastureRequest {
  1617. if x != nil {
  1618. return x.PastureList
  1619. }
  1620. return nil
  1621. }
  1622. func (x *SystemUserMenuData) GetMenuList() []*AddMenuRequest {
  1623. if x != nil {
  1624. return x.MenuList
  1625. }
  1626. return nil
  1627. }
  1628. func (x *SystemUserMenuData) GetMobileList() []*AddMobileRequest {
  1629. if x != nil {
  1630. return x.MobileList
  1631. }
  1632. return nil
  1633. }
  1634. // 移动端
  1635. type AddMobileRequest struct {
  1636. state protoimpl.MessageState
  1637. sizeCache protoimpl.SizeCache
  1638. unknownFields protoimpl.UnknownFields
  1639. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // id
  1640. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1641. }
  1642. func (x *AddMobileRequest) Reset() {
  1643. *x = AddMobileRequest{}
  1644. if protoimpl.UnsafeEnabled {
  1645. mi := &file_backend_operation_system_proto_msgTypes[27]
  1646. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1647. ms.StoreMessageInfo(mi)
  1648. }
  1649. }
  1650. func (x *AddMobileRequest) String() string {
  1651. return protoimpl.X.MessageStringOf(x)
  1652. }
  1653. func (*AddMobileRequest) ProtoMessage() {}
  1654. func (x *AddMobileRequest) ProtoReflect() protoreflect.Message {
  1655. mi := &file_backend_operation_system_proto_msgTypes[27]
  1656. if protoimpl.UnsafeEnabled && x != nil {
  1657. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1658. if ms.LoadMessageInfo() == nil {
  1659. ms.StoreMessageInfo(mi)
  1660. }
  1661. return ms
  1662. }
  1663. return mi.MessageOf(x)
  1664. }
  1665. // Deprecated: Use AddMobileRequest.ProtoReflect.Descriptor instead.
  1666. func (*AddMobileRequest) Descriptor() ([]byte, []int) {
  1667. return file_backend_operation_system_proto_rawDescGZIP(), []int{27}
  1668. }
  1669. func (x *AddMobileRequest) GetId() uint32 {
  1670. if x != nil {
  1671. return x.Id
  1672. }
  1673. return 0
  1674. }
  1675. func (x *AddMobileRequest) GetName() string {
  1676. if x != nil {
  1677. return x.Name
  1678. }
  1679. return ""
  1680. }
  1681. var File_backend_operation_system_proto protoreflect.FileDescriptor
  1682. var file_backend_operation_system_proto_rawDesc = []byte{
  1683. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1684. 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1685. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1686. 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  1687. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1688. 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1689. 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1690. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f,
  1691. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65,
  1692. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1693. 0x4f, 0x4b, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  1694. 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
  1695. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  1696. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1697. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65,
  1698. 0x73, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x23, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63,
  1699. 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01,
  1700. 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x22, 0x0a,
  1701. 0x08, 0x57, 0x78, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x65,
  1702. 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69,
  1703. 0x64, 0x22, 0xc8, 0x02, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
  1704. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  1705. 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  1706. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61,
  1707. 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
  1708. 0x6b, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20,
  1709. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1710. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b,
  1711. 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
  1712. 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52,
  1713. 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65,
  1714. 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x65, 0x6e,
  1715. 0x75, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64,
  1716. 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x49, 0x64,
  1717. 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18,
  1718. 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
  1719. 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
  1720. 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
  1721. 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66,
  1722. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65,
  1723. 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x6b, 0x0a, 0x11,
  1724. 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1725. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1726. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  1727. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1728. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61,
  1729. 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70,
  1730. 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61,
  1731. 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1732. 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63,
  1733. 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1734. 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
  1735. 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1736. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f,
  1737. 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8e, 0x01, 0x0a,
  1738. 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12,
  1739. 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70,
  1740. 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
  1741. 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
  1742. 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
  1743. 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04,
  1744. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1745. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65,
  1746. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x77, 0x0a,
  1747. 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  1748. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1749. 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
  1750. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3a, 0x0a, 0x04, 0x64, 0x61,
  1751. 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1752. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x6f, 0x6c,
  1753. 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61,
  1754. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x76, 0x0a, 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65,
  1755. 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a,
  1756. 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
  1757. 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21,
  1758. 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02,
  1759. 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73,
  1760. 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  1761. 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x65,
  1762. 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a,
  1763. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1764. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1765. 0x6d, 0x73, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
  1766. 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1767. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52,
  1768. 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x21, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x61,
  1769. 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  1770. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72,
  1771. 0x41, 0x75, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1772. 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
  1773. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61,
  1774. 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1775. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65,
  1776. 0x72, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
  1777. 0xb5, 0x01, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61,
  1778. 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1779. 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
  1780. 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1781. 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
  1782. 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12,
  1783. 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
  1784. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1785. 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c,
  1786. 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e,
  1787. 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f,
  1788. 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52,
  1789. 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
  1790. 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1791. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x69, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x44,
  1792. 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
  1793. 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73,
  1794. 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x34, 0x0a, 0x04,
  1795. 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x63,
  1796. 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41,
  1797. 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61,
  1798. 0x74, 0x61, 0x22, 0xfe, 0x02, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
  1799. 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  1800. 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  1801. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  1802. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x31,
  1803. 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
  1804. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1805. 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65,
  1806. 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01,
  1807. 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1808. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69,
  1809. 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d,
  1810. 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  1811. 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  1812. 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x07,
  1813. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
  1814. 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08,
  1815. 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
  1816. 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f,
  1817. 0x72, 0x6d, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61,
  1818. 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72,
  1819. 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  1820. 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65,
  1821. 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65,
  1822. 0x49, 0x64, 0x73, 0x22, 0xa1, 0x02, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73,
  1823. 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1824. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a,
  1825. 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1826. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61,
  1827. 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x03, 0x20,
  1828. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1829. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b,
  1830. 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x63,
  1831. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
  1832. 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1833. 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x65,
  1834. 0x61, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20,
  1835. 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x54,
  1836. 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  1837. 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e,
  1838. 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69,
  1839. 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67,
  1840. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63,
  1841. 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
  1842. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1843. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1844. 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
  1845. 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1846. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72,
  1847. 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8d, 0x01, 0x0a, 0x0e, 0x53,
  1848. 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a,
  1849. 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67,
  1850. 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
  1851. 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,
  1852. 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
  1853. 0x53, 0x69, 0x7a, 0x65, 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03,
  1854. 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1855. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d,
  1856. 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6b, 0x0a, 0x17, 0x49, 0x73,
  1857. 0x53, 0x68, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1858. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
  1859. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37,
  1860. 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1861. 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1862. 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  1863. 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x87, 0x04, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d,
  1864. 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  1865. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  1866. 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b,
  1867. 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  1868. 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d,
  1869. 0x65, 0x6e, 0x75, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
  1870. 0x6d, 0x65, 0x6e, 0x75, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
  1871. 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12,
  1872. 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61,
  1873. 0x74, 0x68, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20,
  1874. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1875. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b,
  1876. 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x63,
  1877. 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
  1878. 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f,
  1879. 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
  1880. 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72,
  1881. 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x0b, 0x20,
  1882. 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a,
  1883. 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28,
  1884. 0x05, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11,
  1885. 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61,
  1886. 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1887. 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65,
  1888. 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3d,
  1889. 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b,
  1890. 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1891. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75,
  1892. 0x65, 0x73, 0x74, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x14, 0x0a,
  1893. 0x05, 0x61, 0x66, 0x66, 0x69, 0x78, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x66,
  1894. 0x66, 0x69, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65,
  1895. 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76,
  1896. 0x65, 0x22, 0x6b, 0x0a, 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65,
  1897. 0x6d, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07,
  1898. 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d,
  1899. 0x65, 0x6e, 0x75, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77,
  1900. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1901. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f,
  1902. 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x6b,
  1903. 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75,
  1904. 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1905. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e,
  1906. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61,
  1907. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1908. 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52,
  1909. 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53,
  1910. 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1911. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
  1912. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01,
  1913. 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
  1914. 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  1915. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
  1916. 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x71,
  1917. 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61, 0x74, 0x61,
  1918. 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  1919. 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20,
  1920. 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69,
  1921. 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1922. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64,
  1923. 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73,
  1924. 0x74, 0x22, 0x7c, 0x0a, 0x19, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d,
  1925. 0x65, 0x6e, 0x75, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12,
  1926. 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f,
  1927. 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1928. 0x03, 0x6d, 0x73, 0x67, 0x12, 0x39, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
  1929. 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1930. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65,
  1931. 0x72, 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
  1932. 0xe3, 0x01, 0x0a, 0x12, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65,
  1933. 0x6e, 0x75, 0x44, 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72,
  1934. 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62,
  1935. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1936. 0x2e, 0x41, 0x64, 0x64, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  1937. 0x73, 0x74, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12,
  1938. 0x3e, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03,
  1939. 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1940. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65,
  1941. 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x12,
  1942. 0x44, 0x0a, 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  1943. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1944. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69,
  1945. 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c,
  1946. 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x36, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69,
  1947. 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  1948. 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1949. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x5a,
  1950. 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06,
  1951. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1952. }
  1953. var (
  1954. file_backend_operation_system_proto_rawDescOnce sync.Once
  1955. file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
  1956. )
  1957. func file_backend_operation_system_proto_rawDescGZIP() []byte {
  1958. file_backend_operation_system_proto_rawDescOnce.Do(func() {
  1959. file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
  1960. })
  1961. return file_backend_operation_system_proto_rawDescData
  1962. }
  1963. var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
  1964. var file_backend_operation_system_proto_goTypes = []interface{}{
  1965. (*CommonOK)(nil), // 0: backend.operation.CommonOK
  1966. (*Success)(nil), // 1: backend.operation.Success
  1967. (*WxOpenId)(nil), // 2: backend.operation.WxOpenId
  1968. (*AddRoleRequest)(nil), // 3: backend.operation.AddRoleRequest
  1969. (*SearchRoleRequest)(nil), // 4: backend.operation.SearchRoleRequest
  1970. (*SearchRoleResponse)(nil), // 5: backend.operation.SearchRoleResponse
  1971. (*SearchRoleData)(nil), // 6: backend.operation.SearchRoleData
  1972. (*RolePermissionsList)(nil), // 7: backend.operation.RolePermissionsList
  1973. (*RolePermissionsData)(nil), // 8: backend.operation.RolePermissionsData
  1974. (*SystemToken)(nil), // 9: backend.operation.SystemToken
  1975. (*TokenData)(nil), // 10: backend.operation.TokenData
  1976. (*UserAuth)(nil), // 11: backend.operation.UserAuth
  1977. (*UserAuthData)(nil), // 12: backend.operation.UserAuthData
  1978. (*UserRole)(nil), // 13: backend.operation.UserRole
  1979. (*UserDetails)(nil), // 14: backend.operation.UserDetails
  1980. (*AddSystemUser)(nil), // 15: backend.operation.AddSystemUser
  1981. (*SearchUserRequest)(nil), // 16: backend.operation.SearchUserRequest
  1982. (*SearchUserResponse)(nil), // 17: backend.operation.SearchUserResponse
  1983. (*SearchUserData)(nil), // 18: backend.operation.SearchUserData
  1984. (*IsShowSystemUserRequest)(nil), // 19: backend.operation.IsShowSystemUserRequest
  1985. (*AddMenuRequest)(nil), // 20: backend.operation.AddMenuRequest
  1986. (*IsShowSystemMenuRequest)(nil), // 21: backend.operation.IsShowSystemMenuRequest
  1987. (*SearchMenuRequest)(nil), // 22: backend.operation.SearchMenuRequest
  1988. (*SearchMenuResponse)(nil), // 23: backend.operation.SearchMenuResponse
  1989. (*SearchMenuData)(nil), // 24: backend.operation.SearchMenuData
  1990. (*SystemUserMenuPermissions)(nil), // 25: backend.operation.SystemUserMenuPermissions
  1991. (*SystemUserMenuData)(nil), // 26: backend.operation.SystemUserMenuData
  1992. (*AddMobileRequest)(nil), // 27: backend.operation.AddMobileRequest
  1993. (IsShow_Kind)(0), // 28: backend.operation.IsShow.Kind
  1994. (*PaginationModel)(nil), // 29: backend.operation.PaginationModel
  1995. (*AddPastureRequest)(nil), // 30: backend.operation.AddPastureRequest
  1996. }
  1997. var file_backend_operation_system_proto_depIdxs = []int32{
  1998. 1, // 0: backend.operation.CommonOK.data:type_name -> backend.operation.Success
  1999. 28, // 1: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2000. 29, // 2: backend.operation.SearchRoleRequest.pagination:type_name -> backend.operation.PaginationModel
  2001. 6, // 3: backend.operation.SearchRoleResponse.data:type_name -> backend.operation.SearchRoleData
  2002. 3, // 4: backend.operation.SearchRoleData.list:type_name -> backend.operation.AddRoleRequest
  2003. 8, // 5: backend.operation.RolePermissionsList.data:type_name -> backend.operation.RolePermissionsData
  2004. 10, // 6: backend.operation.SystemToken.data:type_name -> backend.operation.TokenData
  2005. 12, // 7: backend.operation.UserAuth.data:type_name -> backend.operation.UserAuthData
  2006. 13, // 8: backend.operation.UserAuthData.roles:type_name -> backend.operation.UserRole
  2007. 15, // 9: backend.operation.UserDetails.data:type_name -> backend.operation.AddSystemUser
  2008. 13, // 10: backend.operation.AddSystemUser.roles:type_name -> backend.operation.UserRole
  2009. 28, // 11: backend.operation.AddSystemUser.is_show:type_name -> backend.operation.IsShow.Kind
  2010. 28, // 12: backend.operation.SearchUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2011. 29, // 13: backend.operation.SearchUserRequest.pagination:type_name -> backend.operation.PaginationModel
  2012. 18, // 14: backend.operation.SearchUserResponse.data:type_name -> backend.operation.SearchUserData
  2013. 15, // 15: backend.operation.SearchUserData.list:type_name -> backend.operation.AddSystemUser
  2014. 28, // 16: backend.operation.IsShowSystemUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2015. 28, // 17: backend.operation.AddMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2016. 20, // 18: backend.operation.AddMenuRequest.children:type_name -> backend.operation.AddMenuRequest
  2017. 28, // 19: backend.operation.IsShowSystemMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2018. 29, // 20: backend.operation.SearchMenuRequest.pagination:type_name -> backend.operation.PaginationModel
  2019. 24, // 21: backend.operation.SearchMenuResponse.data:type_name -> backend.operation.SearchMenuData
  2020. 20, // 22: backend.operation.SearchMenuData.list:type_name -> backend.operation.AddMenuRequest
  2021. 26, // 23: backend.operation.SystemUserMenuPermissions.data:type_name -> backend.operation.SystemUserMenuData
  2022. 30, // 24: backend.operation.SystemUserMenuData.pasture_list:type_name -> backend.operation.AddPastureRequest
  2023. 20, // 25: backend.operation.SystemUserMenuData.menu_list:type_name -> backend.operation.AddMenuRequest
  2024. 27, // 26: backend.operation.SystemUserMenuData.mobile_list:type_name -> backend.operation.AddMobileRequest
  2025. 27, // [27:27] is the sub-list for method output_type
  2026. 27, // [27:27] is the sub-list for method input_type
  2027. 27, // [27:27] is the sub-list for extension type_name
  2028. 27, // [27:27] is the sub-list for extension extendee
  2029. 0, // [0:27] is the sub-list for field type_name
  2030. }
  2031. func init() { file_backend_operation_system_proto_init() }
  2032. func file_backend_operation_system_proto_init() {
  2033. if File_backend_operation_system_proto != nil {
  2034. return
  2035. }
  2036. file_backend_operation_enum_proto_init()
  2037. file_backend_operation_pagination_proto_init()
  2038. file_backend_operation_pasture_proto_init()
  2039. if !protoimpl.UnsafeEnabled {
  2040. file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2041. switch v := v.(*CommonOK); i {
  2042. case 0:
  2043. return &v.state
  2044. case 1:
  2045. return &v.sizeCache
  2046. case 2:
  2047. return &v.unknownFields
  2048. default:
  2049. return nil
  2050. }
  2051. }
  2052. file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2053. switch v := v.(*Success); i {
  2054. case 0:
  2055. return &v.state
  2056. case 1:
  2057. return &v.sizeCache
  2058. case 2:
  2059. return &v.unknownFields
  2060. default:
  2061. return nil
  2062. }
  2063. }
  2064. file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2065. switch v := v.(*WxOpenId); i {
  2066. case 0:
  2067. return &v.state
  2068. case 1:
  2069. return &v.sizeCache
  2070. case 2:
  2071. return &v.unknownFields
  2072. default:
  2073. return nil
  2074. }
  2075. }
  2076. file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2077. switch v := v.(*AddRoleRequest); i {
  2078. case 0:
  2079. return &v.state
  2080. case 1:
  2081. return &v.sizeCache
  2082. case 2:
  2083. return &v.unknownFields
  2084. default:
  2085. return nil
  2086. }
  2087. }
  2088. file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2089. switch v := v.(*SearchRoleRequest); i {
  2090. case 0:
  2091. return &v.state
  2092. case 1:
  2093. return &v.sizeCache
  2094. case 2:
  2095. return &v.unknownFields
  2096. default:
  2097. return nil
  2098. }
  2099. }
  2100. file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2101. switch v := v.(*SearchRoleResponse); i {
  2102. case 0:
  2103. return &v.state
  2104. case 1:
  2105. return &v.sizeCache
  2106. case 2:
  2107. return &v.unknownFields
  2108. default:
  2109. return nil
  2110. }
  2111. }
  2112. file_backend_operation_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2113. switch v := v.(*SearchRoleData); i {
  2114. case 0:
  2115. return &v.state
  2116. case 1:
  2117. return &v.sizeCache
  2118. case 2:
  2119. return &v.unknownFields
  2120. default:
  2121. return nil
  2122. }
  2123. }
  2124. file_backend_operation_system_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2125. switch v := v.(*RolePermissionsList); i {
  2126. case 0:
  2127. return &v.state
  2128. case 1:
  2129. return &v.sizeCache
  2130. case 2:
  2131. return &v.unknownFields
  2132. default:
  2133. return nil
  2134. }
  2135. }
  2136. file_backend_operation_system_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2137. switch v := v.(*RolePermissionsData); i {
  2138. case 0:
  2139. return &v.state
  2140. case 1:
  2141. return &v.sizeCache
  2142. case 2:
  2143. return &v.unknownFields
  2144. default:
  2145. return nil
  2146. }
  2147. }
  2148. file_backend_operation_system_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2149. switch v := v.(*SystemToken); i {
  2150. case 0:
  2151. return &v.state
  2152. case 1:
  2153. return &v.sizeCache
  2154. case 2:
  2155. return &v.unknownFields
  2156. default:
  2157. return nil
  2158. }
  2159. }
  2160. file_backend_operation_system_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2161. switch v := v.(*TokenData); i {
  2162. case 0:
  2163. return &v.state
  2164. case 1:
  2165. return &v.sizeCache
  2166. case 2:
  2167. return &v.unknownFields
  2168. default:
  2169. return nil
  2170. }
  2171. }
  2172. file_backend_operation_system_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2173. switch v := v.(*UserAuth); i {
  2174. case 0:
  2175. return &v.state
  2176. case 1:
  2177. return &v.sizeCache
  2178. case 2:
  2179. return &v.unknownFields
  2180. default:
  2181. return nil
  2182. }
  2183. }
  2184. file_backend_operation_system_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2185. switch v := v.(*UserAuthData); i {
  2186. case 0:
  2187. return &v.state
  2188. case 1:
  2189. return &v.sizeCache
  2190. case 2:
  2191. return &v.unknownFields
  2192. default:
  2193. return nil
  2194. }
  2195. }
  2196. file_backend_operation_system_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2197. switch v := v.(*UserRole); i {
  2198. case 0:
  2199. return &v.state
  2200. case 1:
  2201. return &v.sizeCache
  2202. case 2:
  2203. return &v.unknownFields
  2204. default:
  2205. return nil
  2206. }
  2207. }
  2208. file_backend_operation_system_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2209. switch v := v.(*UserDetails); i {
  2210. case 0:
  2211. return &v.state
  2212. case 1:
  2213. return &v.sizeCache
  2214. case 2:
  2215. return &v.unknownFields
  2216. default:
  2217. return nil
  2218. }
  2219. }
  2220. file_backend_operation_system_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2221. switch v := v.(*AddSystemUser); i {
  2222. case 0:
  2223. return &v.state
  2224. case 1:
  2225. return &v.sizeCache
  2226. case 2:
  2227. return &v.unknownFields
  2228. default:
  2229. return nil
  2230. }
  2231. }
  2232. file_backend_operation_system_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2233. switch v := v.(*SearchUserRequest); i {
  2234. case 0:
  2235. return &v.state
  2236. case 1:
  2237. return &v.sizeCache
  2238. case 2:
  2239. return &v.unknownFields
  2240. default:
  2241. return nil
  2242. }
  2243. }
  2244. file_backend_operation_system_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2245. switch v := v.(*SearchUserResponse); i {
  2246. case 0:
  2247. return &v.state
  2248. case 1:
  2249. return &v.sizeCache
  2250. case 2:
  2251. return &v.unknownFields
  2252. default:
  2253. return nil
  2254. }
  2255. }
  2256. file_backend_operation_system_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2257. switch v := v.(*SearchUserData); i {
  2258. case 0:
  2259. return &v.state
  2260. case 1:
  2261. return &v.sizeCache
  2262. case 2:
  2263. return &v.unknownFields
  2264. default:
  2265. return nil
  2266. }
  2267. }
  2268. file_backend_operation_system_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2269. switch v := v.(*IsShowSystemUserRequest); i {
  2270. case 0:
  2271. return &v.state
  2272. case 1:
  2273. return &v.sizeCache
  2274. case 2:
  2275. return &v.unknownFields
  2276. default:
  2277. return nil
  2278. }
  2279. }
  2280. file_backend_operation_system_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2281. switch v := v.(*AddMenuRequest); i {
  2282. case 0:
  2283. return &v.state
  2284. case 1:
  2285. return &v.sizeCache
  2286. case 2:
  2287. return &v.unknownFields
  2288. default:
  2289. return nil
  2290. }
  2291. }
  2292. file_backend_operation_system_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2293. switch v := v.(*IsShowSystemMenuRequest); i {
  2294. case 0:
  2295. return &v.state
  2296. case 1:
  2297. return &v.sizeCache
  2298. case 2:
  2299. return &v.unknownFields
  2300. default:
  2301. return nil
  2302. }
  2303. }
  2304. file_backend_operation_system_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2305. switch v := v.(*SearchMenuRequest); i {
  2306. case 0:
  2307. return &v.state
  2308. case 1:
  2309. return &v.sizeCache
  2310. case 2:
  2311. return &v.unknownFields
  2312. default:
  2313. return nil
  2314. }
  2315. }
  2316. file_backend_operation_system_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2317. switch v := v.(*SearchMenuResponse); i {
  2318. case 0:
  2319. return &v.state
  2320. case 1:
  2321. return &v.sizeCache
  2322. case 2:
  2323. return &v.unknownFields
  2324. default:
  2325. return nil
  2326. }
  2327. }
  2328. file_backend_operation_system_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2329. switch v := v.(*SearchMenuData); i {
  2330. case 0:
  2331. return &v.state
  2332. case 1:
  2333. return &v.sizeCache
  2334. case 2:
  2335. return &v.unknownFields
  2336. default:
  2337. return nil
  2338. }
  2339. }
  2340. file_backend_operation_system_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2341. switch v := v.(*SystemUserMenuPermissions); i {
  2342. case 0:
  2343. return &v.state
  2344. case 1:
  2345. return &v.sizeCache
  2346. case 2:
  2347. return &v.unknownFields
  2348. default:
  2349. return nil
  2350. }
  2351. }
  2352. file_backend_operation_system_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2353. switch v := v.(*SystemUserMenuData); i {
  2354. case 0:
  2355. return &v.state
  2356. case 1:
  2357. return &v.sizeCache
  2358. case 2:
  2359. return &v.unknownFields
  2360. default:
  2361. return nil
  2362. }
  2363. }
  2364. file_backend_operation_system_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2365. switch v := v.(*AddMobileRequest); i {
  2366. case 0:
  2367. return &v.state
  2368. case 1:
  2369. return &v.sizeCache
  2370. case 2:
  2371. return &v.unknownFields
  2372. default:
  2373. return nil
  2374. }
  2375. }
  2376. }
  2377. type x struct{}
  2378. out := protoimpl.TypeBuilder{
  2379. File: protoimpl.DescBuilder{
  2380. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2381. RawDescriptor: file_backend_operation_system_proto_rawDesc,
  2382. NumEnums: 0,
  2383. NumMessages: 28,
  2384. NumExtensions: 0,
  2385. NumServices: 0,
  2386. },
  2387. GoTypes: file_backend_operation_system_proto_goTypes,
  2388. DependencyIndexes: file_backend_operation_system_proto_depIdxs,
  2389. MessageInfos: file_backend_operation_system_proto_msgTypes,
  2390. }.Build()
  2391. File_backend_operation_system_proto = out.File
  2392. file_backend_operation_system_proto_rawDesc = nil
  2393. file_backend_operation_system_proto_goTypes = nil
  2394. file_backend_operation_system_proto_depIdxs = nil
  2395. }