system.pb.go 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798
  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. // 用户角色
  20. type AddRoleRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  25. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  26. Remarks string `protobuf:"bytes,3,opt,name=remarks,proto3" json:"remarks,omitempty"` // 角色备注
  27. IsShow IsShow_Kind `protobuf:"varint,4,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  28. PastureId []int64 `protobuf:"varint,5,rep,packed,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  29. MenuId []int64 `protobuf:"varint,6,rep,packed,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 菜单id
  30. MobileId []int64 `protobuf:"varint,7,rep,packed,name=mobile_id,json=mobileId,proto3" json:"mobile_id,omitempty"` // 移动端id
  31. CreateUser string `protobuf:"bytes,8,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建用户
  32. CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  33. CreatedAtFormat string `protobuf:"bytes,10,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  34. }
  35. func (x *AddRoleRequest) Reset() {
  36. *x = AddRoleRequest{}
  37. if protoimpl.UnsafeEnabled {
  38. mi := &file_backend_operation_system_proto_msgTypes[0]
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. ms.StoreMessageInfo(mi)
  41. }
  42. }
  43. func (x *AddRoleRequest) String() string {
  44. return protoimpl.X.MessageStringOf(x)
  45. }
  46. func (*AddRoleRequest) ProtoMessage() {}
  47. func (x *AddRoleRequest) ProtoReflect() protoreflect.Message {
  48. mi := &file_backend_operation_system_proto_msgTypes[0]
  49. if protoimpl.UnsafeEnabled && x != nil {
  50. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  51. if ms.LoadMessageInfo() == nil {
  52. ms.StoreMessageInfo(mi)
  53. }
  54. return ms
  55. }
  56. return mi.MessageOf(x)
  57. }
  58. // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead.
  59. func (*AddRoleRequest) Descriptor() ([]byte, []int) {
  60. return file_backend_operation_system_proto_rawDescGZIP(), []int{0}
  61. }
  62. func (x *AddRoleRequest) GetId() int64 {
  63. if x != nil {
  64. return x.Id
  65. }
  66. return 0
  67. }
  68. func (x *AddRoleRequest) GetName() string {
  69. if x != nil {
  70. return x.Name
  71. }
  72. return ""
  73. }
  74. func (x *AddRoleRequest) GetRemarks() string {
  75. if x != nil {
  76. return x.Remarks
  77. }
  78. return ""
  79. }
  80. func (x *AddRoleRequest) GetIsShow() IsShow_Kind {
  81. if x != nil {
  82. return x.IsShow
  83. }
  84. return IsShow_INVALID
  85. }
  86. func (x *AddRoleRequest) GetPastureId() []int64 {
  87. if x != nil {
  88. return x.PastureId
  89. }
  90. return nil
  91. }
  92. func (x *AddRoleRequest) GetMenuId() []int64 {
  93. if x != nil {
  94. return x.MenuId
  95. }
  96. return nil
  97. }
  98. func (x *AddRoleRequest) GetMobileId() []int64 {
  99. if x != nil {
  100. return x.MobileId
  101. }
  102. return nil
  103. }
  104. func (x *AddRoleRequest) GetCreateUser() string {
  105. if x != nil {
  106. return x.CreateUser
  107. }
  108. return ""
  109. }
  110. func (x *AddRoleRequest) GetCreatedAt() int64 {
  111. if x != nil {
  112. return x.CreatedAt
  113. }
  114. return 0
  115. }
  116. func (x *AddRoleRequest) GetCreatedAtFormat() string {
  117. if x != nil {
  118. return x.CreatedAtFormat
  119. }
  120. return ""
  121. }
  122. type SearchRoleRequest struct {
  123. state protoimpl.MessageState
  124. sizeCache protoimpl.SizeCache
  125. unknownFields protoimpl.UnknownFields
  126. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  127. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  128. }
  129. func (x *SearchRoleRequest) Reset() {
  130. *x = SearchRoleRequest{}
  131. if protoimpl.UnsafeEnabled {
  132. mi := &file_backend_operation_system_proto_msgTypes[1]
  133. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  134. ms.StoreMessageInfo(mi)
  135. }
  136. }
  137. func (x *SearchRoleRequest) String() string {
  138. return protoimpl.X.MessageStringOf(x)
  139. }
  140. func (*SearchRoleRequest) ProtoMessage() {}
  141. func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message {
  142. mi := &file_backend_operation_system_proto_msgTypes[1]
  143. if protoimpl.UnsafeEnabled && x != nil {
  144. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  145. if ms.LoadMessageInfo() == nil {
  146. ms.StoreMessageInfo(mi)
  147. }
  148. return ms
  149. }
  150. return mi.MessageOf(x)
  151. }
  152. // Deprecated: Use SearchRoleRequest.ProtoReflect.Descriptor instead.
  153. func (*SearchRoleRequest) Descriptor() ([]byte, []int) {
  154. return file_backend_operation_system_proto_rawDescGZIP(), []int{1}
  155. }
  156. func (x *SearchRoleRequest) GetName() string {
  157. if x != nil {
  158. return x.Name
  159. }
  160. return ""
  161. }
  162. func (x *SearchRoleRequest) GetPagination() *PaginationModel {
  163. if x != nil {
  164. return x.Pagination
  165. }
  166. return nil
  167. }
  168. type SearchRoleResponse struct {
  169. state protoimpl.MessageState
  170. sizeCache protoimpl.SizeCache
  171. unknownFields protoimpl.UnknownFields
  172. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  173. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  174. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  175. List []*AddRoleRequest `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  176. }
  177. func (x *SearchRoleResponse) Reset() {
  178. *x = SearchRoleResponse{}
  179. if protoimpl.UnsafeEnabled {
  180. mi := &file_backend_operation_system_proto_msgTypes[2]
  181. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  182. ms.StoreMessageInfo(mi)
  183. }
  184. }
  185. func (x *SearchRoleResponse) String() string {
  186. return protoimpl.X.MessageStringOf(x)
  187. }
  188. func (*SearchRoleResponse) ProtoMessage() {}
  189. func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message {
  190. mi := &file_backend_operation_system_proto_msgTypes[2]
  191. if protoimpl.UnsafeEnabled && x != nil {
  192. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  193. if ms.LoadMessageInfo() == nil {
  194. ms.StoreMessageInfo(mi)
  195. }
  196. return ms
  197. }
  198. return mi.MessageOf(x)
  199. }
  200. // Deprecated: Use SearchRoleResponse.ProtoReflect.Descriptor instead.
  201. func (*SearchRoleResponse) Descriptor() ([]byte, []int) {
  202. return file_backend_operation_system_proto_rawDescGZIP(), []int{2}
  203. }
  204. func (x *SearchRoleResponse) GetPage() int32 {
  205. if x != nil {
  206. return x.Page
  207. }
  208. return 0
  209. }
  210. func (x *SearchRoleResponse) GetTotal() int32 {
  211. if x != nil {
  212. return x.Total
  213. }
  214. return 0
  215. }
  216. func (x *SearchRoleResponse) GetPageSize() int32 {
  217. if x != nil {
  218. return x.PageSize
  219. }
  220. return 0
  221. }
  222. func (x *SearchRoleResponse) GetList() []*AddRoleRequest {
  223. if x != nil {
  224. return x.List
  225. }
  226. return nil
  227. }
  228. // 角色对应权限列表
  229. type RolePermissionsList struct {
  230. state protoimpl.MessageState
  231. sizeCache protoimpl.SizeCache
  232. unknownFields protoimpl.UnknownFields
  233. MobileList []int64 `protobuf:"varint,1,rep,packed,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限id
  234. PastureList []int64 `protobuf:"varint,2,rep,packed,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场端列表
  235. MenuList []int64 `protobuf:"varint,3,rep,packed,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 后端权限列表
  236. }
  237. func (x *RolePermissionsList) Reset() {
  238. *x = RolePermissionsList{}
  239. if protoimpl.UnsafeEnabled {
  240. mi := &file_backend_operation_system_proto_msgTypes[3]
  241. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  242. ms.StoreMessageInfo(mi)
  243. }
  244. }
  245. func (x *RolePermissionsList) String() string {
  246. return protoimpl.X.MessageStringOf(x)
  247. }
  248. func (*RolePermissionsList) ProtoMessage() {}
  249. func (x *RolePermissionsList) ProtoReflect() protoreflect.Message {
  250. mi := &file_backend_operation_system_proto_msgTypes[3]
  251. if protoimpl.UnsafeEnabled && x != nil {
  252. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  253. if ms.LoadMessageInfo() == nil {
  254. ms.StoreMessageInfo(mi)
  255. }
  256. return ms
  257. }
  258. return mi.MessageOf(x)
  259. }
  260. // Deprecated: Use RolePermissionsList.ProtoReflect.Descriptor instead.
  261. func (*RolePermissionsList) Descriptor() ([]byte, []int) {
  262. return file_backend_operation_system_proto_rawDescGZIP(), []int{3}
  263. }
  264. func (x *RolePermissionsList) GetMobileList() []int64 {
  265. if x != nil {
  266. return x.MobileList
  267. }
  268. return nil
  269. }
  270. func (x *RolePermissionsList) GetPastureList() []int64 {
  271. if x != nil {
  272. return x.PastureList
  273. }
  274. return nil
  275. }
  276. func (x *RolePermissionsList) GetMenuList() []int64 {
  277. if x != nil {
  278. return x.MenuList
  279. }
  280. return nil
  281. }
  282. // 用户token
  283. type SystemToken struct {
  284. state protoimpl.MessageState
  285. sizeCache protoimpl.SizeCache
  286. unknownFields protoimpl.UnknownFields
  287. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  288. }
  289. func (x *SystemToken) Reset() {
  290. *x = SystemToken{}
  291. if protoimpl.UnsafeEnabled {
  292. mi := &file_backend_operation_system_proto_msgTypes[4]
  293. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  294. ms.StoreMessageInfo(mi)
  295. }
  296. }
  297. func (x *SystemToken) String() string {
  298. return protoimpl.X.MessageStringOf(x)
  299. }
  300. func (*SystemToken) ProtoMessage() {}
  301. func (x *SystemToken) ProtoReflect() protoreflect.Message {
  302. mi := &file_backend_operation_system_proto_msgTypes[4]
  303. if protoimpl.UnsafeEnabled && x != nil {
  304. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  305. if ms.LoadMessageInfo() == nil {
  306. ms.StoreMessageInfo(mi)
  307. }
  308. return ms
  309. }
  310. return mi.MessageOf(x)
  311. }
  312. // Deprecated: Use SystemToken.ProtoReflect.Descriptor instead.
  313. func (*SystemToken) Descriptor() ([]byte, []int) {
  314. return file_backend_operation_system_proto_rawDescGZIP(), []int{4}
  315. }
  316. func (x *SystemToken) GetToken() string {
  317. if x != nil {
  318. return x.Token
  319. }
  320. return ""
  321. }
  322. // 用户登录
  323. type UserAuth struct {
  324. state protoimpl.MessageState
  325. sizeCache protoimpl.SizeCache
  326. unknownFields protoimpl.UnknownFields
  327. UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 用户名称
  328. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 用户密码
  329. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  330. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 用户角色
  331. EmployeeName string `protobuf:"bytes,5,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工名称
  332. }
  333. func (x *UserAuth) Reset() {
  334. *x = UserAuth{}
  335. if protoimpl.UnsafeEnabled {
  336. mi := &file_backend_operation_system_proto_msgTypes[5]
  337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  338. ms.StoreMessageInfo(mi)
  339. }
  340. }
  341. func (x *UserAuth) String() string {
  342. return protoimpl.X.MessageStringOf(x)
  343. }
  344. func (*UserAuth) ProtoMessage() {}
  345. func (x *UserAuth) ProtoReflect() protoreflect.Message {
  346. mi := &file_backend_operation_system_proto_msgTypes[5]
  347. if protoimpl.UnsafeEnabled && x != nil {
  348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  349. if ms.LoadMessageInfo() == nil {
  350. ms.StoreMessageInfo(mi)
  351. }
  352. return ms
  353. }
  354. return mi.MessageOf(x)
  355. }
  356. // Deprecated: Use UserAuth.ProtoReflect.Descriptor instead.
  357. func (*UserAuth) Descriptor() ([]byte, []int) {
  358. return file_backend_operation_system_proto_rawDescGZIP(), []int{5}
  359. }
  360. func (x *UserAuth) GetUserName() string {
  361. if x != nil {
  362. return x.UserName
  363. }
  364. return ""
  365. }
  366. func (x *UserAuth) GetPassword() string {
  367. if x != nil {
  368. return x.Password
  369. }
  370. return ""
  371. }
  372. func (x *UserAuth) GetPhone() string {
  373. if x != nil {
  374. return x.Phone
  375. }
  376. return ""
  377. }
  378. func (x *UserAuth) GetRoles() []*UserRole {
  379. if x != nil {
  380. return x.Roles
  381. }
  382. return nil
  383. }
  384. func (x *UserAuth) GetEmployeeName() string {
  385. if x != nil {
  386. return x.EmployeeName
  387. }
  388. return ""
  389. }
  390. type UserRole struct {
  391. state protoimpl.MessageState
  392. sizeCache protoimpl.SizeCache
  393. unknownFields protoimpl.UnknownFields
  394. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 角色id
  395. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  396. }
  397. func (x *UserRole) Reset() {
  398. *x = UserRole{}
  399. if protoimpl.UnsafeEnabled {
  400. mi := &file_backend_operation_system_proto_msgTypes[6]
  401. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  402. ms.StoreMessageInfo(mi)
  403. }
  404. }
  405. func (x *UserRole) String() string {
  406. return protoimpl.X.MessageStringOf(x)
  407. }
  408. func (*UserRole) ProtoMessage() {}
  409. func (x *UserRole) ProtoReflect() protoreflect.Message {
  410. mi := &file_backend_operation_system_proto_msgTypes[6]
  411. if protoimpl.UnsafeEnabled && x != nil {
  412. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  413. if ms.LoadMessageInfo() == nil {
  414. ms.StoreMessageInfo(mi)
  415. }
  416. return ms
  417. }
  418. return mi.MessageOf(x)
  419. }
  420. // Deprecated: Use UserRole.ProtoReflect.Descriptor instead.
  421. func (*UserRole) Descriptor() ([]byte, []int) {
  422. return file_backend_operation_system_proto_rawDescGZIP(), []int{6}
  423. }
  424. func (x *UserRole) GetId() int64 {
  425. if x != nil {
  426. return x.Id
  427. }
  428. return 0
  429. }
  430. func (x *UserRole) GetName() string {
  431. if x != nil {
  432. return x.Name
  433. }
  434. return ""
  435. }
  436. type AddSystemUser struct {
  437. state protoimpl.MessageState
  438. sizeCache protoimpl.SizeCache
  439. unknownFields protoimpl.UnknownFields
  440. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
  441. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  442. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  443. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 角色
  444. IsShow IsShow_Kind `protobuf:"varint,5,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  445. EmployeeName string `protobuf:"bytes,6,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  446. CreateUser string `protobuf:"bytes,7,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建人
  447. CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  448. CreatedAtFormat string `protobuf:"bytes,9,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  449. }
  450. func (x *AddSystemUser) Reset() {
  451. *x = AddSystemUser{}
  452. if protoimpl.UnsafeEnabled {
  453. mi := &file_backend_operation_system_proto_msgTypes[7]
  454. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  455. ms.StoreMessageInfo(mi)
  456. }
  457. }
  458. func (x *AddSystemUser) String() string {
  459. return protoimpl.X.MessageStringOf(x)
  460. }
  461. func (*AddSystemUser) ProtoMessage() {}
  462. func (x *AddSystemUser) ProtoReflect() protoreflect.Message {
  463. mi := &file_backend_operation_system_proto_msgTypes[7]
  464. if protoimpl.UnsafeEnabled && x != nil {
  465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  466. if ms.LoadMessageInfo() == nil {
  467. ms.StoreMessageInfo(mi)
  468. }
  469. return ms
  470. }
  471. return mi.MessageOf(x)
  472. }
  473. // Deprecated: Use AddSystemUser.ProtoReflect.Descriptor instead.
  474. func (*AddSystemUser) Descriptor() ([]byte, []int) {
  475. return file_backend_operation_system_proto_rawDescGZIP(), []int{7}
  476. }
  477. func (x *AddSystemUser) GetId() int64 {
  478. if x != nil {
  479. return x.Id
  480. }
  481. return 0
  482. }
  483. func (x *AddSystemUser) GetName() string {
  484. if x != nil {
  485. return x.Name
  486. }
  487. return ""
  488. }
  489. func (x *AddSystemUser) GetPhone() string {
  490. if x != nil {
  491. return x.Phone
  492. }
  493. return ""
  494. }
  495. func (x *AddSystemUser) GetRoles() []*UserRole {
  496. if x != nil {
  497. return x.Roles
  498. }
  499. return nil
  500. }
  501. func (x *AddSystemUser) GetIsShow() IsShow_Kind {
  502. if x != nil {
  503. return x.IsShow
  504. }
  505. return IsShow_INVALID
  506. }
  507. func (x *AddSystemUser) GetEmployeeName() string {
  508. if x != nil {
  509. return x.EmployeeName
  510. }
  511. return ""
  512. }
  513. func (x *AddSystemUser) GetCreateUser() string {
  514. if x != nil {
  515. return x.CreateUser
  516. }
  517. return ""
  518. }
  519. func (x *AddSystemUser) GetCreatedAt() int64 {
  520. if x != nil {
  521. return x.CreatedAt
  522. }
  523. return 0
  524. }
  525. func (x *AddSystemUser) GetCreatedAtFormat() string {
  526. if x != nil {
  527. return x.CreatedAtFormat
  528. }
  529. return ""
  530. }
  531. // 查询用户
  532. type SearchUserRequest struct {
  533. state protoimpl.MessageState
  534. sizeCache protoimpl.SizeCache
  535. unknownFields protoimpl.UnknownFields
  536. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  537. EmployeeName string `protobuf:"bytes,2,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  538. IsShow IsShow_Kind `protobuf:"varint,3,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  539. CreatedStartTime int64 `protobuf:"varint,4,opt,name=created_start_time,json=createdStartTime,proto3" json:"created_start_time,omitempty"` // 开始时间
  540. CreatedEndTime int64 `protobuf:"varint,5,opt,name=created_end_time,json=createdEndTime,proto3" json:"created_end_time,omitempty"` // 结束时间
  541. Pagination *PaginationModel `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  542. }
  543. func (x *SearchUserRequest) Reset() {
  544. *x = SearchUserRequest{}
  545. if protoimpl.UnsafeEnabled {
  546. mi := &file_backend_operation_system_proto_msgTypes[8]
  547. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  548. ms.StoreMessageInfo(mi)
  549. }
  550. }
  551. func (x *SearchUserRequest) String() string {
  552. return protoimpl.X.MessageStringOf(x)
  553. }
  554. func (*SearchUserRequest) ProtoMessage() {}
  555. func (x *SearchUserRequest) ProtoReflect() protoreflect.Message {
  556. mi := &file_backend_operation_system_proto_msgTypes[8]
  557. if protoimpl.UnsafeEnabled && x != nil {
  558. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  559. if ms.LoadMessageInfo() == nil {
  560. ms.StoreMessageInfo(mi)
  561. }
  562. return ms
  563. }
  564. return mi.MessageOf(x)
  565. }
  566. // Deprecated: Use SearchUserRequest.ProtoReflect.Descriptor instead.
  567. func (*SearchUserRequest) Descriptor() ([]byte, []int) {
  568. return file_backend_operation_system_proto_rawDescGZIP(), []int{8}
  569. }
  570. func (x *SearchUserRequest) GetName() string {
  571. if x != nil {
  572. return x.Name
  573. }
  574. return ""
  575. }
  576. func (x *SearchUserRequest) GetEmployeeName() string {
  577. if x != nil {
  578. return x.EmployeeName
  579. }
  580. return ""
  581. }
  582. func (x *SearchUserRequest) GetIsShow() IsShow_Kind {
  583. if x != nil {
  584. return x.IsShow
  585. }
  586. return IsShow_INVALID
  587. }
  588. func (x *SearchUserRequest) GetCreatedStartTime() int64 {
  589. if x != nil {
  590. return x.CreatedStartTime
  591. }
  592. return 0
  593. }
  594. func (x *SearchUserRequest) GetCreatedEndTime() int64 {
  595. if x != nil {
  596. return x.CreatedEndTime
  597. }
  598. return 0
  599. }
  600. func (x *SearchUserRequest) GetPagination() *PaginationModel {
  601. if x != nil {
  602. return x.Pagination
  603. }
  604. return nil
  605. }
  606. type SearchUserResponse struct {
  607. state protoimpl.MessageState
  608. sizeCache protoimpl.SizeCache
  609. unknownFields protoimpl.UnknownFields
  610. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  611. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  612. List []*AddSystemUser `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  613. }
  614. func (x *SearchUserResponse) Reset() {
  615. *x = SearchUserResponse{}
  616. if protoimpl.UnsafeEnabled {
  617. mi := &file_backend_operation_system_proto_msgTypes[9]
  618. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  619. ms.StoreMessageInfo(mi)
  620. }
  621. }
  622. func (x *SearchUserResponse) String() string {
  623. return protoimpl.X.MessageStringOf(x)
  624. }
  625. func (*SearchUserResponse) ProtoMessage() {}
  626. func (x *SearchUserResponse) ProtoReflect() protoreflect.Message {
  627. mi := &file_backend_operation_system_proto_msgTypes[9]
  628. if protoimpl.UnsafeEnabled && x != nil {
  629. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  630. if ms.LoadMessageInfo() == nil {
  631. ms.StoreMessageInfo(mi)
  632. }
  633. return ms
  634. }
  635. return mi.MessageOf(x)
  636. }
  637. // Deprecated: Use SearchUserResponse.ProtoReflect.Descriptor instead.
  638. func (*SearchUserResponse) Descriptor() ([]byte, []int) {
  639. return file_backend_operation_system_proto_rawDescGZIP(), []int{9}
  640. }
  641. func (x *SearchUserResponse) GetPage() int32 {
  642. if x != nil {
  643. return x.Page
  644. }
  645. return 0
  646. }
  647. func (x *SearchUserResponse) GetTotal() int32 {
  648. if x != nil {
  649. return x.Total
  650. }
  651. return 0
  652. }
  653. func (x *SearchUserResponse) GetList() []*AddSystemUser {
  654. if x != nil {
  655. return x.List
  656. }
  657. return nil
  658. }
  659. type IsShowSystemUserRequest struct {
  660. state protoimpl.MessageState
  661. sizeCache protoimpl.SizeCache
  662. unknownFields protoimpl.UnknownFields
  663. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  664. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  665. }
  666. func (x *IsShowSystemUserRequest) Reset() {
  667. *x = IsShowSystemUserRequest{}
  668. if protoimpl.UnsafeEnabled {
  669. mi := &file_backend_operation_system_proto_msgTypes[10]
  670. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  671. ms.StoreMessageInfo(mi)
  672. }
  673. }
  674. func (x *IsShowSystemUserRequest) String() string {
  675. return protoimpl.X.MessageStringOf(x)
  676. }
  677. func (*IsShowSystemUserRequest) ProtoMessage() {}
  678. func (x *IsShowSystemUserRequest) ProtoReflect() protoreflect.Message {
  679. mi := &file_backend_operation_system_proto_msgTypes[10]
  680. if protoimpl.UnsafeEnabled && x != nil {
  681. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  682. if ms.LoadMessageInfo() == nil {
  683. ms.StoreMessageInfo(mi)
  684. }
  685. return ms
  686. }
  687. return mi.MessageOf(x)
  688. }
  689. // Deprecated: Use IsShowSystemUserRequest.ProtoReflect.Descriptor instead.
  690. func (*IsShowSystemUserRequest) Descriptor() ([]byte, []int) {
  691. return file_backend_operation_system_proto_rawDescGZIP(), []int{10}
  692. }
  693. func (x *IsShowSystemUserRequest) GetUserId() int64 {
  694. if x != nil {
  695. return x.UserId
  696. }
  697. return 0
  698. }
  699. func (x *IsShowSystemUserRequest) GetIsShow() IsShow_Kind {
  700. if x != nil {
  701. return x.IsShow
  702. }
  703. return IsShow_INVALID
  704. }
  705. // 系统菜单权限
  706. type AddMenuRequest struct {
  707. state protoimpl.MessageState
  708. sizeCache protoimpl.SizeCache
  709. unknownFields protoimpl.UnknownFields
  710. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  711. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  712. ParentId int64 `protobuf:"varint,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父id
  713. MenuType int32 `protobuf:"varint,4,opt,name=menu_type,json=menuType,proto3" json:"menu_type,omitempty"` // 菜单类型 1 菜单 2 按钮
  714. Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` // 标题
  715. Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // 路径 path
  716. IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否显示
  717. Component string `protobuf:"bytes,8,opt,name=component,proto3" json:"component,omitempty"` // 组件
  718. Icon string `protobuf:"bytes,9,opt,name=icon,proto3" json:"icon,omitempty"` // 图标
  719. Sort int32 `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
  720. Redirect string `protobuf:"bytes,11,opt,name=redirect,proto3" json:"redirect,omitempty"` // 重定向
  721. CreatedAt int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  722. CreatedAtFormat string `protobuf:"bytes,13,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  723. Level int32 `protobuf:"varint,14,opt,name=level,proto3" json:"level,omitempty"` // 菜单等级
  724. Children []*AddMenuRequest `protobuf:"bytes,15,rep,name=children,proto3" json:"children,omitempty"` // 子分类
  725. Affix bool `protobuf:"varint,16,opt,name=affix,proto3" json:"affix,omitempty"`
  726. KeepAlive bool `protobuf:"varint,17,opt,name=keepAlive,proto3" json:"keepAlive,omitempty"`
  727. }
  728. func (x *AddMenuRequest) Reset() {
  729. *x = AddMenuRequest{}
  730. if protoimpl.UnsafeEnabled {
  731. mi := &file_backend_operation_system_proto_msgTypes[11]
  732. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  733. ms.StoreMessageInfo(mi)
  734. }
  735. }
  736. func (x *AddMenuRequest) String() string {
  737. return protoimpl.X.MessageStringOf(x)
  738. }
  739. func (*AddMenuRequest) ProtoMessage() {}
  740. func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
  741. mi := &file_backend_operation_system_proto_msgTypes[11]
  742. if protoimpl.UnsafeEnabled && x != nil {
  743. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  744. if ms.LoadMessageInfo() == nil {
  745. ms.StoreMessageInfo(mi)
  746. }
  747. return ms
  748. }
  749. return mi.MessageOf(x)
  750. }
  751. // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
  752. func (*AddMenuRequest) Descriptor() ([]byte, []int) {
  753. return file_backend_operation_system_proto_rawDescGZIP(), []int{11}
  754. }
  755. func (x *AddMenuRequest) GetId() int64 {
  756. if x != nil {
  757. return x.Id
  758. }
  759. return 0
  760. }
  761. func (x *AddMenuRequest) GetName() string {
  762. if x != nil {
  763. return x.Name
  764. }
  765. return ""
  766. }
  767. func (x *AddMenuRequest) GetParentId() int64 {
  768. if x != nil {
  769. return x.ParentId
  770. }
  771. return 0
  772. }
  773. func (x *AddMenuRequest) GetMenuType() int32 {
  774. if x != nil {
  775. return x.MenuType
  776. }
  777. return 0
  778. }
  779. func (x *AddMenuRequest) GetTitle() string {
  780. if x != nil {
  781. return x.Title
  782. }
  783. return ""
  784. }
  785. func (x *AddMenuRequest) GetPath() string {
  786. if x != nil {
  787. return x.Path
  788. }
  789. return ""
  790. }
  791. func (x *AddMenuRequest) GetIsShow() IsShow_Kind {
  792. if x != nil {
  793. return x.IsShow
  794. }
  795. return IsShow_INVALID
  796. }
  797. func (x *AddMenuRequest) GetComponent() string {
  798. if x != nil {
  799. return x.Component
  800. }
  801. return ""
  802. }
  803. func (x *AddMenuRequest) GetIcon() string {
  804. if x != nil {
  805. return x.Icon
  806. }
  807. return ""
  808. }
  809. func (x *AddMenuRequest) GetSort() int32 {
  810. if x != nil {
  811. return x.Sort
  812. }
  813. return 0
  814. }
  815. func (x *AddMenuRequest) GetRedirect() string {
  816. if x != nil {
  817. return x.Redirect
  818. }
  819. return ""
  820. }
  821. func (x *AddMenuRequest) GetCreatedAt() int64 {
  822. if x != nil {
  823. return x.CreatedAt
  824. }
  825. return 0
  826. }
  827. func (x *AddMenuRequest) GetCreatedAtFormat() string {
  828. if x != nil {
  829. return x.CreatedAtFormat
  830. }
  831. return ""
  832. }
  833. func (x *AddMenuRequest) GetLevel() int32 {
  834. if x != nil {
  835. return x.Level
  836. }
  837. return 0
  838. }
  839. func (x *AddMenuRequest) GetChildren() []*AddMenuRequest {
  840. if x != nil {
  841. return x.Children
  842. }
  843. return nil
  844. }
  845. func (x *AddMenuRequest) GetAffix() bool {
  846. if x != nil {
  847. return x.Affix
  848. }
  849. return false
  850. }
  851. func (x *AddMenuRequest) GetKeepAlive() bool {
  852. if x != nil {
  853. return x.KeepAlive
  854. }
  855. return false
  856. }
  857. type IsShowSystemMenuRequest struct {
  858. state protoimpl.MessageState
  859. sizeCache protoimpl.SizeCache
  860. unknownFields protoimpl.UnknownFields
  861. MenuId int64 `protobuf:"varint,1,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 角色id
  862. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  863. }
  864. func (x *IsShowSystemMenuRequest) Reset() {
  865. *x = IsShowSystemMenuRequest{}
  866. if protoimpl.UnsafeEnabled {
  867. mi := &file_backend_operation_system_proto_msgTypes[12]
  868. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  869. ms.StoreMessageInfo(mi)
  870. }
  871. }
  872. func (x *IsShowSystemMenuRequest) String() string {
  873. return protoimpl.X.MessageStringOf(x)
  874. }
  875. func (*IsShowSystemMenuRequest) ProtoMessage() {}
  876. func (x *IsShowSystemMenuRequest) ProtoReflect() protoreflect.Message {
  877. mi := &file_backend_operation_system_proto_msgTypes[12]
  878. if protoimpl.UnsafeEnabled && x != nil {
  879. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  880. if ms.LoadMessageInfo() == nil {
  881. ms.StoreMessageInfo(mi)
  882. }
  883. return ms
  884. }
  885. return mi.MessageOf(x)
  886. }
  887. // Deprecated: Use IsShowSystemMenuRequest.ProtoReflect.Descriptor instead.
  888. func (*IsShowSystemMenuRequest) Descriptor() ([]byte, []int) {
  889. return file_backend_operation_system_proto_rawDescGZIP(), []int{12}
  890. }
  891. func (x *IsShowSystemMenuRequest) GetMenuId() int64 {
  892. if x != nil {
  893. return x.MenuId
  894. }
  895. return 0
  896. }
  897. func (x *IsShowSystemMenuRequest) GetIsShow() IsShow_Kind {
  898. if x != nil {
  899. return x.IsShow
  900. }
  901. return IsShow_INVALID
  902. }
  903. // 查询菜单权限
  904. type SearchMenuRequest 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. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  910. }
  911. func (x *SearchMenuRequest) Reset() {
  912. *x = SearchMenuRequest{}
  913. if protoimpl.UnsafeEnabled {
  914. mi := &file_backend_operation_system_proto_msgTypes[13]
  915. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  916. ms.StoreMessageInfo(mi)
  917. }
  918. }
  919. func (x *SearchMenuRequest) String() string {
  920. return protoimpl.X.MessageStringOf(x)
  921. }
  922. func (*SearchMenuRequest) ProtoMessage() {}
  923. func (x *SearchMenuRequest) ProtoReflect() protoreflect.Message {
  924. mi := &file_backend_operation_system_proto_msgTypes[13]
  925. if protoimpl.UnsafeEnabled && x != nil {
  926. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  927. if ms.LoadMessageInfo() == nil {
  928. ms.StoreMessageInfo(mi)
  929. }
  930. return ms
  931. }
  932. return mi.MessageOf(x)
  933. }
  934. // Deprecated: Use SearchMenuRequest.ProtoReflect.Descriptor instead.
  935. func (*SearchMenuRequest) Descriptor() ([]byte, []int) {
  936. return file_backend_operation_system_proto_rawDescGZIP(), []int{13}
  937. }
  938. func (x *SearchMenuRequest) GetName() string {
  939. if x != nil {
  940. return x.Name
  941. }
  942. return ""
  943. }
  944. func (x *SearchMenuRequest) GetPagination() *PaginationModel {
  945. if x != nil {
  946. return x.Pagination
  947. }
  948. return nil
  949. }
  950. type SearchMenuResponse struct {
  951. state protoimpl.MessageState
  952. sizeCache protoimpl.SizeCache
  953. unknownFields protoimpl.UnknownFields
  954. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  955. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  956. List []*AddMenuRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  957. }
  958. func (x *SearchMenuResponse) Reset() {
  959. *x = SearchMenuResponse{}
  960. if protoimpl.UnsafeEnabled {
  961. mi := &file_backend_operation_system_proto_msgTypes[14]
  962. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  963. ms.StoreMessageInfo(mi)
  964. }
  965. }
  966. func (x *SearchMenuResponse) String() string {
  967. return protoimpl.X.MessageStringOf(x)
  968. }
  969. func (*SearchMenuResponse) ProtoMessage() {}
  970. func (x *SearchMenuResponse) ProtoReflect() protoreflect.Message {
  971. mi := &file_backend_operation_system_proto_msgTypes[14]
  972. if protoimpl.UnsafeEnabled && x != nil {
  973. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  974. if ms.LoadMessageInfo() == nil {
  975. ms.StoreMessageInfo(mi)
  976. }
  977. return ms
  978. }
  979. return mi.MessageOf(x)
  980. }
  981. // Deprecated: Use SearchMenuResponse.ProtoReflect.Descriptor instead.
  982. func (*SearchMenuResponse) Descriptor() ([]byte, []int) {
  983. return file_backend_operation_system_proto_rawDescGZIP(), []int{14}
  984. }
  985. func (x *SearchMenuResponse) GetPage() int32 {
  986. if x != nil {
  987. return x.Page
  988. }
  989. return 0
  990. }
  991. func (x *SearchMenuResponse) GetTotal() int32 {
  992. if x != nil {
  993. return x.Total
  994. }
  995. return 0
  996. }
  997. func (x *SearchMenuResponse) GetList() []*AddMenuRequest {
  998. if x != nil {
  999. return x.List
  1000. }
  1001. return nil
  1002. }
  1003. // 系统用户权限相关
  1004. type SystemUserMenuPermissions struct {
  1005. state protoimpl.MessageState
  1006. sizeCache protoimpl.SizeCache
  1007. unknownFields protoimpl.UnknownFields
  1008. PastureList []*AddPastureRequest `protobuf:"bytes,1,rep,name=pasture_list,json=pastureList,proto3" json:"pasture_list,omitempty"` // 牧场列表
  1009. MenuList []*AddMenuRequest `protobuf:"bytes,2,rep,name=menu_list,json=menuList,proto3" json:"menu_list,omitempty"` // 菜单列表
  1010. MobileList []*AddMobileRequest `protobuf:"bytes,3,rep,name=mobile_list,json=mobileList,proto3" json:"mobile_list,omitempty"` // 移动端权限
  1011. }
  1012. func (x *SystemUserMenuPermissions) Reset() {
  1013. *x = SystemUserMenuPermissions{}
  1014. if protoimpl.UnsafeEnabled {
  1015. mi := &file_backend_operation_system_proto_msgTypes[15]
  1016. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1017. ms.StoreMessageInfo(mi)
  1018. }
  1019. }
  1020. func (x *SystemUserMenuPermissions) String() string {
  1021. return protoimpl.X.MessageStringOf(x)
  1022. }
  1023. func (*SystemUserMenuPermissions) ProtoMessage() {}
  1024. func (x *SystemUserMenuPermissions) ProtoReflect() protoreflect.Message {
  1025. mi := &file_backend_operation_system_proto_msgTypes[15]
  1026. if protoimpl.UnsafeEnabled && x != nil {
  1027. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1028. if ms.LoadMessageInfo() == nil {
  1029. ms.StoreMessageInfo(mi)
  1030. }
  1031. return ms
  1032. }
  1033. return mi.MessageOf(x)
  1034. }
  1035. // Deprecated: Use SystemUserMenuPermissions.ProtoReflect.Descriptor instead.
  1036. func (*SystemUserMenuPermissions) Descriptor() ([]byte, []int) {
  1037. return file_backend_operation_system_proto_rawDescGZIP(), []int{15}
  1038. }
  1039. func (x *SystemUserMenuPermissions) GetPastureList() []*AddPastureRequest {
  1040. if x != nil {
  1041. return x.PastureList
  1042. }
  1043. return nil
  1044. }
  1045. func (x *SystemUserMenuPermissions) GetMenuList() []*AddMenuRequest {
  1046. if x != nil {
  1047. return x.MenuList
  1048. }
  1049. return nil
  1050. }
  1051. func (x *SystemUserMenuPermissions) GetMobileList() []*AddMobileRequest {
  1052. if x != nil {
  1053. return x.MobileList
  1054. }
  1055. return nil
  1056. }
  1057. // 移动端
  1058. type AddMobileRequest struct {
  1059. state protoimpl.MessageState
  1060. sizeCache protoimpl.SizeCache
  1061. unknownFields protoimpl.UnknownFields
  1062. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // id
  1063. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  1064. }
  1065. func (x *AddMobileRequest) Reset() {
  1066. *x = AddMobileRequest{}
  1067. if protoimpl.UnsafeEnabled {
  1068. mi := &file_backend_operation_system_proto_msgTypes[16]
  1069. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1070. ms.StoreMessageInfo(mi)
  1071. }
  1072. }
  1073. func (x *AddMobileRequest) String() string {
  1074. return protoimpl.X.MessageStringOf(x)
  1075. }
  1076. func (*AddMobileRequest) ProtoMessage() {}
  1077. func (x *AddMobileRequest) ProtoReflect() protoreflect.Message {
  1078. mi := &file_backend_operation_system_proto_msgTypes[16]
  1079. if protoimpl.UnsafeEnabled && x != nil {
  1080. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1081. if ms.LoadMessageInfo() == nil {
  1082. ms.StoreMessageInfo(mi)
  1083. }
  1084. return ms
  1085. }
  1086. return mi.MessageOf(x)
  1087. }
  1088. // Deprecated: Use AddMobileRequest.ProtoReflect.Descriptor instead.
  1089. func (*AddMobileRequest) Descriptor() ([]byte, []int) {
  1090. return file_backend_operation_system_proto_rawDescGZIP(), []int{16}
  1091. }
  1092. func (x *AddMobileRequest) GetId() int64 {
  1093. if x != nil {
  1094. return x.Id
  1095. }
  1096. return 0
  1097. }
  1098. func (x *AddMobileRequest) GetName() string {
  1099. if x != nil {
  1100. return x.Name
  1101. }
  1102. return ""
  1103. }
  1104. var File_backend_operation_system_proto protoreflect.FileDescriptor
  1105. var file_backend_operation_system_proto_rawDesc = []byte{
  1106. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1107. 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1108. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1109. 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  1110. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1111. 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1112. 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1113. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f,
  1114. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65,
  1115. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x02, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f,
  1116. 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  1117. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1118. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a,
  1119. 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
  1120. 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68,
  1121. 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1122. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53,
  1123. 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1124. 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05,
  1125. 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12,
  1126. 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03,
  1127. 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x62, 0x69,
  1128. 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x6f, 0x62,
  1129. 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
  1130. 0x75, 0x73, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
  1131. 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
  1132. 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
  1133. 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1134. 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
  1135. 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61,
  1136. 0x74, 0x22, 0x6b, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52,
  1137. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
  1138. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61,
  1139. 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
  1140. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1141. 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64,
  1142. 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x92,
  1143. 0x01, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73,
  1144. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
  1145. 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74,
  1146. 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12,
  1147. 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01,
  1148. 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x35, 0x0a, 0x04,
  1149. 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63,
  1150. 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41,
  1151. 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c,
  1152. 0x69, 0x73, 0x74, 0x22, 0x76, 0x0a, 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69,
  1153. 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f,
  1154. 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52,
  1155. 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70,
  1156. 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28,
  1157. 0x03, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1b,
  1158. 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28,
  1159. 0x03, 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x23, 0x0a, 0x0b, 0x53,
  1160. 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
  1161. 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
  1162. 0x22, 0xb1, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1b, 0x0a,
  1163. 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1164. 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61,
  1165. 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
  1166. 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18,
  1167. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x31, 0x0a, 0x05,
  1168. 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61,
  1169. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1170. 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12,
  1171. 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  1172. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65,
  1173. 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65,
  1174. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
  1175. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1176. 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc6, 0x02, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74,
  1177. 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1178. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1179. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68,
  1180. 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  1181. 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1182. 0x1b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1183. 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f,
  1184. 0x6c, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05,
  1185. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1186. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e,
  1187. 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x23, 0x0a, 0x0d,
  1188. 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20,
  1189. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d,
  1190. 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72,
  1191. 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73,
  1192. 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
  1193. 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
  1194. 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f,
  1195. 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72,
  1196. 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xa1, 0x02,
  1197. 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
  1198. 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1199. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f,
  1200. 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
  1201. 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07,
  1202. 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
  1203. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1204. 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
  1205. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1206. 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  1207. 0x03, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54,
  1208. 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x65,
  1209. 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63,
  1210. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a,
  1211. 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
  1212. 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1213. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1214. 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  1215. 0x6e, 0x22, 0x74, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52,
  1216. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18,
  1217. 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74,
  1218. 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61,
  1219. 0x6c, 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1220. 0x20, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1221. 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65,
  1222. 0x72, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6b, 0x0a, 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f,
  1223. 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
  1224. 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  1225. 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69,
  1226. 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62,
  1227. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1228. 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73,
  1229. 0x53, 0x68, 0x6f, 0x77, 0x22, 0x87, 0x04, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75,
  1230. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  1231. 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1232. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70,
  1233. 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
  1234. 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75,
  1235. 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x65, 0x6e,
  1236. 0x75, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05,
  1237. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70,
  1238. 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12,
  1239. 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e,
  1240. 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1241. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64,
  1242. 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70,
  1243. 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d,
  1244. 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x09,
  1245. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f,
  1246. 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x1a,
  1247. 0x0a, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
  1248. 0x52, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72,
  1249. 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
  1250. 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65,
  1251. 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0d,
  1252. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46,
  1253. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e,
  1254. 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3d, 0x0a, 0x08, 0x63,
  1255. 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
  1256. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1257. 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1258. 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66,
  1259. 0x66, 0x69, 0x78, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x66, 0x66, 0x69, 0x78,
  1260. 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x11, 0x20,
  1261. 0x01, 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x22, 0x6b,
  1262. 0x0a, 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65,
  1263. 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e,
  1264. 0x75, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75,
  1265. 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20,
  1266. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1267. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b,
  1268. 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x6b, 0x0a, 0x11, 0x53,
  1269. 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1270. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1271. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  1272. 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1273. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67,
  1274. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61,
  1275. 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72,
  1276. 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12,
  1277. 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61,
  1278. 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
  1279. 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74,
  1280. 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1281. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65,
  1282. 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22,
  1283. 0xea, 0x01, 0x0a, 0x19, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65,
  1284. 0x6e, 0x75, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a,
  1285. 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20,
  1286. 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1287. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x61, 0x73, 0x74, 0x75,
  1288. 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75,
  1289. 0x72, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x6c,
  1290. 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1291. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64,
  1292. 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x6d, 0x65,
  1293. 0x6e, 0x75, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65,
  1294. 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61,
  1295. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1296. 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1297. 0x52, 0x0a, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x36, 0x0a, 0x10,
  1298. 0x41, 0x64, 0x64, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1299. 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
  1300. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1301. 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1302. 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1303. }
  1304. var (
  1305. file_backend_operation_system_proto_rawDescOnce sync.Once
  1306. file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
  1307. )
  1308. func file_backend_operation_system_proto_rawDescGZIP() []byte {
  1309. file_backend_operation_system_proto_rawDescOnce.Do(func() {
  1310. file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
  1311. })
  1312. return file_backend_operation_system_proto_rawDescData
  1313. }
  1314. var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
  1315. var file_backend_operation_system_proto_goTypes = []interface{}{
  1316. (*AddRoleRequest)(nil), // 0: backend.operation.AddRoleRequest
  1317. (*SearchRoleRequest)(nil), // 1: backend.operation.SearchRoleRequest
  1318. (*SearchRoleResponse)(nil), // 2: backend.operation.SearchRoleResponse
  1319. (*RolePermissionsList)(nil), // 3: backend.operation.RolePermissionsList
  1320. (*SystemToken)(nil), // 4: backend.operation.SystemToken
  1321. (*UserAuth)(nil), // 5: backend.operation.UserAuth
  1322. (*UserRole)(nil), // 6: backend.operation.UserRole
  1323. (*AddSystemUser)(nil), // 7: backend.operation.AddSystemUser
  1324. (*SearchUserRequest)(nil), // 8: backend.operation.SearchUserRequest
  1325. (*SearchUserResponse)(nil), // 9: backend.operation.SearchUserResponse
  1326. (*IsShowSystemUserRequest)(nil), // 10: backend.operation.IsShowSystemUserRequest
  1327. (*AddMenuRequest)(nil), // 11: backend.operation.AddMenuRequest
  1328. (*IsShowSystemMenuRequest)(nil), // 12: backend.operation.IsShowSystemMenuRequest
  1329. (*SearchMenuRequest)(nil), // 13: backend.operation.SearchMenuRequest
  1330. (*SearchMenuResponse)(nil), // 14: backend.operation.SearchMenuResponse
  1331. (*SystemUserMenuPermissions)(nil), // 15: backend.operation.SystemUserMenuPermissions
  1332. (*AddMobileRequest)(nil), // 16: backend.operation.AddMobileRequest
  1333. (IsShow_Kind)(0), // 17: backend.operation.IsShow.Kind
  1334. (*PaginationModel)(nil), // 18: backend.operation.PaginationModel
  1335. (*AddPastureRequest)(nil), // 19: backend.operation.AddPastureRequest
  1336. }
  1337. var file_backend_operation_system_proto_depIdxs = []int32{
  1338. 17, // 0: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1339. 18, // 1: backend.operation.SearchRoleRequest.pagination:type_name -> backend.operation.PaginationModel
  1340. 0, // 2: backend.operation.SearchRoleResponse.list:type_name -> backend.operation.AddRoleRequest
  1341. 6, // 3: backend.operation.UserAuth.roles:type_name -> backend.operation.UserRole
  1342. 6, // 4: backend.operation.AddSystemUser.roles:type_name -> backend.operation.UserRole
  1343. 17, // 5: backend.operation.AddSystemUser.is_show:type_name -> backend.operation.IsShow.Kind
  1344. 17, // 6: backend.operation.SearchUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1345. 18, // 7: backend.operation.SearchUserRequest.pagination:type_name -> backend.operation.PaginationModel
  1346. 7, // 8: backend.operation.SearchUserResponse.list:type_name -> backend.operation.AddSystemUser
  1347. 17, // 9: backend.operation.IsShowSystemUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1348. 17, // 10: backend.operation.AddMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1349. 11, // 11: backend.operation.AddMenuRequest.children:type_name -> backend.operation.AddMenuRequest
  1350. 17, // 12: backend.operation.IsShowSystemMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1351. 18, // 13: backend.operation.SearchMenuRequest.pagination:type_name -> backend.operation.PaginationModel
  1352. 11, // 14: backend.operation.SearchMenuResponse.list:type_name -> backend.operation.AddMenuRequest
  1353. 19, // 15: backend.operation.SystemUserMenuPermissions.pasture_list:type_name -> backend.operation.AddPastureRequest
  1354. 11, // 16: backend.operation.SystemUserMenuPermissions.menu_list:type_name -> backend.operation.AddMenuRequest
  1355. 16, // 17: backend.operation.SystemUserMenuPermissions.mobile_list:type_name -> backend.operation.AddMobileRequest
  1356. 18, // [18:18] is the sub-list for method output_type
  1357. 18, // [18:18] is the sub-list for method input_type
  1358. 18, // [18:18] is the sub-list for extension type_name
  1359. 18, // [18:18] is the sub-list for extension extendee
  1360. 0, // [0:18] is the sub-list for field type_name
  1361. }
  1362. func init() { file_backend_operation_system_proto_init() }
  1363. func file_backend_operation_system_proto_init() {
  1364. if File_backend_operation_system_proto != nil {
  1365. return
  1366. }
  1367. file_backend_operation_enum_proto_init()
  1368. file_backend_operation_pagination_proto_init()
  1369. file_backend_operation_pasture_proto_init()
  1370. if !protoimpl.UnsafeEnabled {
  1371. file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1372. switch v := v.(*AddRoleRequest); i {
  1373. case 0:
  1374. return &v.state
  1375. case 1:
  1376. return &v.sizeCache
  1377. case 2:
  1378. return &v.unknownFields
  1379. default:
  1380. return nil
  1381. }
  1382. }
  1383. file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1384. switch v := v.(*SearchRoleRequest); i {
  1385. case 0:
  1386. return &v.state
  1387. case 1:
  1388. return &v.sizeCache
  1389. case 2:
  1390. return &v.unknownFields
  1391. default:
  1392. return nil
  1393. }
  1394. }
  1395. file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1396. switch v := v.(*SearchRoleResponse); i {
  1397. case 0:
  1398. return &v.state
  1399. case 1:
  1400. return &v.sizeCache
  1401. case 2:
  1402. return &v.unknownFields
  1403. default:
  1404. return nil
  1405. }
  1406. }
  1407. file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1408. switch v := v.(*RolePermissionsList); i {
  1409. case 0:
  1410. return &v.state
  1411. case 1:
  1412. return &v.sizeCache
  1413. case 2:
  1414. return &v.unknownFields
  1415. default:
  1416. return nil
  1417. }
  1418. }
  1419. file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1420. switch v := v.(*SystemToken); i {
  1421. case 0:
  1422. return &v.state
  1423. case 1:
  1424. return &v.sizeCache
  1425. case 2:
  1426. return &v.unknownFields
  1427. default:
  1428. return nil
  1429. }
  1430. }
  1431. file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1432. switch v := v.(*UserAuth); i {
  1433. case 0:
  1434. return &v.state
  1435. case 1:
  1436. return &v.sizeCache
  1437. case 2:
  1438. return &v.unknownFields
  1439. default:
  1440. return nil
  1441. }
  1442. }
  1443. file_backend_operation_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1444. switch v := v.(*UserRole); i {
  1445. case 0:
  1446. return &v.state
  1447. case 1:
  1448. return &v.sizeCache
  1449. case 2:
  1450. return &v.unknownFields
  1451. default:
  1452. return nil
  1453. }
  1454. }
  1455. file_backend_operation_system_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1456. switch v := v.(*AddSystemUser); i {
  1457. case 0:
  1458. return &v.state
  1459. case 1:
  1460. return &v.sizeCache
  1461. case 2:
  1462. return &v.unknownFields
  1463. default:
  1464. return nil
  1465. }
  1466. }
  1467. file_backend_operation_system_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1468. switch v := v.(*SearchUserRequest); i {
  1469. case 0:
  1470. return &v.state
  1471. case 1:
  1472. return &v.sizeCache
  1473. case 2:
  1474. return &v.unknownFields
  1475. default:
  1476. return nil
  1477. }
  1478. }
  1479. file_backend_operation_system_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1480. switch v := v.(*SearchUserResponse); i {
  1481. case 0:
  1482. return &v.state
  1483. case 1:
  1484. return &v.sizeCache
  1485. case 2:
  1486. return &v.unknownFields
  1487. default:
  1488. return nil
  1489. }
  1490. }
  1491. file_backend_operation_system_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1492. switch v := v.(*IsShowSystemUserRequest); i {
  1493. case 0:
  1494. return &v.state
  1495. case 1:
  1496. return &v.sizeCache
  1497. case 2:
  1498. return &v.unknownFields
  1499. default:
  1500. return nil
  1501. }
  1502. }
  1503. file_backend_operation_system_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1504. switch v := v.(*AddMenuRequest); i {
  1505. case 0:
  1506. return &v.state
  1507. case 1:
  1508. return &v.sizeCache
  1509. case 2:
  1510. return &v.unknownFields
  1511. default:
  1512. return nil
  1513. }
  1514. }
  1515. file_backend_operation_system_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1516. switch v := v.(*IsShowSystemMenuRequest); i {
  1517. case 0:
  1518. return &v.state
  1519. case 1:
  1520. return &v.sizeCache
  1521. case 2:
  1522. return &v.unknownFields
  1523. default:
  1524. return nil
  1525. }
  1526. }
  1527. file_backend_operation_system_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1528. switch v := v.(*SearchMenuRequest); i {
  1529. case 0:
  1530. return &v.state
  1531. case 1:
  1532. return &v.sizeCache
  1533. case 2:
  1534. return &v.unknownFields
  1535. default:
  1536. return nil
  1537. }
  1538. }
  1539. file_backend_operation_system_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1540. switch v := v.(*SearchMenuResponse); i {
  1541. case 0:
  1542. return &v.state
  1543. case 1:
  1544. return &v.sizeCache
  1545. case 2:
  1546. return &v.unknownFields
  1547. default:
  1548. return nil
  1549. }
  1550. }
  1551. file_backend_operation_system_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1552. switch v := v.(*SystemUserMenuPermissions); i {
  1553. case 0:
  1554. return &v.state
  1555. case 1:
  1556. return &v.sizeCache
  1557. case 2:
  1558. return &v.unknownFields
  1559. default:
  1560. return nil
  1561. }
  1562. }
  1563. file_backend_operation_system_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1564. switch v := v.(*AddMobileRequest); i {
  1565. case 0:
  1566. return &v.state
  1567. case 1:
  1568. return &v.sizeCache
  1569. case 2:
  1570. return &v.unknownFields
  1571. default:
  1572. return nil
  1573. }
  1574. }
  1575. }
  1576. type x struct{}
  1577. out := protoimpl.TypeBuilder{
  1578. File: protoimpl.DescBuilder{
  1579. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1580. RawDescriptor: file_backend_operation_system_proto_rawDesc,
  1581. NumEnums: 0,
  1582. NumMessages: 17,
  1583. NumExtensions: 0,
  1584. NumServices: 0,
  1585. },
  1586. GoTypes: file_backend_operation_system_proto_goTypes,
  1587. DependencyIndexes: file_backend_operation_system_proto_depIdxs,
  1588. MessageInfos: file_backend_operation_system_proto_msgTypes,
  1589. }.Build()
  1590. File_backend_operation_system_proto = out.File
  1591. file_backend_operation_system_proto_rawDesc = nil
  1592. file_backend_operation_system_proto_goTypes = nil
  1593. file_backend_operation_system_proto_depIdxs = nil
  1594. }