system.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  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 `protobuf:"bytes,4,opt,name=is_show,json=isShow,proto3" json:"is_show,omitempty"` // 是否启用
  28. }
  29. func (x *AddRoleRequest) Reset() {
  30. *x = AddRoleRequest{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_backend_operation_system_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *AddRoleRequest) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*AddRoleRequest) ProtoMessage() {}
  41. func (x *AddRoleRequest) ProtoReflect() protoreflect.Message {
  42. mi := &file_backend_operation_system_proto_msgTypes[0]
  43. if protoimpl.UnsafeEnabled && x != nil {
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. if ms.LoadMessageInfo() == nil {
  46. ms.StoreMessageInfo(mi)
  47. }
  48. return ms
  49. }
  50. return mi.MessageOf(x)
  51. }
  52. // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead.
  53. func (*AddRoleRequest) Descriptor() ([]byte, []int) {
  54. return file_backend_operation_system_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *AddRoleRequest) GetId() int64 {
  57. if x != nil {
  58. return x.Id
  59. }
  60. return 0
  61. }
  62. func (x *AddRoleRequest) GetName() string {
  63. if x != nil {
  64. return x.Name
  65. }
  66. return ""
  67. }
  68. func (x *AddRoleRequest) GetRemarks() string {
  69. if x != nil {
  70. return x.Remarks
  71. }
  72. return ""
  73. }
  74. func (x *AddRoleRequest) GetIsShow() *IsShow {
  75. if x != nil {
  76. return x.IsShow
  77. }
  78. return nil
  79. }
  80. type SearchRoleRequest struct {
  81. state protoimpl.MessageState
  82. sizeCache protoimpl.SizeCache
  83. unknownFields protoimpl.UnknownFields
  84. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 第几页,从1开始
  85. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页size,一般为20
  86. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  87. }
  88. func (x *SearchRoleRequest) Reset() {
  89. *x = SearchRoleRequest{}
  90. if protoimpl.UnsafeEnabled {
  91. mi := &file_backend_operation_system_proto_msgTypes[1]
  92. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  93. ms.StoreMessageInfo(mi)
  94. }
  95. }
  96. func (x *SearchRoleRequest) String() string {
  97. return protoimpl.X.MessageStringOf(x)
  98. }
  99. func (*SearchRoleRequest) ProtoMessage() {}
  100. func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message {
  101. mi := &file_backend_operation_system_proto_msgTypes[1]
  102. if protoimpl.UnsafeEnabled && x != nil {
  103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  104. if ms.LoadMessageInfo() == nil {
  105. ms.StoreMessageInfo(mi)
  106. }
  107. return ms
  108. }
  109. return mi.MessageOf(x)
  110. }
  111. // Deprecated: Use SearchRoleRequest.ProtoReflect.Descriptor instead.
  112. func (*SearchRoleRequest) Descriptor() ([]byte, []int) {
  113. return file_backend_operation_system_proto_rawDescGZIP(), []int{1}
  114. }
  115. func (x *SearchRoleRequest) GetPage() int32 {
  116. if x != nil {
  117. return x.Page
  118. }
  119. return 0
  120. }
  121. func (x *SearchRoleRequest) GetPageSize() int32 {
  122. if x != nil {
  123. return x.PageSize
  124. }
  125. return 0
  126. }
  127. func (x *SearchRoleRequest) GetName() string {
  128. if x != nil {
  129. return x.Name
  130. }
  131. return ""
  132. }
  133. type SearchRoleResponse struct {
  134. state protoimpl.MessageState
  135. sizeCache protoimpl.SizeCache
  136. unknownFields protoimpl.UnknownFields
  137. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  138. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  139. List []*AddRoleRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  140. }
  141. func (x *SearchRoleResponse) Reset() {
  142. *x = SearchRoleResponse{}
  143. if protoimpl.UnsafeEnabled {
  144. mi := &file_backend_operation_system_proto_msgTypes[2]
  145. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  146. ms.StoreMessageInfo(mi)
  147. }
  148. }
  149. func (x *SearchRoleResponse) String() string {
  150. return protoimpl.X.MessageStringOf(x)
  151. }
  152. func (*SearchRoleResponse) ProtoMessage() {}
  153. func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message {
  154. mi := &file_backend_operation_system_proto_msgTypes[2]
  155. if protoimpl.UnsafeEnabled && x != nil {
  156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  157. if ms.LoadMessageInfo() == nil {
  158. ms.StoreMessageInfo(mi)
  159. }
  160. return ms
  161. }
  162. return mi.MessageOf(x)
  163. }
  164. // Deprecated: Use SearchRoleResponse.ProtoReflect.Descriptor instead.
  165. func (*SearchRoleResponse) Descriptor() ([]byte, []int) {
  166. return file_backend_operation_system_proto_rawDescGZIP(), []int{2}
  167. }
  168. func (x *SearchRoleResponse) GetPage() int32 {
  169. if x != nil {
  170. return x.Page
  171. }
  172. return 0
  173. }
  174. func (x *SearchRoleResponse) GetTotal() int32 {
  175. if x != nil {
  176. return x.Total
  177. }
  178. return 0
  179. }
  180. func (x *SearchRoleResponse) GetList() []*AddRoleRequest {
  181. if x != nil {
  182. return x.List
  183. }
  184. return nil
  185. }
  186. type AddMenuRequest struct {
  187. state protoimpl.MessageState
  188. sizeCache protoimpl.SizeCache
  189. unknownFields protoimpl.UnknownFields
  190. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  191. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  192. }
  193. func (x *AddMenuRequest) Reset() {
  194. *x = AddMenuRequest{}
  195. if protoimpl.UnsafeEnabled {
  196. mi := &file_backend_operation_system_proto_msgTypes[3]
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. ms.StoreMessageInfo(mi)
  199. }
  200. }
  201. func (x *AddMenuRequest) String() string {
  202. return protoimpl.X.MessageStringOf(x)
  203. }
  204. func (*AddMenuRequest) ProtoMessage() {}
  205. func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
  206. mi := &file_backend_operation_system_proto_msgTypes[3]
  207. if protoimpl.UnsafeEnabled && x != nil {
  208. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  209. if ms.LoadMessageInfo() == nil {
  210. ms.StoreMessageInfo(mi)
  211. }
  212. return ms
  213. }
  214. return mi.MessageOf(x)
  215. }
  216. // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
  217. func (*AddMenuRequest) Descriptor() ([]byte, []int) {
  218. return file_backend_operation_system_proto_rawDescGZIP(), []int{3}
  219. }
  220. func (x *AddMenuRequest) GetId() int64 {
  221. if x != nil {
  222. return x.Id
  223. }
  224. return 0
  225. }
  226. func (x *AddMenuRequest) GetName() string {
  227. if x != nil {
  228. return x.Name
  229. }
  230. return ""
  231. }
  232. // 用户token
  233. type SystemToken struct {
  234. state protoimpl.MessageState
  235. sizeCache protoimpl.SizeCache
  236. unknownFields protoimpl.UnknownFields
  237. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  238. }
  239. func (x *SystemToken) Reset() {
  240. *x = SystemToken{}
  241. if protoimpl.UnsafeEnabled {
  242. mi := &file_backend_operation_system_proto_msgTypes[4]
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. ms.StoreMessageInfo(mi)
  245. }
  246. }
  247. func (x *SystemToken) String() string {
  248. return protoimpl.X.MessageStringOf(x)
  249. }
  250. func (*SystemToken) ProtoMessage() {}
  251. func (x *SystemToken) ProtoReflect() protoreflect.Message {
  252. mi := &file_backend_operation_system_proto_msgTypes[4]
  253. if protoimpl.UnsafeEnabled && x != nil {
  254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  255. if ms.LoadMessageInfo() == nil {
  256. ms.StoreMessageInfo(mi)
  257. }
  258. return ms
  259. }
  260. return mi.MessageOf(x)
  261. }
  262. // Deprecated: Use SystemToken.ProtoReflect.Descriptor instead.
  263. func (*SystemToken) Descriptor() ([]byte, []int) {
  264. return file_backend_operation_system_proto_rawDescGZIP(), []int{4}
  265. }
  266. func (x *SystemToken) GetToken() string {
  267. if x != nil {
  268. return x.Token
  269. }
  270. return ""
  271. }
  272. // 用户登录
  273. type UserAuth struct {
  274. state protoimpl.MessageState
  275. sizeCache protoimpl.SizeCache
  276. unknownFields protoimpl.UnknownFields
  277. UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 用户名称
  278. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 用户密码
  279. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  280. RoleId int64 `protobuf:"varint,4,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 用户角色id
  281. RoleName string `protobuf:"bytes,5,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 用户角色名称
  282. }
  283. func (x *UserAuth) Reset() {
  284. *x = UserAuth{}
  285. if protoimpl.UnsafeEnabled {
  286. mi := &file_backend_operation_system_proto_msgTypes[5]
  287. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  288. ms.StoreMessageInfo(mi)
  289. }
  290. }
  291. func (x *UserAuth) String() string {
  292. return protoimpl.X.MessageStringOf(x)
  293. }
  294. func (*UserAuth) ProtoMessage() {}
  295. func (x *UserAuth) ProtoReflect() protoreflect.Message {
  296. mi := &file_backend_operation_system_proto_msgTypes[5]
  297. if protoimpl.UnsafeEnabled && x != nil {
  298. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  299. if ms.LoadMessageInfo() == nil {
  300. ms.StoreMessageInfo(mi)
  301. }
  302. return ms
  303. }
  304. return mi.MessageOf(x)
  305. }
  306. // Deprecated: Use UserAuth.ProtoReflect.Descriptor instead.
  307. func (*UserAuth) Descriptor() ([]byte, []int) {
  308. return file_backend_operation_system_proto_rawDescGZIP(), []int{5}
  309. }
  310. func (x *UserAuth) GetUserName() string {
  311. if x != nil {
  312. return x.UserName
  313. }
  314. return ""
  315. }
  316. func (x *UserAuth) GetPassword() string {
  317. if x != nil {
  318. return x.Password
  319. }
  320. return ""
  321. }
  322. func (x *UserAuth) GetPhone() string {
  323. if x != nil {
  324. return x.Phone
  325. }
  326. return ""
  327. }
  328. func (x *UserAuth) GetRoleId() int64 {
  329. if x != nil {
  330. return x.RoleId
  331. }
  332. return 0
  333. }
  334. func (x *UserAuth) GetRoleName() string {
  335. if x != nil {
  336. return x.RoleName
  337. }
  338. return ""
  339. }
  340. type AddSystemUser struct {
  341. state protoimpl.MessageState
  342. sizeCache protoimpl.SizeCache
  343. unknownFields protoimpl.UnknownFields
  344. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
  345. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  346. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  347. RoleId int64 `protobuf:"varint,4,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 角色id
  348. IsShow IsShow_Kind `protobuf:"varint,5,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  349. EmployeeName string `protobuf:"bytes,6,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  350. }
  351. func (x *AddSystemUser) Reset() {
  352. *x = AddSystemUser{}
  353. if protoimpl.UnsafeEnabled {
  354. mi := &file_backend_operation_system_proto_msgTypes[6]
  355. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  356. ms.StoreMessageInfo(mi)
  357. }
  358. }
  359. func (x *AddSystemUser) String() string {
  360. return protoimpl.X.MessageStringOf(x)
  361. }
  362. func (*AddSystemUser) ProtoMessage() {}
  363. func (x *AddSystemUser) ProtoReflect() protoreflect.Message {
  364. mi := &file_backend_operation_system_proto_msgTypes[6]
  365. if protoimpl.UnsafeEnabled && x != nil {
  366. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  367. if ms.LoadMessageInfo() == nil {
  368. ms.StoreMessageInfo(mi)
  369. }
  370. return ms
  371. }
  372. return mi.MessageOf(x)
  373. }
  374. // Deprecated: Use AddSystemUser.ProtoReflect.Descriptor instead.
  375. func (*AddSystemUser) Descriptor() ([]byte, []int) {
  376. return file_backend_operation_system_proto_rawDescGZIP(), []int{6}
  377. }
  378. func (x *AddSystemUser) GetId() int64 {
  379. if x != nil {
  380. return x.Id
  381. }
  382. return 0
  383. }
  384. func (x *AddSystemUser) GetName() string {
  385. if x != nil {
  386. return x.Name
  387. }
  388. return ""
  389. }
  390. func (x *AddSystemUser) GetPhone() string {
  391. if x != nil {
  392. return x.Phone
  393. }
  394. return ""
  395. }
  396. func (x *AddSystemUser) GetRoleId() int64 {
  397. if x != nil {
  398. return x.RoleId
  399. }
  400. return 0
  401. }
  402. func (x *AddSystemUser) GetIsShow() IsShow_Kind {
  403. if x != nil {
  404. return x.IsShow
  405. }
  406. return IsShow_INVALID
  407. }
  408. func (x *AddSystemUser) GetEmployeeName() string {
  409. if x != nil {
  410. return x.EmployeeName
  411. }
  412. return ""
  413. }
  414. var File_backend_operation_system_proto protoreflect.FileDescriptor
  415. var file_backend_operation_system_proto_rawDesc = []byte{
  416. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  417. 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  418. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  419. 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  420. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  421. 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
  422. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  423. 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  424. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61,
  425. 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
  426. 0x6b, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20,
  427. 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  428. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x06,
  429. 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x58, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
  430. 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70,
  431. 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12,
  432. 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
  433. 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04,
  434. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  435. 0x22, 0x75, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65,
  436. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01,
  437. 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
  438. 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c,
  439. 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
  440. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  441. 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  442. 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x34, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d, 0x65,
  443. 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  444. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  445. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x23, 0x0a,
  446. 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05,
  447. 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
  448. 0x65, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12,
  449. 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  450. 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08,
  451. 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  452. 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  453. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x17,
  454. 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
  455. 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f,
  456. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65,
  457. 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74,
  458. 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  459. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  460. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68,
  461. 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  462. 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
  463. 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f,
  464. 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63,
  465. 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49,
  466. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68,
  467. 0x6f, 0x77, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e,
  468. 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f,
  469. 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65,
  470. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  471. }
  472. var (
  473. file_backend_operation_system_proto_rawDescOnce sync.Once
  474. file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
  475. )
  476. func file_backend_operation_system_proto_rawDescGZIP() []byte {
  477. file_backend_operation_system_proto_rawDescOnce.Do(func() {
  478. file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
  479. })
  480. return file_backend_operation_system_proto_rawDescData
  481. }
  482. var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  483. var file_backend_operation_system_proto_goTypes = []interface{}{
  484. (*AddRoleRequest)(nil), // 0: backend.operation.AddRoleRequest
  485. (*SearchRoleRequest)(nil), // 1: backend.operation.SearchRoleRequest
  486. (*SearchRoleResponse)(nil), // 2: backend.operation.SearchRoleResponse
  487. (*AddMenuRequest)(nil), // 3: backend.operation.AddMenuRequest
  488. (*SystemToken)(nil), // 4: backend.operation.SystemToken
  489. (*UserAuth)(nil), // 5: backend.operation.UserAuth
  490. (*AddSystemUser)(nil), // 6: backend.operation.AddSystemUser
  491. (*IsShow)(nil), // 7: backend.operation.IsShow
  492. (IsShow_Kind)(0), // 8: backend.operation.IsShow.Kind
  493. }
  494. var file_backend_operation_system_proto_depIdxs = []int32{
  495. 7, // 0: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow
  496. 0, // 1: backend.operation.SearchRoleResponse.list:type_name -> backend.operation.AddRoleRequest
  497. 8, // 2: backend.operation.AddSystemUser.is_show:type_name -> backend.operation.IsShow.Kind
  498. 3, // [3:3] is the sub-list for method output_type
  499. 3, // [3:3] is the sub-list for method input_type
  500. 3, // [3:3] is the sub-list for extension type_name
  501. 3, // [3:3] is the sub-list for extension extendee
  502. 0, // [0:3] is the sub-list for field type_name
  503. }
  504. func init() { file_backend_operation_system_proto_init() }
  505. func file_backend_operation_system_proto_init() {
  506. if File_backend_operation_system_proto != nil {
  507. return
  508. }
  509. file_backend_operation_enum_proto_init()
  510. if !protoimpl.UnsafeEnabled {
  511. file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  512. switch v := v.(*AddRoleRequest); i {
  513. case 0:
  514. return &v.state
  515. case 1:
  516. return &v.sizeCache
  517. case 2:
  518. return &v.unknownFields
  519. default:
  520. return nil
  521. }
  522. }
  523. file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  524. switch v := v.(*SearchRoleRequest); i {
  525. case 0:
  526. return &v.state
  527. case 1:
  528. return &v.sizeCache
  529. case 2:
  530. return &v.unknownFields
  531. default:
  532. return nil
  533. }
  534. }
  535. file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  536. switch v := v.(*SearchRoleResponse); i {
  537. case 0:
  538. return &v.state
  539. case 1:
  540. return &v.sizeCache
  541. case 2:
  542. return &v.unknownFields
  543. default:
  544. return nil
  545. }
  546. }
  547. file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  548. switch v := v.(*AddMenuRequest); i {
  549. case 0:
  550. return &v.state
  551. case 1:
  552. return &v.sizeCache
  553. case 2:
  554. return &v.unknownFields
  555. default:
  556. return nil
  557. }
  558. }
  559. file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  560. switch v := v.(*SystemToken); i {
  561. case 0:
  562. return &v.state
  563. case 1:
  564. return &v.sizeCache
  565. case 2:
  566. return &v.unknownFields
  567. default:
  568. return nil
  569. }
  570. }
  571. file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  572. switch v := v.(*UserAuth); i {
  573. case 0:
  574. return &v.state
  575. case 1:
  576. return &v.sizeCache
  577. case 2:
  578. return &v.unknownFields
  579. default:
  580. return nil
  581. }
  582. }
  583. file_backend_operation_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  584. switch v := v.(*AddSystemUser); i {
  585. case 0:
  586. return &v.state
  587. case 1:
  588. return &v.sizeCache
  589. case 2:
  590. return &v.unknownFields
  591. default:
  592. return nil
  593. }
  594. }
  595. }
  596. type x struct{}
  597. out := protoimpl.TypeBuilder{
  598. File: protoimpl.DescBuilder{
  599. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  600. RawDescriptor: file_backend_operation_system_proto_rawDesc,
  601. NumEnums: 0,
  602. NumMessages: 7,
  603. NumExtensions: 0,
  604. NumServices: 0,
  605. },
  606. GoTypes: file_backend_operation_system_proto_goTypes,
  607. DependencyIndexes: file_backend_operation_system_proto_depIdxs,
  608. MessageInfos: file_backend_operation_system_proto_msgTypes,
  609. }.Build()
  610. File_backend_operation_system_proto = out.File
  611. file_backend_operation_system_proto_rawDesc = nil
  612. file_backend_operation_system_proto_goTypes = nil
  613. file_backend_operation_system_proto_depIdxs = nil
  614. }