system.pb.go 88 KB

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