system.pb.go 94 KB

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