system.pb.go 91 KB

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