system.pb.go 97 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808
  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. Pastures []*UserPasture `protobuf:"bytes,6,rep,name=pastures,proto3" json:"pastures,omitempty"` // 用户角色牧场牧场
  676. }
  677. func (x *UserAuthData) Reset() {
  678. *x = UserAuthData{}
  679. if protoimpl.UnsafeEnabled {
  680. mi := &file_backend_operation_system_proto_msgTypes[12]
  681. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  682. ms.StoreMessageInfo(mi)
  683. }
  684. }
  685. func (x *UserAuthData) String() string {
  686. return protoimpl.X.MessageStringOf(x)
  687. }
  688. func (*UserAuthData) ProtoMessage() {}
  689. func (x *UserAuthData) ProtoReflect() protoreflect.Message {
  690. mi := &file_backend_operation_system_proto_msgTypes[12]
  691. if protoimpl.UnsafeEnabled && x != nil {
  692. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  693. if ms.LoadMessageInfo() == nil {
  694. ms.StoreMessageInfo(mi)
  695. }
  696. return ms
  697. }
  698. return mi.MessageOf(x)
  699. }
  700. // Deprecated: Use UserAuthData.ProtoReflect.Descriptor instead.
  701. func (*UserAuthData) Descriptor() ([]byte, []int) {
  702. return file_backend_operation_system_proto_rawDescGZIP(), []int{12}
  703. }
  704. func (x *UserAuthData) GetUserName() string {
  705. if x != nil {
  706. return x.UserName
  707. }
  708. return ""
  709. }
  710. func (x *UserAuthData) GetPassword() string {
  711. if x != nil {
  712. return x.Password
  713. }
  714. return ""
  715. }
  716. func (x *UserAuthData) GetPhone() string {
  717. if x != nil {
  718. return x.Phone
  719. }
  720. return ""
  721. }
  722. func (x *UserAuthData) GetRoles() []*UserRole {
  723. if x != nil {
  724. return x.Roles
  725. }
  726. return nil
  727. }
  728. func (x *UserAuthData) GetEmployeeName() string {
  729. if x != nil {
  730. return x.EmployeeName
  731. }
  732. return ""
  733. }
  734. func (x *UserAuthData) GetPastures() []*UserPasture {
  735. if x != nil {
  736. return x.Pastures
  737. }
  738. return nil
  739. }
  740. type UserRole struct {
  741. state protoimpl.MessageState
  742. sizeCache protoimpl.SizeCache
  743. unknownFields protoimpl.UnknownFields
  744. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 角色id
  745. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  746. }
  747. func (x *UserRole) Reset() {
  748. *x = UserRole{}
  749. if protoimpl.UnsafeEnabled {
  750. mi := &file_backend_operation_system_proto_msgTypes[13]
  751. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  752. ms.StoreMessageInfo(mi)
  753. }
  754. }
  755. func (x *UserRole) String() string {
  756. return protoimpl.X.MessageStringOf(x)
  757. }
  758. func (*UserRole) ProtoMessage() {}
  759. func (x *UserRole) ProtoReflect() protoreflect.Message {
  760. mi := &file_backend_operation_system_proto_msgTypes[13]
  761. if protoimpl.UnsafeEnabled && x != nil {
  762. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  763. if ms.LoadMessageInfo() == nil {
  764. ms.StoreMessageInfo(mi)
  765. }
  766. return ms
  767. }
  768. return mi.MessageOf(x)
  769. }
  770. // Deprecated: Use UserRole.ProtoReflect.Descriptor instead.
  771. func (*UserRole) Descriptor() ([]byte, []int) {
  772. return file_backend_operation_system_proto_rawDescGZIP(), []int{13}
  773. }
  774. func (x *UserRole) GetId() int32 {
  775. if x != nil {
  776. return x.Id
  777. }
  778. return 0
  779. }
  780. func (x *UserRole) GetName() string {
  781. if x != nil {
  782. return x.Name
  783. }
  784. return ""
  785. }
  786. // 用户详情
  787. type UserDetails struct {
  788. state protoimpl.MessageState
  789. sizeCache protoimpl.SizeCache
  790. unknownFields protoimpl.UnknownFields
  791. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  792. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  793. Data *AddSystemUser `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  794. }
  795. func (x *UserDetails) Reset() {
  796. *x = UserDetails{}
  797. if protoimpl.UnsafeEnabled {
  798. mi := &file_backend_operation_system_proto_msgTypes[14]
  799. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  800. ms.StoreMessageInfo(mi)
  801. }
  802. }
  803. func (x *UserDetails) String() string {
  804. return protoimpl.X.MessageStringOf(x)
  805. }
  806. func (*UserDetails) ProtoMessage() {}
  807. func (x *UserDetails) ProtoReflect() protoreflect.Message {
  808. mi := &file_backend_operation_system_proto_msgTypes[14]
  809. if protoimpl.UnsafeEnabled && x != nil {
  810. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  811. if ms.LoadMessageInfo() == nil {
  812. ms.StoreMessageInfo(mi)
  813. }
  814. return ms
  815. }
  816. return mi.MessageOf(x)
  817. }
  818. // Deprecated: Use UserDetails.ProtoReflect.Descriptor instead.
  819. func (*UserDetails) Descriptor() ([]byte, []int) {
  820. return file_backend_operation_system_proto_rawDescGZIP(), []int{14}
  821. }
  822. func (x *UserDetails) GetCode() int32 {
  823. if x != nil {
  824. return x.Code
  825. }
  826. return 0
  827. }
  828. func (x *UserDetails) GetMsg() string {
  829. if x != nil {
  830. return x.Msg
  831. }
  832. return ""
  833. }
  834. func (x *UserDetails) GetData() *AddSystemUser {
  835. if x != nil {
  836. return x.Data
  837. }
  838. return nil
  839. }
  840. type AddSystemUser struct {
  841. state protoimpl.MessageState
  842. sizeCache protoimpl.SizeCache
  843. unknownFields protoimpl.UnknownFields
  844. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
  845. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  846. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  847. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 角色
  848. IsShow IsShow_Kind `protobuf:"varint,5,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  849. EmployeeName string `protobuf:"bytes,6,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  850. CreateUser string `protobuf:"bytes,7,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建人
  851. CreatedAt int32 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  852. CreatedAtFormat string `protobuf:"bytes,9,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  853. RoleName string `protobuf:"bytes,10,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 角色名称
  854. RoleIds []int32 `protobuf:"varint,11,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` // 角色ids
  855. }
  856. func (x *AddSystemUser) Reset() {
  857. *x = AddSystemUser{}
  858. if protoimpl.UnsafeEnabled {
  859. mi := &file_backend_operation_system_proto_msgTypes[15]
  860. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  861. ms.StoreMessageInfo(mi)
  862. }
  863. }
  864. func (x *AddSystemUser) String() string {
  865. return protoimpl.X.MessageStringOf(x)
  866. }
  867. func (*AddSystemUser) ProtoMessage() {}
  868. func (x *AddSystemUser) ProtoReflect() protoreflect.Message {
  869. mi := &file_backend_operation_system_proto_msgTypes[15]
  870. if protoimpl.UnsafeEnabled && x != nil {
  871. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  872. if ms.LoadMessageInfo() == nil {
  873. ms.StoreMessageInfo(mi)
  874. }
  875. return ms
  876. }
  877. return mi.MessageOf(x)
  878. }
  879. // Deprecated: Use AddSystemUser.ProtoReflect.Descriptor instead.
  880. func (*AddSystemUser) Descriptor() ([]byte, []int) {
  881. return file_backend_operation_system_proto_rawDescGZIP(), []int{15}
  882. }
  883. func (x *AddSystemUser) GetId() int32 {
  884. if x != nil {
  885. return x.Id
  886. }
  887. return 0
  888. }
  889. func (x *AddSystemUser) GetName() string {
  890. if x != nil {
  891. return x.Name
  892. }
  893. return ""
  894. }
  895. func (x *AddSystemUser) GetPhone() string {
  896. if x != nil {
  897. return x.Phone
  898. }
  899. return ""
  900. }
  901. func (x *AddSystemUser) GetRoles() []*UserRole {
  902. if x != nil {
  903. return x.Roles
  904. }
  905. return nil
  906. }
  907. func (x *AddSystemUser) GetIsShow() IsShow_Kind {
  908. if x != nil {
  909. return x.IsShow
  910. }
  911. return IsShow_INVALID
  912. }
  913. func (x *AddSystemUser) GetEmployeeName() string {
  914. if x != nil {
  915. return x.EmployeeName
  916. }
  917. return ""
  918. }
  919. func (x *AddSystemUser) GetCreateUser() string {
  920. if x != nil {
  921. return x.CreateUser
  922. }
  923. return ""
  924. }
  925. func (x *AddSystemUser) GetCreatedAt() int32 {
  926. if x != nil {
  927. return x.CreatedAt
  928. }
  929. return 0
  930. }
  931. func (x *AddSystemUser) GetCreatedAtFormat() string {
  932. if x != nil {
  933. return x.CreatedAtFormat
  934. }
  935. return ""
  936. }
  937. func (x *AddSystemUser) GetRoleName() string {
  938. if x != nil {
  939. return x.RoleName
  940. }
  941. return ""
  942. }
  943. func (x *AddSystemUser) GetRoleIds() []int32 {
  944. if x != nil {
  945. return x.RoleIds
  946. }
  947. return nil
  948. }
  949. // 查询用户
  950. type SearchUserRequest struct {
  951. state protoimpl.MessageState
  952. sizeCache protoimpl.SizeCache
  953. unknownFields protoimpl.UnknownFields
  954. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  955. EmployeeName string `protobuf:"bytes,2,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  956. IsShow IsShow_Kind `protobuf:"varint,3,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  957. CreatedStartTime uint32 `protobuf:"varint,4,opt,name=created_start_time,json=createdStartTime,proto3" json:"created_start_time,omitempty"` // 开始时间
  958. CreatedEndTime uint32 `protobuf:"varint,5,opt,name=created_end_time,json=createdEndTime,proto3" json:"created_end_time,omitempty"` // 结束时间
  959. Pagination *PaginationModel `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  960. }
  961. func (x *SearchUserRequest) Reset() {
  962. *x = SearchUserRequest{}
  963. if protoimpl.UnsafeEnabled {
  964. mi := &file_backend_operation_system_proto_msgTypes[16]
  965. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  966. ms.StoreMessageInfo(mi)
  967. }
  968. }
  969. func (x *SearchUserRequest) String() string {
  970. return protoimpl.X.MessageStringOf(x)
  971. }
  972. func (*SearchUserRequest) ProtoMessage() {}
  973. func (x *SearchUserRequest) ProtoReflect() protoreflect.Message {
  974. mi := &file_backend_operation_system_proto_msgTypes[16]
  975. if protoimpl.UnsafeEnabled && x != nil {
  976. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  977. if ms.LoadMessageInfo() == nil {
  978. ms.StoreMessageInfo(mi)
  979. }
  980. return ms
  981. }
  982. return mi.MessageOf(x)
  983. }
  984. // Deprecated: Use SearchUserRequest.ProtoReflect.Descriptor instead.
  985. func (*SearchUserRequest) Descriptor() ([]byte, []int) {
  986. return file_backend_operation_system_proto_rawDescGZIP(), []int{16}
  987. }
  988. func (x *SearchUserRequest) GetName() string {
  989. if x != nil {
  990. return x.Name
  991. }
  992. return ""
  993. }
  994. func (x *SearchUserRequest) GetEmployeeName() string {
  995. if x != nil {
  996. return x.EmployeeName
  997. }
  998. return ""
  999. }
  1000. func (x *SearchUserRequest) GetIsShow() IsShow_Kind {
  1001. if x != nil {
  1002. return x.IsShow
  1003. }
  1004. return IsShow_INVALID
  1005. }
  1006. func (x *SearchUserRequest) GetCreatedStartTime() uint32 {
  1007. if x != nil {
  1008. return x.CreatedStartTime
  1009. }
  1010. return 0
  1011. }
  1012. func (x *SearchUserRequest) GetCreatedEndTime() uint32 {
  1013. if x != nil {
  1014. return x.CreatedEndTime
  1015. }
  1016. return 0
  1017. }
  1018. func (x *SearchUserRequest) GetPagination() *PaginationModel {
  1019. if x != nil {
  1020. return x.Pagination
  1021. }
  1022. return nil
  1023. }
  1024. type SearchUserResponse struct {
  1025. state protoimpl.MessageState
  1026. sizeCache protoimpl.SizeCache
  1027. unknownFields protoimpl.UnknownFields
  1028. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1029. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1030. Data *SearchUserData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1031. }
  1032. func (x *SearchUserResponse) Reset() {
  1033. *x = SearchUserResponse{}
  1034. if protoimpl.UnsafeEnabled {
  1035. mi := &file_backend_operation_system_proto_msgTypes[17]
  1036. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1037. ms.StoreMessageInfo(mi)
  1038. }
  1039. }
  1040. func (x *SearchUserResponse) String() string {
  1041. return protoimpl.X.MessageStringOf(x)
  1042. }
  1043. func (*SearchUserResponse) ProtoMessage() {}
  1044. func (x *SearchUserResponse) ProtoReflect() protoreflect.Message {
  1045. mi := &file_backend_operation_system_proto_msgTypes[17]
  1046. if protoimpl.UnsafeEnabled && x != nil {
  1047. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1048. if ms.LoadMessageInfo() == nil {
  1049. ms.StoreMessageInfo(mi)
  1050. }
  1051. return ms
  1052. }
  1053. return mi.MessageOf(x)
  1054. }
  1055. // Deprecated: Use SearchUserResponse.ProtoReflect.Descriptor instead.
  1056. func (*SearchUserResponse) Descriptor() ([]byte, []int) {
  1057. return file_backend_operation_system_proto_rawDescGZIP(), []int{17}
  1058. }
  1059. func (x *SearchUserResponse) GetCode() int32 {
  1060. if x != nil {
  1061. return x.Code
  1062. }
  1063. return 0
  1064. }
  1065. func (x *SearchUserResponse) GetMsg() string {
  1066. if x != nil {
  1067. return x.Msg
  1068. }
  1069. return ""
  1070. }
  1071. func (x *SearchUserResponse) GetData() *SearchUserData {
  1072. if x != nil {
  1073. return x.Data
  1074. }
  1075. return nil
  1076. }
  1077. type SearchUserData struct {
  1078. state protoimpl.MessageState
  1079. sizeCache protoimpl.SizeCache
  1080. unknownFields protoimpl.UnknownFields
  1081. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  1082. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  1083. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1084. List []*AddSystemUser `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  1085. }
  1086. func (x *SearchUserData) Reset() {
  1087. *x = SearchUserData{}
  1088. if protoimpl.UnsafeEnabled {
  1089. mi := &file_backend_operation_system_proto_msgTypes[18]
  1090. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1091. ms.StoreMessageInfo(mi)
  1092. }
  1093. }
  1094. func (x *SearchUserData) String() string {
  1095. return protoimpl.X.MessageStringOf(x)
  1096. }
  1097. func (*SearchUserData) ProtoMessage() {}
  1098. func (x *SearchUserData) ProtoReflect() protoreflect.Message {
  1099. mi := &file_backend_operation_system_proto_msgTypes[18]
  1100. if protoimpl.UnsafeEnabled && x != nil {
  1101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1102. if ms.LoadMessageInfo() == nil {
  1103. ms.StoreMessageInfo(mi)
  1104. }
  1105. return ms
  1106. }
  1107. return mi.MessageOf(x)
  1108. }
  1109. // Deprecated: Use SearchUserData.ProtoReflect.Descriptor instead.
  1110. func (*SearchUserData) Descriptor() ([]byte, []int) {
  1111. return file_backend_operation_system_proto_rawDescGZIP(), []int{18}
  1112. }
  1113. func (x *SearchUserData) GetPage() int32 {
  1114. if x != nil {
  1115. return x.Page
  1116. }
  1117. return 0
  1118. }
  1119. func (x *SearchUserData) GetTotal() int32 {
  1120. if x != nil {
  1121. return x.Total
  1122. }
  1123. return 0
  1124. }
  1125. func (x *SearchUserData) GetPageSize() int32 {
  1126. if x != nil {
  1127. return x.PageSize
  1128. }
  1129. return 0
  1130. }
  1131. func (x *SearchUserData) GetList() []*AddSystemUser {
  1132. if x != nil {
  1133. return x.List
  1134. }
  1135. return nil
  1136. }
  1137. type IsShowSystemUserRequest struct {
  1138. state protoimpl.MessageState
  1139. sizeCache protoimpl.SizeCache
  1140. unknownFields protoimpl.UnknownFields
  1141. UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  1142. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  1143. }
  1144. func (x *IsShowSystemUserRequest) Reset() {
  1145. *x = IsShowSystemUserRequest{}
  1146. if protoimpl.UnsafeEnabled {
  1147. mi := &file_backend_operation_system_proto_msgTypes[19]
  1148. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1149. ms.StoreMessageInfo(mi)
  1150. }
  1151. }
  1152. func (x *IsShowSystemUserRequest) String() string {
  1153. return protoimpl.X.MessageStringOf(x)
  1154. }
  1155. func (*IsShowSystemUserRequest) ProtoMessage() {}
  1156. func (x *IsShowSystemUserRequest) ProtoReflect() protoreflect.Message {
  1157. mi := &file_backend_operation_system_proto_msgTypes[19]
  1158. if protoimpl.UnsafeEnabled && x != nil {
  1159. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1160. if ms.LoadMessageInfo() == nil {
  1161. ms.StoreMessageInfo(mi)
  1162. }
  1163. return ms
  1164. }
  1165. return mi.MessageOf(x)
  1166. }
  1167. // Deprecated: Use IsShowSystemUserRequest.ProtoReflect.Descriptor instead.
  1168. func (*IsShowSystemUserRequest) Descriptor() ([]byte, []int) {
  1169. return file_backend_operation_system_proto_rawDescGZIP(), []int{19}
  1170. }
  1171. func (x *IsShowSystemUserRequest) GetUserId() int32 {
  1172. if x != nil {
  1173. return x.UserId
  1174. }
  1175. return 0
  1176. }
  1177. func (x *IsShowSystemUserRequest) GetIsShow() IsShow_Kind {
  1178. if x != nil {
  1179. return x.IsShow
  1180. }
  1181. return IsShow_INVALID
  1182. }
  1183. // 系统菜单权限
  1184. type AddMenuRequest struct {
  1185. state protoimpl.MessageState
  1186. sizeCache protoimpl.SizeCache
  1187. unknownFields protoimpl.UnknownFields
  1188. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1189. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1190. ParentId int32 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父id
  1191. MenuType int32 `protobuf:"varint,4,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"` // 菜单类型 1 菜单 2 按钮
  1192. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` // 标题
  1193. Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // 路径 path
  1194. IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否显示
  1195. Component string `protobuf:"bytes,8,opt,name=component,proto3" json:"component,omitempty"` // 组件
  1196. Icon string `protobuf:"bytes,9,opt,name=icon,proto3" json:"icon,omitempty"` // 图标
  1197. Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
  1198. Redirect string `protobuf:"bytes,11,opt,name=redirect,proto3" json:"redirect,omitempty"` // 重定向
  1199. CreatedAt int32 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  1200. CreatedAtFormat string `protobuf:"bytes,13,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  1201. Level int32 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` // 菜单等级
  1202. Children []*AddMenuRequest `protobuf:"bytes,15,rep,name=children,proto3" json:"children,omitempty"` // 子分类
  1203. Affix bool `protobuf:"varint,16,opt,name=affix,proto3" json:"affix,omitempty"`
  1204. KeepAlive bool `protobuf:"varint,17,opt,name=keepAlive,proto3" json:"keepAlive,omitempty"`
  1205. }
  1206. func (x *AddMenuRequest) Reset() {
  1207. *x = AddMenuRequest{}
  1208. if protoimpl.UnsafeEnabled {
  1209. mi := &file_backend_operation_system_proto_msgTypes[20]
  1210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1211. ms.StoreMessageInfo(mi)
  1212. }
  1213. }
  1214. func (x *AddMenuRequest) String() string {
  1215. return protoimpl.X.MessageStringOf(x)
  1216. }
  1217. func (*AddMenuRequest) ProtoMessage() {}
  1218. func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
  1219. mi := &file_backend_operation_system_proto_msgTypes[20]
  1220. if protoimpl.UnsafeEnabled && x != nil {
  1221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1222. if ms.LoadMessageInfo() == nil {
  1223. ms.StoreMessageInfo(mi)
  1224. }
  1225. return ms
  1226. }
  1227. return mi.MessageOf(x)
  1228. }
  1229. // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
  1230. func (*AddMenuRequest) Descriptor() ([]byte, []int) {
  1231. return file_backend_operation_system_proto_rawDescGZIP(), []int{20}
  1232. }
  1233. func (x *AddMenuRequest) GetId() int32 {
  1234. if x != nil {
  1235. return x.Id
  1236. }
  1237. return 0
  1238. }
  1239. func (x *AddMenuRequest) GetName() string {
  1240. if x != nil {
  1241. return x.Name
  1242. }
  1243. return ""
  1244. }
  1245. func (x *AddMenuRequest) GetParentId() int32 {
  1246. if x != nil {
  1247. return x.ParentId
  1248. }
  1249. return 0
  1250. }
  1251. func (x *AddMenuRequest) GetMenuType() int32 {
  1252. if x != nil {
  1253. return x.MenuType
  1254. }
  1255. return 0
  1256. }
  1257. func (x *AddMenuRequest) GetTitle() string {
  1258. if x != nil {
  1259. return x.Title
  1260. }
  1261. return ""
  1262. }
  1263. func (x *AddMenuRequest) GetPath() string {
  1264. if x != nil {
  1265. return x.Path
  1266. }
  1267. return ""
  1268. }
  1269. func (x *AddMenuRequest) GetIsShow() IsShow_Kind {
  1270. if x != nil {
  1271. return x.IsShow
  1272. }
  1273. return IsShow_INVALID
  1274. }
  1275. func (x *AddMenuRequest) GetComponent() string {
  1276. if x != nil {
  1277. return x.Component
  1278. }
  1279. return ""
  1280. }
  1281. func (x *AddMenuRequest) GetIcon() string {
  1282. if x != nil {
  1283. return x.Icon
  1284. }
  1285. return ""
  1286. }
  1287. func (x *AddMenuRequest) GetSort() int32 {
  1288. if x != nil {
  1289. return x.Sort
  1290. }
  1291. return 0
  1292. }
  1293. func (x *AddMenuRequest) GetRedirect() string {
  1294. if x != nil {
  1295. return x.Redirect
  1296. }
  1297. return ""
  1298. }
  1299. func (x *AddMenuRequest) GetCreatedAt() int32 {
  1300. if x != nil {
  1301. return x.CreatedAt
  1302. }
  1303. return 0
  1304. }
  1305. func (x *AddMenuRequest) GetCreatedAtFormat() string {
  1306. if x != nil {
  1307. return x.CreatedAtFormat
  1308. }
  1309. return ""
  1310. }
  1311. func (x *AddMenuRequest) GetLevel() int32 {
  1312. if x != nil {
  1313. return x.Level
  1314. }
  1315. return 0
  1316. }
  1317. func (x *AddMenuRequest) GetChildren() []*AddMenuRequest {
  1318. if x != nil {
  1319. return x.Children
  1320. }
  1321. return nil
  1322. }
  1323. func (x *AddMenuRequest) GetAffix() bool {
  1324. if x != nil {
  1325. return x.Affix
  1326. }
  1327. return false
  1328. }
  1329. func (x *AddMenuRequest) GetKeepAlive() bool {
  1330. if x != nil {
  1331. return x.KeepAlive
  1332. }
  1333. return false
  1334. }
  1335. type IsShowSystemMenuRequest struct {
  1336. state protoimpl.MessageState
  1337. sizeCache protoimpl.SizeCache
  1338. unknownFields protoimpl.UnknownFields
  1339. MenuId int32 `protobuf:"varint,1,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 角色id
  1340. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  1341. }
  1342. func (x *IsShowSystemMenuRequest) Reset() {
  1343. *x = IsShowSystemMenuRequest{}
  1344. if protoimpl.UnsafeEnabled {
  1345. mi := &file_backend_operation_system_proto_msgTypes[21]
  1346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1347. ms.StoreMessageInfo(mi)
  1348. }
  1349. }
  1350. func (x *IsShowSystemMenuRequest) String() string {
  1351. return protoimpl.X.MessageStringOf(x)
  1352. }
  1353. func (*IsShowSystemMenuRequest) ProtoMessage() {}
  1354. func (x *IsShowSystemMenuRequest) ProtoReflect() protoreflect.Message {
  1355. mi := &file_backend_operation_system_proto_msgTypes[21]
  1356. if protoimpl.UnsafeEnabled && x != nil {
  1357. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1358. if ms.LoadMessageInfo() == nil {
  1359. ms.StoreMessageInfo(mi)
  1360. }
  1361. return ms
  1362. }
  1363. return mi.MessageOf(x)
  1364. }
  1365. // Deprecated: Use IsShowSystemMenuRequest.ProtoReflect.Descriptor instead.
  1366. func (*IsShowSystemMenuRequest) Descriptor() ([]byte, []int) {
  1367. return file_backend_operation_system_proto_rawDescGZIP(), []int{21}
  1368. }
  1369. func (x *IsShowSystemMenuRequest) GetMenuId() int32 {
  1370. if x != nil {
  1371. return x.MenuId
  1372. }
  1373. return 0
  1374. }
  1375. func (x *IsShowSystemMenuRequest) GetIsShow() IsShow_Kind {
  1376. if x != nil {
  1377. return x.IsShow
  1378. }
  1379. return IsShow_INVALID
  1380. }
  1381. // 查询菜单权限
  1382. type SearchMenuRequest struct {
  1383. state protoimpl.MessageState
  1384. sizeCache protoimpl.SizeCache
  1385. unknownFields protoimpl.UnknownFields
  1386. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 菜单名称
  1387. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  1388. }
  1389. func (x *SearchMenuRequest) Reset() {
  1390. *x = SearchMenuRequest{}
  1391. if protoimpl.UnsafeEnabled {
  1392. mi := &file_backend_operation_system_proto_msgTypes[22]
  1393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1394. ms.StoreMessageInfo(mi)
  1395. }
  1396. }
  1397. func (x *SearchMenuRequest) String() string {
  1398. return protoimpl.X.MessageStringOf(x)
  1399. }
  1400. func (*SearchMenuRequest) ProtoMessage() {}
  1401. func (x *SearchMenuRequest) ProtoReflect() protoreflect.Message {
  1402. mi := &file_backend_operation_system_proto_msgTypes[22]
  1403. if protoimpl.UnsafeEnabled && x != nil {
  1404. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1405. if ms.LoadMessageInfo() == nil {
  1406. ms.StoreMessageInfo(mi)
  1407. }
  1408. return ms
  1409. }
  1410. return mi.MessageOf(x)
  1411. }
  1412. // Deprecated: Use SearchMenuRequest.ProtoReflect.Descriptor instead.
  1413. func (*SearchMenuRequest) Descriptor() ([]byte, []int) {
  1414. return file_backend_operation_system_proto_rawDescGZIP(), []int{22}
  1415. }
  1416. func (x *SearchMenuRequest) GetName() string {
  1417. if x != nil {
  1418. return x.Name
  1419. }
  1420. return ""
  1421. }
  1422. func (x *SearchMenuRequest) GetPagination() *PaginationModel {
  1423. if x != nil {
  1424. return x.Pagination
  1425. }
  1426. return nil
  1427. }
  1428. type SearchMenuResponse struct {
  1429. state protoimpl.MessageState
  1430. sizeCache protoimpl.SizeCache
  1431. unknownFields protoimpl.UnknownFields
  1432. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1433. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1434. Data *SearchMenuData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1435. }
  1436. func (x *SearchMenuResponse) Reset() {
  1437. *x = SearchMenuResponse{}
  1438. if protoimpl.UnsafeEnabled {
  1439. mi := &file_backend_operation_system_proto_msgTypes[23]
  1440. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1441. ms.StoreMessageInfo(mi)
  1442. }
  1443. }
  1444. func (x *SearchMenuResponse) String() string {
  1445. return protoimpl.X.MessageStringOf(x)
  1446. }
  1447. func (*SearchMenuResponse) ProtoMessage() {}
  1448. func (x *SearchMenuResponse) ProtoReflect() protoreflect.Message {
  1449. mi := &file_backend_operation_system_proto_msgTypes[23]
  1450. if protoimpl.UnsafeEnabled && x != nil {
  1451. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1452. if ms.LoadMessageInfo() == nil {
  1453. ms.StoreMessageInfo(mi)
  1454. }
  1455. return ms
  1456. }
  1457. return mi.MessageOf(x)
  1458. }
  1459. // Deprecated: Use SearchMenuResponse.ProtoReflect.Descriptor instead.
  1460. func (*SearchMenuResponse) Descriptor() ([]byte, []int) {
  1461. return file_backend_operation_system_proto_rawDescGZIP(), []int{23}
  1462. }
  1463. func (x *SearchMenuResponse) GetCode() int32 {
  1464. if x != nil {
  1465. return x.Code
  1466. }
  1467. return 0
  1468. }
  1469. func (x *SearchMenuResponse) GetMsg() string {
  1470. if x != nil {
  1471. return x.Msg
  1472. }
  1473. return ""
  1474. }
  1475. func (x *SearchMenuResponse) GetData() *SearchMenuData {
  1476. if x != nil {
  1477. return x.Data
  1478. }
  1479. return nil
  1480. }
  1481. type SearchMenuData struct {
  1482. state protoimpl.MessageState
  1483. sizeCache protoimpl.SizeCache
  1484. unknownFields protoimpl.UnknownFields
  1485. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  1486. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  1487. List []*AddMenuRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  1488. }
  1489. func (x *SearchMenuData) Reset() {
  1490. *x = SearchMenuData{}
  1491. if protoimpl.UnsafeEnabled {
  1492. mi := &file_backend_operation_system_proto_msgTypes[24]
  1493. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1494. ms.StoreMessageInfo(mi)
  1495. }
  1496. }
  1497. func (x *SearchMenuData) String() string {
  1498. return protoimpl.X.MessageStringOf(x)
  1499. }
  1500. func (*SearchMenuData) ProtoMessage() {}
  1501. func (x *SearchMenuData) ProtoReflect() protoreflect.Message {
  1502. mi := &file_backend_operation_system_proto_msgTypes[24]
  1503. if protoimpl.UnsafeEnabled && x != nil {
  1504. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1505. if ms.LoadMessageInfo() == nil {
  1506. ms.StoreMessageInfo(mi)
  1507. }
  1508. return ms
  1509. }
  1510. return mi.MessageOf(x)
  1511. }
  1512. // Deprecated: Use SearchMenuData.ProtoReflect.Descriptor instead.
  1513. func (*SearchMenuData) Descriptor() ([]byte, []int) {
  1514. return file_backend_operation_system_proto_rawDescGZIP(), []int{24}
  1515. }
  1516. func (x *SearchMenuData) GetPage() int32 {
  1517. if x != nil {
  1518. return x.Page
  1519. }
  1520. return 0
  1521. }
  1522. func (x *SearchMenuData) GetTotal() int32 {
  1523. if x != nil {
  1524. return x.Total
  1525. }
  1526. return 0
  1527. }
  1528. func (x *SearchMenuData) GetList() []*AddMenuRequest {
  1529. if x != nil {
  1530. return x.List
  1531. }
  1532. return nil
  1533. }
  1534. // 系统用户权限相关
  1535. type SystemUserMenuPermissions struct {
  1536. state protoimpl.MessageState
  1537. sizeCache protoimpl.SizeCache
  1538. unknownFields protoimpl.UnknownFields
  1539. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1540. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  1541. Data *SystemUserMenuData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  1542. }
  1543. func (x *SystemUserMenuPermissions) Reset() {
  1544. *x = SystemUserMenuPermissions{}
  1545. if protoimpl.UnsafeEnabled {
  1546. mi := &file_backend_operation_system_proto_msgTypes[25]
  1547. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1548. ms.StoreMessageInfo(mi)
  1549. }
  1550. }
  1551. func (x *SystemUserMenuPermissions) String() string {
  1552. return protoimpl.X.MessageStringOf(x)
  1553. }
  1554. func (*SystemUserMenuPermissions) ProtoMessage() {}
  1555. func (x *SystemUserMenuPermissions) ProtoReflect() protoreflect.Message {
  1556. mi := &file_backend_operation_system_proto_msgTypes[25]
  1557. if protoimpl.UnsafeEnabled && x != nil {
  1558. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1559. if ms.LoadMessageInfo() == nil {
  1560. ms.StoreMessageInfo(mi)
  1561. }
  1562. return ms
  1563. }
  1564. return mi.MessageOf(x)
  1565. }
  1566. // Deprecated: Use SystemUserMenuPermissions.ProtoReflect.Descriptor instead.
  1567. func (*SystemUserMenuPermissions) Descriptor() ([]byte, []int) {
  1568. return file_backend_operation_system_proto_rawDescGZIP(), []int{25}
  1569. }
  1570. func (x *SystemUserMenuPermissions) GetCode() int32 {
  1571. if x != nil {
  1572. return x.Code
  1573. }
  1574. return 0
  1575. }
  1576. func (x *SystemUserMenuPermissions) GetMsg() string {
  1577. if x != nil {
  1578. return x.Msg
  1579. }
  1580. return ""
  1581. }
  1582. func (x *SystemUserMenuPermissions) GetData() *SystemUserMenuData {
  1583. if x != nil {
  1584. return x.Data
  1585. }
  1586. return nil
  1587. }
  1588. type SystemUserMenuData struct {
  1589. state protoimpl.MessageState
  1590. sizeCache protoimpl.SizeCache
  1591. unknownFields protoimpl.UnknownFields
  1592. PastureList []*AddPastureRequest `protobuf:"bytes,1,rep,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场列表
  1593. MenuList []*AddMenuRequest `protobuf:"bytes,2,rep,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 菜单列表
  1594. MobileList []*AddMobileRequest `protobuf:"bytes,3,rep,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限
  1595. MenuButtonsPath []*MenuButtonsPath `protobuf:"bytes,4,rep,name=menu_buttons_path,json=menuButtonsPath,proto3" json:"menu_buttons_path,omitempty"` // 按钮级别权限path,前端需要特别处理
  1596. }
  1597. func (x *SystemUserMenuData) Reset() {
  1598. *x = SystemUserMenuData{}
  1599. if protoimpl.UnsafeEnabled {
  1600. mi := &file_backend_operation_system_proto_msgTypes[26]
  1601. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1602. ms.StoreMessageInfo(mi)
  1603. }
  1604. }
  1605. func (x *SystemUserMenuData) String() string {
  1606. return protoimpl.X.MessageStringOf(x)
  1607. }
  1608. func (*SystemUserMenuData) ProtoMessage() {}
  1609. func (x *SystemUserMenuData) ProtoReflect() protoreflect.Message {
  1610. mi := &file_backend_operation_system_proto_msgTypes[26]
  1611. if protoimpl.UnsafeEnabled && x != nil {
  1612. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1613. if ms.LoadMessageInfo() == nil {
  1614. ms.StoreMessageInfo(mi)
  1615. }
  1616. return ms
  1617. }
  1618. return mi.MessageOf(x)
  1619. }
  1620. // Deprecated: Use SystemUserMenuData.ProtoReflect.Descriptor instead.
  1621. func (*SystemUserMenuData) Descriptor() ([]byte, []int) {
  1622. return file_backend_operation_system_proto_rawDescGZIP(), []int{26}
  1623. }
  1624. func (x *SystemUserMenuData) GetPastureList() []*AddPastureRequest {
  1625. if x != nil {
  1626. return x.PastureList
  1627. }
  1628. return nil
  1629. }
  1630. func (x *SystemUserMenuData) GetMenuList() []*AddMenuRequest {
  1631. if x != nil {
  1632. return x.MenuList
  1633. }
  1634. return nil
  1635. }
  1636. func (x *SystemUserMenuData) GetMobileList() []*AddMobileRequest {
  1637. if x != nil {
  1638. return x.MobileList
  1639. }
  1640. return nil
  1641. }
  1642. func (x *SystemUserMenuData) GetMenuButtonsPath() []*MenuButtonsPath {
  1643. if x != nil {
  1644. return x.MenuButtonsPath
  1645. }
  1646. return nil
  1647. }
  1648. type MenuButtonsPath struct {
  1649. state protoimpl.MessageState
  1650. sizeCache protoimpl.SizeCache
  1651. unknownFields protoimpl.UnknownFields
  1652. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
  1653. MenuId int32 `protobuf:"varint,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"`
  1654. }
  1655. func (x *MenuButtonsPath) Reset() {
  1656. *x = MenuButtonsPath{}
  1657. if protoimpl.UnsafeEnabled {
  1658. mi := &file_backend_operation_system_proto_msgTypes[27]
  1659. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1660. ms.StoreMessageInfo(mi)
  1661. }
  1662. }
  1663. func (x *MenuButtonsPath) String() string {
  1664. return protoimpl.X.MessageStringOf(x)
  1665. }
  1666. func (*MenuButtonsPath) ProtoMessage() {}
  1667. func (x *MenuButtonsPath) ProtoReflect() protoreflect.Message {
  1668. mi := &file_backend_operation_system_proto_msgTypes[27]
  1669. if protoimpl.UnsafeEnabled && x != nil {
  1670. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1671. if ms.LoadMessageInfo() == nil {
  1672. ms.StoreMessageInfo(mi)
  1673. }
  1674. return ms
  1675. }
  1676. return mi.MessageOf(x)
  1677. }
  1678. // Deprecated: Use MenuButtonsPath.ProtoReflect.Descriptor instead.
  1679. func (*MenuButtonsPath) Descriptor() ([]byte, []int) {
  1680. return file_backend_operation_system_proto_rawDescGZIP(), []int{27}
  1681. }
  1682. func (x *MenuButtonsPath) GetPath() string {
  1683. if x != nil {
  1684. return x.Path
  1685. }
  1686. return ""
  1687. }
  1688. func (x *MenuButtonsPath) GetMenuId() int32 {
  1689. if x != nil {
  1690. return x.MenuId
  1691. }
  1692. return 0
  1693. }
  1694. // 移动端
  1695. type AddMobileRequest struct {
  1696. state protoimpl.MessageState
  1697. sizeCache protoimpl.SizeCache
  1698. unknownFields protoimpl.UnknownFields
  1699. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // id
  1700. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1701. }
  1702. func (x *AddMobileRequest) Reset() {
  1703. *x = AddMobileRequest{}
  1704. if protoimpl.UnsafeEnabled {
  1705. mi := &file_backend_operation_system_proto_msgTypes[28]
  1706. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1707. ms.StoreMessageInfo(mi)
  1708. }
  1709. }
  1710. func (x *AddMobileRequest) String() string {
  1711. return protoimpl.X.MessageStringOf(x)
  1712. }
  1713. func (*AddMobileRequest) ProtoMessage() {}
  1714. func (x *AddMobileRequest) ProtoReflect() protoreflect.Message {
  1715. mi := &file_backend_operation_system_proto_msgTypes[28]
  1716. if protoimpl.UnsafeEnabled && x != nil {
  1717. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1718. if ms.LoadMessageInfo() == nil {
  1719. ms.StoreMessageInfo(mi)
  1720. }
  1721. return ms
  1722. }
  1723. return mi.MessageOf(x)
  1724. }
  1725. // Deprecated: Use AddMobileRequest.ProtoReflect.Descriptor instead.
  1726. func (*AddMobileRequest) Descriptor() ([]byte, []int) {
  1727. return file_backend_operation_system_proto_rawDescGZIP(), []int{28}
  1728. }
  1729. func (x *AddMobileRequest) GetId() uint32 {
  1730. if x != nil {
  1731. return x.Id
  1732. }
  1733. return 0
  1734. }
  1735. func (x *AddMobileRequest) GetName() string {
  1736. if x != nil {
  1737. return x.Name
  1738. }
  1739. return ""
  1740. }
  1741. var File_backend_operation_system_proto protoreflect.FileDescriptor
  1742. var file_backend_operation_system_proto_rawDesc = []byte{
  1743. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1744. 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1745. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1746. 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  1747. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1748. 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1749. 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1750. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f,
  1751. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65,
  1752. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  1753. 0x4f, 0x4b, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  1754. 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
  1755. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  1756. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1757. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65,
  1758. 0x73, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x23, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63,
  1759. 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01,
  1760. 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x22, 0x0a,
  1761. 0x08, 0x57, 0x78, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x65,
  1762. 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69,
  1763. 0x64, 0x22, 0xc8, 0x02, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
  1764. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  1765. 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  1766. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61,
  1767. 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
  1768. 0x6b, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20,
  1769. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1770. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b,
  1771. 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
  1772. 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52,
  1773. 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65,
  1774. 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x65, 0x6e,
  1775. 0x75, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64,
  1776. 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x49, 0x64,
  1777. 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18,
  1778. 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
  1779. 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
  1780. 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
  1781. 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66,
  1782. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65,
  1783. 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x6b, 0x0a, 0x11,
  1784. 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1785. 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1786. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  1787. 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1788. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61,
  1789. 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70,
  1790. 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61,
  1791. 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1792. 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63,
  1793. 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1794. 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
  1795. 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1796. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f,
  1797. 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8e, 0x01, 0x0a,
  1798. 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12,
  1799. 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70,
  1800. 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
  1801. 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
  1802. 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
  1803. 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04,
  1804. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1805. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65,
  1806. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x77, 0x0a,
  1807. 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
  1808. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1809. 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
  1810. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3a, 0x0a, 0x04, 0x64, 0x61,
  1811. 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1812. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x6f, 0x6c,
  1813. 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61,
  1814. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x76, 0x0a, 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65,
  1815. 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a,
  1816. 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
  1817. 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21,
  1818. 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02,
  1819. 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73,
  1820. 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  1821. 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x65,
  1822. 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x12, 0x0a,
  1823. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1824. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1825. 0x6d, 0x73, 0x67, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
  1826. 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1827. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52,
  1828. 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x21, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x61,
  1829. 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  1830. 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x65, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72,
  1831. 0x41, 0x75, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
  1832. 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
  1833. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61,
  1834. 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1835. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65,
  1836. 0x72, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
  1837. 0xf1, 0x01, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x44, 0x61, 0x74, 0x61,
  1838. 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1839. 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
  1840. 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  1841. 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f,
  1842. 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12,
  1843. 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b,
  1844. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1845. 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c,
  1846. 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e,
  1847. 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f,
  1848. 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x74, 0x75,
  1849. 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1850. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73,
  1851. 0x65, 0x72, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08, 0x70, 0x61, 0x73, 0x74, 0x75,
  1852. 0x72, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12,
  1853. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
  1854. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1855. 0x61, 0x6d, 0x65, 0x22, 0x69, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69,
  1856. 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  1857. 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
  1858. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
  1859. 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1860. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79,
  1861. 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xfe,
  1862. 0x02, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72,
  1863. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
  1864. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1865. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20,
  1866. 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f,
  1867. 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1868. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73,
  1869. 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x37, 0x0a,
  1870. 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e,
  1871. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1872. 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06,
  1873. 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79,
  1874. 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
  1875. 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63,
  1876. 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
  1877. 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a,
  1878. 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05,
  1879. 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63,
  1880. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
  1881. 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
  1882. 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f,
  1883. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65,
  1884. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73,
  1885. 0x18, 0x0b, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22,
  1886. 0xa1, 0x02, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1887. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1888. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70,
  1889. 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1890. 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37,
  1891. 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1892. 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1893. 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  1894. 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74,
  1895. 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,
  1896. 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x72,
  1897. 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1898. 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52,
  1899. 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
  1900. 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
  1901. 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1902. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  1903. 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  1904. 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65,
  1905. 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
  1906. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
  1907. 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12,
  1908. 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
  1909. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1910. 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61,
  1911. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8d, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63,
  1912. 0x68, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
  1913. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
  1914. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f,
  1915. 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
  1916. 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
  1917. 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20,
  1918. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1919. 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72,
  1920. 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6b, 0x0a, 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1921. 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1922. 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1923. 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73,
  1924. 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
  1925. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1926. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
  1927. 0x68, 0x6f, 0x77, 0x22, 0x87, 0x04, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52,
  1928. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1929. 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1930. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61,
  1931. 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70,
  1932. 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f,
  1933. 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75,
  1934. 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20,
  1935. 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,
  1936. 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x37,
  1937. 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1938. 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1939. 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  1940. 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
  1941. 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70,
  1942. 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x09, 0x20,
  1943. 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72,
  1944. 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a,
  1945. 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
  1946. 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
  1947. 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63,
  1948. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61,
  1949. 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0d, 0x20,
  1950. 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f,
  1951. 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20,
  1952. 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3d, 0x0a, 0x08, 0x63, 0x68,
  1953. 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62,
  1954. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1955. 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
  1956. 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66, 0x66,
  1957. 0x69, 0x78, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x66, 0x66, 0x69, 0x78, 0x12,
  1958. 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x11, 0x20, 0x01,
  1959. 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x22, 0x6b, 0x0a,
  1960. 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x6e,
  1961. 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75,
  1962. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49,
  1963. 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01,
  1964. 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1965. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69,
  1966. 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x6b, 0x0a, 0x11, 0x53, 0x65,
  1967. 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1968. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1969. 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  1970. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e,
  1971. 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69,
  1972. 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67,
  1973. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63,
  1974. 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
  1975. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,
  1976. 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  1977. 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
  1978. 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1979. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75,
  1980. 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x71, 0x0a, 0x0e, 0x53, 0x65,
  1981. 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04,
  1982. 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65,
  1983. 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  1984. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  1985. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1986. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75,
  1987. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7c, 0x0a,
  1988. 0x19, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e, 0x75, 0x50,
  1989. 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f,
  1990. 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10,
  1991. 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67,
  1992. 0x12, 0x39, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
  1993. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1994. 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e,
  1995. 0x75, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb3, 0x02, 0x0a, 0x12,
  1996. 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6e, 0x75, 0x44, 0x61,
  1997. 0x74, 0x61, 0x12, 0x47, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69,
  1998. 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1999. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64,
  2000. 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0b,
  2001. 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x09, 0x6d,
  2002. 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
  2003. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  2004. 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2005. 0x74, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x6d,
  2006. 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  2007. 0x32, 0x23, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  2008. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65,
  2009. 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73,
  2010. 0x74, 0x12, 0x4e, 0x0a, 0x11, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e,
  2011. 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62,
  2012. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2013. 0x2e, 0x4d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x50, 0x61, 0x74, 0x68,
  2014. 0x52, 0x0f, 0x6d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x50, 0x61, 0x74,
  2015. 0x68, 0x22, 0x3e, 0x0a, 0x0f, 0x4d, 0x65, 0x6e, 0x75, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73,
  2016. 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01,
  2017. 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75,
  2018. 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49,
  2019. 0x64, 0x22, 0x36, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65,
  2020. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  2021. 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  2022. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f,
  2023. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  2024. 0x6f, 0x33,
  2025. }
  2026. var (
  2027. file_backend_operation_system_proto_rawDescOnce sync.Once
  2028. file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
  2029. )
  2030. func file_backend_operation_system_proto_rawDescGZIP() []byte {
  2031. file_backend_operation_system_proto_rawDescOnce.Do(func() {
  2032. file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
  2033. })
  2034. return file_backend_operation_system_proto_rawDescData
  2035. }
  2036. var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
  2037. var file_backend_operation_system_proto_goTypes = []interface{}{
  2038. (*CommonOK)(nil), // 0: backend.operation.CommonOK
  2039. (*Success)(nil), // 1: backend.operation.Success
  2040. (*WxOpenId)(nil), // 2: backend.operation.WxOpenId
  2041. (*AddRoleRequest)(nil), // 3: backend.operation.AddRoleRequest
  2042. (*SearchRoleRequest)(nil), // 4: backend.operation.SearchRoleRequest
  2043. (*SearchRoleResponse)(nil), // 5: backend.operation.SearchRoleResponse
  2044. (*SearchRoleData)(nil), // 6: backend.operation.SearchRoleData
  2045. (*RolePermissionsList)(nil), // 7: backend.operation.RolePermissionsList
  2046. (*RolePermissionsData)(nil), // 8: backend.operation.RolePermissionsData
  2047. (*SystemToken)(nil), // 9: backend.operation.SystemToken
  2048. (*TokenData)(nil), // 10: backend.operation.TokenData
  2049. (*UserAuth)(nil), // 11: backend.operation.UserAuth
  2050. (*UserAuthData)(nil), // 12: backend.operation.UserAuthData
  2051. (*UserRole)(nil), // 13: backend.operation.UserRole
  2052. (*UserDetails)(nil), // 14: backend.operation.UserDetails
  2053. (*AddSystemUser)(nil), // 15: backend.operation.AddSystemUser
  2054. (*SearchUserRequest)(nil), // 16: backend.operation.SearchUserRequest
  2055. (*SearchUserResponse)(nil), // 17: backend.operation.SearchUserResponse
  2056. (*SearchUserData)(nil), // 18: backend.operation.SearchUserData
  2057. (*IsShowSystemUserRequest)(nil), // 19: backend.operation.IsShowSystemUserRequest
  2058. (*AddMenuRequest)(nil), // 20: backend.operation.AddMenuRequest
  2059. (*IsShowSystemMenuRequest)(nil), // 21: backend.operation.IsShowSystemMenuRequest
  2060. (*SearchMenuRequest)(nil), // 22: backend.operation.SearchMenuRequest
  2061. (*SearchMenuResponse)(nil), // 23: backend.operation.SearchMenuResponse
  2062. (*SearchMenuData)(nil), // 24: backend.operation.SearchMenuData
  2063. (*SystemUserMenuPermissions)(nil), // 25: backend.operation.SystemUserMenuPermissions
  2064. (*SystemUserMenuData)(nil), // 26: backend.operation.SystemUserMenuData
  2065. (*MenuButtonsPath)(nil), // 27: backend.operation.MenuButtonsPath
  2066. (*AddMobileRequest)(nil), // 28: backend.operation.AddMobileRequest
  2067. (IsShow_Kind)(0), // 29: backend.operation.IsShow.Kind
  2068. (*PaginationModel)(nil), // 30: backend.operation.PaginationModel
  2069. (*UserPasture)(nil), // 31: backend.operation.UserPasture
  2070. (*AddPastureRequest)(nil), // 32: backend.operation.AddPastureRequest
  2071. }
  2072. var file_backend_operation_system_proto_depIdxs = []int32{
  2073. 1, // 0: backend.operation.CommonOK.data:type_name -> backend.operation.Success
  2074. 29, // 1: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2075. 30, // 2: backend.operation.SearchRoleRequest.pagination:type_name -> backend.operation.PaginationModel
  2076. 6, // 3: backend.operation.SearchRoleResponse.data:type_name -> backend.operation.SearchRoleData
  2077. 3, // 4: backend.operation.SearchRoleData.list:type_name -> backend.operation.AddRoleRequest
  2078. 8, // 5: backend.operation.RolePermissionsList.data:type_name -> backend.operation.RolePermissionsData
  2079. 10, // 6: backend.operation.SystemToken.data:type_name -> backend.operation.TokenData
  2080. 12, // 7: backend.operation.UserAuth.data:type_name -> backend.operation.UserAuthData
  2081. 13, // 8: backend.operation.UserAuthData.roles:type_name -> backend.operation.UserRole
  2082. 31, // 9: backend.operation.UserAuthData.pastures:type_name -> backend.operation.UserPasture
  2083. 15, // 10: backend.operation.UserDetails.data:type_name -> backend.operation.AddSystemUser
  2084. 13, // 11: backend.operation.AddSystemUser.roles:type_name -> backend.operation.UserRole
  2085. 29, // 12: backend.operation.AddSystemUser.is_show:type_name -> backend.operation.IsShow.Kind
  2086. 29, // 13: backend.operation.SearchUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2087. 30, // 14: backend.operation.SearchUserRequest.pagination:type_name -> backend.operation.PaginationModel
  2088. 18, // 15: backend.operation.SearchUserResponse.data:type_name -> backend.operation.SearchUserData
  2089. 15, // 16: backend.operation.SearchUserData.list:type_name -> backend.operation.AddSystemUser
  2090. 29, // 17: backend.operation.IsShowSystemUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2091. 29, // 18: backend.operation.AddMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2092. 20, // 19: backend.operation.AddMenuRequest.children:type_name -> backend.operation.AddMenuRequest
  2093. 29, // 20: backend.operation.IsShowSystemMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  2094. 30, // 21: backend.operation.SearchMenuRequest.pagination:type_name -> backend.operation.PaginationModel
  2095. 24, // 22: backend.operation.SearchMenuResponse.data:type_name -> backend.operation.SearchMenuData
  2096. 20, // 23: backend.operation.SearchMenuData.list:type_name -> backend.operation.AddMenuRequest
  2097. 26, // 24: backend.operation.SystemUserMenuPermissions.data:type_name -> backend.operation.SystemUserMenuData
  2098. 32, // 25: backend.operation.SystemUserMenuData.pasture_list:type_name -> backend.operation.AddPastureRequest
  2099. 20, // 26: backend.operation.SystemUserMenuData.menu_list:type_name -> backend.operation.AddMenuRequest
  2100. 28, // 27: backend.operation.SystemUserMenuData.mobile_list:type_name -> backend.operation.AddMobileRequest
  2101. 27, // 28: backend.operation.SystemUserMenuData.menu_buttons_path:type_name -> backend.operation.MenuButtonsPath
  2102. 29, // [29:29] is the sub-list for method output_type
  2103. 29, // [29:29] is the sub-list for method input_type
  2104. 29, // [29:29] is the sub-list for extension type_name
  2105. 29, // [29:29] is the sub-list for extension extendee
  2106. 0, // [0:29] is the sub-list for field type_name
  2107. }
  2108. func init() { file_backend_operation_system_proto_init() }
  2109. func file_backend_operation_system_proto_init() {
  2110. if File_backend_operation_system_proto != nil {
  2111. return
  2112. }
  2113. file_backend_operation_enum_proto_init()
  2114. file_backend_operation_pagination_proto_init()
  2115. file_backend_operation_pasture_proto_init()
  2116. if !protoimpl.UnsafeEnabled {
  2117. file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2118. switch v := v.(*CommonOK); i {
  2119. case 0:
  2120. return &v.state
  2121. case 1:
  2122. return &v.sizeCache
  2123. case 2:
  2124. return &v.unknownFields
  2125. default:
  2126. return nil
  2127. }
  2128. }
  2129. file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2130. switch v := v.(*Success); i {
  2131. case 0:
  2132. return &v.state
  2133. case 1:
  2134. return &v.sizeCache
  2135. case 2:
  2136. return &v.unknownFields
  2137. default:
  2138. return nil
  2139. }
  2140. }
  2141. file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2142. switch v := v.(*WxOpenId); i {
  2143. case 0:
  2144. return &v.state
  2145. case 1:
  2146. return &v.sizeCache
  2147. case 2:
  2148. return &v.unknownFields
  2149. default:
  2150. return nil
  2151. }
  2152. }
  2153. file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2154. switch v := v.(*AddRoleRequest); i {
  2155. case 0:
  2156. return &v.state
  2157. case 1:
  2158. return &v.sizeCache
  2159. case 2:
  2160. return &v.unknownFields
  2161. default:
  2162. return nil
  2163. }
  2164. }
  2165. file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2166. switch v := v.(*SearchRoleRequest); i {
  2167. case 0:
  2168. return &v.state
  2169. case 1:
  2170. return &v.sizeCache
  2171. case 2:
  2172. return &v.unknownFields
  2173. default:
  2174. return nil
  2175. }
  2176. }
  2177. file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2178. switch v := v.(*SearchRoleResponse); i {
  2179. case 0:
  2180. return &v.state
  2181. case 1:
  2182. return &v.sizeCache
  2183. case 2:
  2184. return &v.unknownFields
  2185. default:
  2186. return nil
  2187. }
  2188. }
  2189. file_backend_operation_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2190. switch v := v.(*SearchRoleData); i {
  2191. case 0:
  2192. return &v.state
  2193. case 1:
  2194. return &v.sizeCache
  2195. case 2:
  2196. return &v.unknownFields
  2197. default:
  2198. return nil
  2199. }
  2200. }
  2201. file_backend_operation_system_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2202. switch v := v.(*RolePermissionsList); i {
  2203. case 0:
  2204. return &v.state
  2205. case 1:
  2206. return &v.sizeCache
  2207. case 2:
  2208. return &v.unknownFields
  2209. default:
  2210. return nil
  2211. }
  2212. }
  2213. file_backend_operation_system_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2214. switch v := v.(*RolePermissionsData); i {
  2215. case 0:
  2216. return &v.state
  2217. case 1:
  2218. return &v.sizeCache
  2219. case 2:
  2220. return &v.unknownFields
  2221. default:
  2222. return nil
  2223. }
  2224. }
  2225. file_backend_operation_system_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2226. switch v := v.(*SystemToken); i {
  2227. case 0:
  2228. return &v.state
  2229. case 1:
  2230. return &v.sizeCache
  2231. case 2:
  2232. return &v.unknownFields
  2233. default:
  2234. return nil
  2235. }
  2236. }
  2237. file_backend_operation_system_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2238. switch v := v.(*TokenData); i {
  2239. case 0:
  2240. return &v.state
  2241. case 1:
  2242. return &v.sizeCache
  2243. case 2:
  2244. return &v.unknownFields
  2245. default:
  2246. return nil
  2247. }
  2248. }
  2249. file_backend_operation_system_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2250. switch v := v.(*UserAuth); i {
  2251. case 0:
  2252. return &v.state
  2253. case 1:
  2254. return &v.sizeCache
  2255. case 2:
  2256. return &v.unknownFields
  2257. default:
  2258. return nil
  2259. }
  2260. }
  2261. file_backend_operation_system_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2262. switch v := v.(*UserAuthData); i {
  2263. case 0:
  2264. return &v.state
  2265. case 1:
  2266. return &v.sizeCache
  2267. case 2:
  2268. return &v.unknownFields
  2269. default:
  2270. return nil
  2271. }
  2272. }
  2273. file_backend_operation_system_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2274. switch v := v.(*UserRole); i {
  2275. case 0:
  2276. return &v.state
  2277. case 1:
  2278. return &v.sizeCache
  2279. case 2:
  2280. return &v.unknownFields
  2281. default:
  2282. return nil
  2283. }
  2284. }
  2285. file_backend_operation_system_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2286. switch v := v.(*UserDetails); i {
  2287. case 0:
  2288. return &v.state
  2289. case 1:
  2290. return &v.sizeCache
  2291. case 2:
  2292. return &v.unknownFields
  2293. default:
  2294. return nil
  2295. }
  2296. }
  2297. file_backend_operation_system_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2298. switch v := v.(*AddSystemUser); i {
  2299. case 0:
  2300. return &v.state
  2301. case 1:
  2302. return &v.sizeCache
  2303. case 2:
  2304. return &v.unknownFields
  2305. default:
  2306. return nil
  2307. }
  2308. }
  2309. file_backend_operation_system_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2310. switch v := v.(*SearchUserRequest); i {
  2311. case 0:
  2312. return &v.state
  2313. case 1:
  2314. return &v.sizeCache
  2315. case 2:
  2316. return &v.unknownFields
  2317. default:
  2318. return nil
  2319. }
  2320. }
  2321. file_backend_operation_system_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2322. switch v := v.(*SearchUserResponse); i {
  2323. case 0:
  2324. return &v.state
  2325. case 1:
  2326. return &v.sizeCache
  2327. case 2:
  2328. return &v.unknownFields
  2329. default:
  2330. return nil
  2331. }
  2332. }
  2333. file_backend_operation_system_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2334. switch v := v.(*SearchUserData); i {
  2335. case 0:
  2336. return &v.state
  2337. case 1:
  2338. return &v.sizeCache
  2339. case 2:
  2340. return &v.unknownFields
  2341. default:
  2342. return nil
  2343. }
  2344. }
  2345. file_backend_operation_system_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2346. switch v := v.(*IsShowSystemUserRequest); i {
  2347. case 0:
  2348. return &v.state
  2349. case 1:
  2350. return &v.sizeCache
  2351. case 2:
  2352. return &v.unknownFields
  2353. default:
  2354. return nil
  2355. }
  2356. }
  2357. file_backend_operation_system_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2358. switch v := v.(*AddMenuRequest); i {
  2359. case 0:
  2360. return &v.state
  2361. case 1:
  2362. return &v.sizeCache
  2363. case 2:
  2364. return &v.unknownFields
  2365. default:
  2366. return nil
  2367. }
  2368. }
  2369. file_backend_operation_system_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2370. switch v := v.(*IsShowSystemMenuRequest); i {
  2371. case 0:
  2372. return &v.state
  2373. case 1:
  2374. return &v.sizeCache
  2375. case 2:
  2376. return &v.unknownFields
  2377. default:
  2378. return nil
  2379. }
  2380. }
  2381. file_backend_operation_system_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2382. switch v := v.(*SearchMenuRequest); i {
  2383. case 0:
  2384. return &v.state
  2385. case 1:
  2386. return &v.sizeCache
  2387. case 2:
  2388. return &v.unknownFields
  2389. default:
  2390. return nil
  2391. }
  2392. }
  2393. file_backend_operation_system_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2394. switch v := v.(*SearchMenuResponse); i {
  2395. case 0:
  2396. return &v.state
  2397. case 1:
  2398. return &v.sizeCache
  2399. case 2:
  2400. return &v.unknownFields
  2401. default:
  2402. return nil
  2403. }
  2404. }
  2405. file_backend_operation_system_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2406. switch v := v.(*SearchMenuData); i {
  2407. case 0:
  2408. return &v.state
  2409. case 1:
  2410. return &v.sizeCache
  2411. case 2:
  2412. return &v.unknownFields
  2413. default:
  2414. return nil
  2415. }
  2416. }
  2417. file_backend_operation_system_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2418. switch v := v.(*SystemUserMenuPermissions); i {
  2419. case 0:
  2420. return &v.state
  2421. case 1:
  2422. return &v.sizeCache
  2423. case 2:
  2424. return &v.unknownFields
  2425. default:
  2426. return nil
  2427. }
  2428. }
  2429. file_backend_operation_system_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2430. switch v := v.(*SystemUserMenuData); i {
  2431. case 0:
  2432. return &v.state
  2433. case 1:
  2434. return &v.sizeCache
  2435. case 2:
  2436. return &v.unknownFields
  2437. default:
  2438. return nil
  2439. }
  2440. }
  2441. file_backend_operation_system_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2442. switch v := v.(*MenuButtonsPath); i {
  2443. case 0:
  2444. return &v.state
  2445. case 1:
  2446. return &v.sizeCache
  2447. case 2:
  2448. return &v.unknownFields
  2449. default:
  2450. return nil
  2451. }
  2452. }
  2453. file_backend_operation_system_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  2454. switch v := v.(*AddMobileRequest); i {
  2455. case 0:
  2456. return &v.state
  2457. case 1:
  2458. return &v.sizeCache
  2459. case 2:
  2460. return &v.unknownFields
  2461. default:
  2462. return nil
  2463. }
  2464. }
  2465. }
  2466. type x struct{}
  2467. out := protoimpl.TypeBuilder{
  2468. File: protoimpl.DescBuilder{
  2469. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2470. RawDescriptor: file_backend_operation_system_proto_rawDesc,
  2471. NumEnums: 0,
  2472. NumMessages: 29,
  2473. NumExtensions: 0,
  2474. NumServices: 0,
  2475. },
  2476. GoTypes: file_backend_operation_system_proto_goTypes,
  2477. DependencyIndexes: file_backend_operation_system_proto_depIdxs,
  2478. MessageInfos: file_backend_operation_system_proto_msgTypes,
  2479. }.Build()
  2480. File_backend_operation_system_proto = out.File
  2481. file_backend_operation_system_proto_rawDesc = nil
  2482. file_backend_operation_system_proto_goTypes = nil
  2483. file_backend_operation_system_proto_depIdxs = nil
  2484. }