system.pb.go 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043
  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. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  85. }
  86. func (x *SearchRoleRequest) Reset() {
  87. *x = SearchRoleRequest{}
  88. if protoimpl.UnsafeEnabled {
  89. mi := &file_backend_operation_system_proto_msgTypes[1]
  90. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  91. ms.StoreMessageInfo(mi)
  92. }
  93. }
  94. func (x *SearchRoleRequest) String() string {
  95. return protoimpl.X.MessageStringOf(x)
  96. }
  97. func (*SearchRoleRequest) ProtoMessage() {}
  98. func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message {
  99. mi := &file_backend_operation_system_proto_msgTypes[1]
  100. if protoimpl.UnsafeEnabled && x != nil {
  101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  102. if ms.LoadMessageInfo() == nil {
  103. ms.StoreMessageInfo(mi)
  104. }
  105. return ms
  106. }
  107. return mi.MessageOf(x)
  108. }
  109. // Deprecated: Use SearchRoleRequest.ProtoReflect.Descriptor instead.
  110. func (*SearchRoleRequest) Descriptor() ([]byte, []int) {
  111. return file_backend_operation_system_proto_rawDescGZIP(), []int{1}
  112. }
  113. func (x *SearchRoleRequest) GetName() string {
  114. if x != nil {
  115. return x.Name
  116. }
  117. return ""
  118. }
  119. type SearchRoleResponse struct {
  120. state protoimpl.MessageState
  121. sizeCache protoimpl.SizeCache
  122. unknownFields protoimpl.UnknownFields
  123. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  124. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  125. List []*AddRoleRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  126. }
  127. func (x *SearchRoleResponse) Reset() {
  128. *x = SearchRoleResponse{}
  129. if protoimpl.UnsafeEnabled {
  130. mi := &file_backend_operation_system_proto_msgTypes[2]
  131. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  132. ms.StoreMessageInfo(mi)
  133. }
  134. }
  135. func (x *SearchRoleResponse) String() string {
  136. return protoimpl.X.MessageStringOf(x)
  137. }
  138. func (*SearchRoleResponse) ProtoMessage() {}
  139. func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message {
  140. mi := &file_backend_operation_system_proto_msgTypes[2]
  141. if protoimpl.UnsafeEnabled && x != nil {
  142. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  143. if ms.LoadMessageInfo() == nil {
  144. ms.StoreMessageInfo(mi)
  145. }
  146. return ms
  147. }
  148. return mi.MessageOf(x)
  149. }
  150. // Deprecated: Use SearchRoleResponse.ProtoReflect.Descriptor instead.
  151. func (*SearchRoleResponse) Descriptor() ([]byte, []int) {
  152. return file_backend_operation_system_proto_rawDescGZIP(), []int{2}
  153. }
  154. func (x *SearchRoleResponse) GetPage() int32 {
  155. if x != nil {
  156. return x.Page
  157. }
  158. return 0
  159. }
  160. func (x *SearchRoleResponse) GetTotal() int32 {
  161. if x != nil {
  162. return x.Total
  163. }
  164. return 0
  165. }
  166. func (x *SearchRoleResponse) GetList() []*AddRoleRequest {
  167. if x != nil {
  168. return x.List
  169. }
  170. return nil
  171. }
  172. type AddMenuRequest struct {
  173. state protoimpl.MessageState
  174. sizeCache protoimpl.SizeCache
  175. unknownFields protoimpl.UnknownFields
  176. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  177. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  178. }
  179. func (x *AddMenuRequest) Reset() {
  180. *x = AddMenuRequest{}
  181. if protoimpl.UnsafeEnabled {
  182. mi := &file_backend_operation_system_proto_msgTypes[3]
  183. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  184. ms.StoreMessageInfo(mi)
  185. }
  186. }
  187. func (x *AddMenuRequest) String() string {
  188. return protoimpl.X.MessageStringOf(x)
  189. }
  190. func (*AddMenuRequest) ProtoMessage() {}
  191. func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
  192. mi := &file_backend_operation_system_proto_msgTypes[3]
  193. if protoimpl.UnsafeEnabled && x != nil {
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. if ms.LoadMessageInfo() == nil {
  196. ms.StoreMessageInfo(mi)
  197. }
  198. return ms
  199. }
  200. return mi.MessageOf(x)
  201. }
  202. // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
  203. func (*AddMenuRequest) Descriptor() ([]byte, []int) {
  204. return file_backend_operation_system_proto_rawDescGZIP(), []int{3}
  205. }
  206. func (x *AddMenuRequest) GetId() int64 {
  207. if x != nil {
  208. return x.Id
  209. }
  210. return 0
  211. }
  212. func (x *AddMenuRequest) GetName() string {
  213. if x != nil {
  214. return x.Name
  215. }
  216. return ""
  217. }
  218. // 用户token
  219. type SystemToken struct {
  220. state protoimpl.MessageState
  221. sizeCache protoimpl.SizeCache
  222. unknownFields protoimpl.UnknownFields
  223. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  224. }
  225. func (x *SystemToken) Reset() {
  226. *x = SystemToken{}
  227. if protoimpl.UnsafeEnabled {
  228. mi := &file_backend_operation_system_proto_msgTypes[4]
  229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  230. ms.StoreMessageInfo(mi)
  231. }
  232. }
  233. func (x *SystemToken) String() string {
  234. return protoimpl.X.MessageStringOf(x)
  235. }
  236. func (*SystemToken) ProtoMessage() {}
  237. func (x *SystemToken) ProtoReflect() protoreflect.Message {
  238. mi := &file_backend_operation_system_proto_msgTypes[4]
  239. if protoimpl.UnsafeEnabled && x != nil {
  240. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  241. if ms.LoadMessageInfo() == nil {
  242. ms.StoreMessageInfo(mi)
  243. }
  244. return ms
  245. }
  246. return mi.MessageOf(x)
  247. }
  248. // Deprecated: Use SystemToken.ProtoReflect.Descriptor instead.
  249. func (*SystemToken) Descriptor() ([]byte, []int) {
  250. return file_backend_operation_system_proto_rawDescGZIP(), []int{4}
  251. }
  252. func (x *SystemToken) GetToken() string {
  253. if x != nil {
  254. return x.Token
  255. }
  256. return ""
  257. }
  258. // 用户登录
  259. type UserAuth struct {
  260. state protoimpl.MessageState
  261. sizeCache protoimpl.SizeCache
  262. unknownFields protoimpl.UnknownFields
  263. UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 用户名称
  264. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 用户密码
  265. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  266. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 用户角色
  267. EmployeeName string `protobuf:"bytes,5,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工名称
  268. }
  269. func (x *UserAuth) Reset() {
  270. *x = UserAuth{}
  271. if protoimpl.UnsafeEnabled {
  272. mi := &file_backend_operation_system_proto_msgTypes[5]
  273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  274. ms.StoreMessageInfo(mi)
  275. }
  276. }
  277. func (x *UserAuth) String() string {
  278. return protoimpl.X.MessageStringOf(x)
  279. }
  280. func (*UserAuth) ProtoMessage() {}
  281. func (x *UserAuth) ProtoReflect() protoreflect.Message {
  282. mi := &file_backend_operation_system_proto_msgTypes[5]
  283. if protoimpl.UnsafeEnabled && x != nil {
  284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  285. if ms.LoadMessageInfo() == nil {
  286. ms.StoreMessageInfo(mi)
  287. }
  288. return ms
  289. }
  290. return mi.MessageOf(x)
  291. }
  292. // Deprecated: Use UserAuth.ProtoReflect.Descriptor instead.
  293. func (*UserAuth) Descriptor() ([]byte, []int) {
  294. return file_backend_operation_system_proto_rawDescGZIP(), []int{5}
  295. }
  296. func (x *UserAuth) GetUserName() string {
  297. if x != nil {
  298. return x.UserName
  299. }
  300. return ""
  301. }
  302. func (x *UserAuth) GetPassword() string {
  303. if x != nil {
  304. return x.Password
  305. }
  306. return ""
  307. }
  308. func (x *UserAuth) GetPhone() string {
  309. if x != nil {
  310. return x.Phone
  311. }
  312. return ""
  313. }
  314. func (x *UserAuth) GetRoles() []*UserRole {
  315. if x != nil {
  316. return x.Roles
  317. }
  318. return nil
  319. }
  320. func (x *UserAuth) GetEmployeeName() string {
  321. if x != nil {
  322. return x.EmployeeName
  323. }
  324. return ""
  325. }
  326. type UserRole struct {
  327. state protoimpl.MessageState
  328. sizeCache protoimpl.SizeCache
  329. unknownFields protoimpl.UnknownFields
  330. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 角色id
  331. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称
  332. }
  333. func (x *UserRole) Reset() {
  334. *x = UserRole{}
  335. if protoimpl.UnsafeEnabled {
  336. mi := &file_backend_operation_system_proto_msgTypes[6]
  337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  338. ms.StoreMessageInfo(mi)
  339. }
  340. }
  341. func (x *UserRole) String() string {
  342. return protoimpl.X.MessageStringOf(x)
  343. }
  344. func (*UserRole) ProtoMessage() {}
  345. func (x *UserRole) ProtoReflect() protoreflect.Message {
  346. mi := &file_backend_operation_system_proto_msgTypes[6]
  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 UserRole.ProtoReflect.Descriptor instead.
  357. func (*UserRole) Descriptor() ([]byte, []int) {
  358. return file_backend_operation_system_proto_rawDescGZIP(), []int{6}
  359. }
  360. func (x *UserRole) GetId() int64 {
  361. if x != nil {
  362. return x.Id
  363. }
  364. return 0
  365. }
  366. func (x *UserRole) GetName() string {
  367. if x != nil {
  368. return x.Name
  369. }
  370. return ""
  371. }
  372. type AddSystemUser struct {
  373. state protoimpl.MessageState
  374. sizeCache protoimpl.SizeCache
  375. unknownFields protoimpl.UnknownFields
  376. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id
  377. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  378. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
  379. Roles []*UserRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // 角色
  380. IsShow IsShow_Kind `protobuf:"varint,5,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  381. EmployeeName string `protobuf:"bytes,6,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  382. CreateUser string `protobuf:"bytes,7,opt,name=create_user,json=createUser,proto3" json:"create_user,omitempty"` // 创建人
  383. CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  384. }
  385. func (x *AddSystemUser) Reset() {
  386. *x = AddSystemUser{}
  387. if protoimpl.UnsafeEnabled {
  388. mi := &file_backend_operation_system_proto_msgTypes[7]
  389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  390. ms.StoreMessageInfo(mi)
  391. }
  392. }
  393. func (x *AddSystemUser) String() string {
  394. return protoimpl.X.MessageStringOf(x)
  395. }
  396. func (*AddSystemUser) ProtoMessage() {}
  397. func (x *AddSystemUser) ProtoReflect() protoreflect.Message {
  398. mi := &file_backend_operation_system_proto_msgTypes[7]
  399. if protoimpl.UnsafeEnabled && x != nil {
  400. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  401. if ms.LoadMessageInfo() == nil {
  402. ms.StoreMessageInfo(mi)
  403. }
  404. return ms
  405. }
  406. return mi.MessageOf(x)
  407. }
  408. // Deprecated: Use AddSystemUser.ProtoReflect.Descriptor instead.
  409. func (*AddSystemUser) Descriptor() ([]byte, []int) {
  410. return file_backend_operation_system_proto_rawDescGZIP(), []int{7}
  411. }
  412. func (x *AddSystemUser) GetId() int64 {
  413. if x != nil {
  414. return x.Id
  415. }
  416. return 0
  417. }
  418. func (x *AddSystemUser) GetName() string {
  419. if x != nil {
  420. return x.Name
  421. }
  422. return ""
  423. }
  424. func (x *AddSystemUser) GetPhone() string {
  425. if x != nil {
  426. return x.Phone
  427. }
  428. return ""
  429. }
  430. func (x *AddSystemUser) GetRoles() []*UserRole {
  431. if x != nil {
  432. return x.Roles
  433. }
  434. return nil
  435. }
  436. func (x *AddSystemUser) GetIsShow() IsShow_Kind {
  437. if x != nil {
  438. return x.IsShow
  439. }
  440. return IsShow_INVALID
  441. }
  442. func (x *AddSystemUser) GetEmployeeName() string {
  443. if x != nil {
  444. return x.EmployeeName
  445. }
  446. return ""
  447. }
  448. func (x *AddSystemUser) GetCreateUser() string {
  449. if x != nil {
  450. return x.CreateUser
  451. }
  452. return ""
  453. }
  454. func (x *AddSystemUser) GetCreatedAt() int64 {
  455. if x != nil {
  456. return x.CreatedAt
  457. }
  458. return 0
  459. }
  460. // 查询用户
  461. type SearchUserRequest struct {
  462. state protoimpl.MessageState
  463. sizeCache protoimpl.SizeCache
  464. unknownFields protoimpl.UnknownFields
  465. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 用户名称
  466. EmployeeName string `protobuf:"bytes,2,opt,name=employee_name,json=employeeName,proto3" json:"employee_name,omitempty"` // 员工姓名
  467. IsShow IsShow_Kind `protobuf:"varint,3,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  468. CreatedStartTime int64 `protobuf:"varint,4,opt,name=created_start_time,json=createdStartTime,proto3" json:"created_start_time,omitempty"` // 开始时间
  469. CreatedEndTime int64 `protobuf:"varint,5,opt,name=created_end_time,json=createdEndTime,proto3" json:"created_end_time,omitempty"` // 结束时间
  470. }
  471. func (x *SearchUserRequest) Reset() {
  472. *x = SearchUserRequest{}
  473. if protoimpl.UnsafeEnabled {
  474. mi := &file_backend_operation_system_proto_msgTypes[8]
  475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  476. ms.StoreMessageInfo(mi)
  477. }
  478. }
  479. func (x *SearchUserRequest) String() string {
  480. return protoimpl.X.MessageStringOf(x)
  481. }
  482. func (*SearchUserRequest) ProtoMessage() {}
  483. func (x *SearchUserRequest) ProtoReflect() protoreflect.Message {
  484. mi := &file_backend_operation_system_proto_msgTypes[8]
  485. if protoimpl.UnsafeEnabled && x != nil {
  486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  487. if ms.LoadMessageInfo() == nil {
  488. ms.StoreMessageInfo(mi)
  489. }
  490. return ms
  491. }
  492. return mi.MessageOf(x)
  493. }
  494. // Deprecated: Use SearchUserRequest.ProtoReflect.Descriptor instead.
  495. func (*SearchUserRequest) Descriptor() ([]byte, []int) {
  496. return file_backend_operation_system_proto_rawDescGZIP(), []int{8}
  497. }
  498. func (x *SearchUserRequest) GetName() string {
  499. if x != nil {
  500. return x.Name
  501. }
  502. return ""
  503. }
  504. func (x *SearchUserRequest) GetEmployeeName() string {
  505. if x != nil {
  506. return x.EmployeeName
  507. }
  508. return ""
  509. }
  510. func (x *SearchUserRequest) GetIsShow() IsShow_Kind {
  511. if x != nil {
  512. return x.IsShow
  513. }
  514. return IsShow_INVALID
  515. }
  516. func (x *SearchUserRequest) GetCreatedStartTime() int64 {
  517. if x != nil {
  518. return x.CreatedStartTime
  519. }
  520. return 0
  521. }
  522. func (x *SearchUserRequest) GetCreatedEndTime() int64 {
  523. if x != nil {
  524. return x.CreatedEndTime
  525. }
  526. return 0
  527. }
  528. type SearchUserResponse struct {
  529. state protoimpl.MessageState
  530. sizeCache protoimpl.SizeCache
  531. unknownFields protoimpl.UnknownFields
  532. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  533. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  534. List []*AddSystemUser `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  535. }
  536. func (x *SearchUserResponse) Reset() {
  537. *x = SearchUserResponse{}
  538. if protoimpl.UnsafeEnabled {
  539. mi := &file_backend_operation_system_proto_msgTypes[9]
  540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  541. ms.StoreMessageInfo(mi)
  542. }
  543. }
  544. func (x *SearchUserResponse) String() string {
  545. return protoimpl.X.MessageStringOf(x)
  546. }
  547. func (*SearchUserResponse) ProtoMessage() {}
  548. func (x *SearchUserResponse) ProtoReflect() protoreflect.Message {
  549. mi := &file_backend_operation_system_proto_msgTypes[9]
  550. if protoimpl.UnsafeEnabled && x != nil {
  551. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  552. if ms.LoadMessageInfo() == nil {
  553. ms.StoreMessageInfo(mi)
  554. }
  555. return ms
  556. }
  557. return mi.MessageOf(x)
  558. }
  559. // Deprecated: Use SearchUserResponse.ProtoReflect.Descriptor instead.
  560. func (*SearchUserResponse) Descriptor() ([]byte, []int) {
  561. return file_backend_operation_system_proto_rawDescGZIP(), []int{9}
  562. }
  563. func (x *SearchUserResponse) GetPage() int32 {
  564. if x != nil {
  565. return x.Page
  566. }
  567. return 0
  568. }
  569. func (x *SearchUserResponse) GetTotal() int32 {
  570. if x != nil {
  571. return x.Total
  572. }
  573. return 0
  574. }
  575. func (x *SearchUserResponse) GetList() []*AddSystemUser {
  576. if x != nil {
  577. return x.List
  578. }
  579. return nil
  580. }
  581. type EditIsShowSystemUserRequest struct {
  582. state protoimpl.MessageState
  583. sizeCache protoimpl.SizeCache
  584. unknownFields protoimpl.UnknownFields
  585. UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
  586. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  587. }
  588. func (x *EditIsShowSystemUserRequest) Reset() {
  589. *x = EditIsShowSystemUserRequest{}
  590. if protoimpl.UnsafeEnabled {
  591. mi := &file_backend_operation_system_proto_msgTypes[10]
  592. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  593. ms.StoreMessageInfo(mi)
  594. }
  595. }
  596. func (x *EditIsShowSystemUserRequest) String() string {
  597. return protoimpl.X.MessageStringOf(x)
  598. }
  599. func (*EditIsShowSystemUserRequest) ProtoMessage() {}
  600. func (x *EditIsShowSystemUserRequest) ProtoReflect() protoreflect.Message {
  601. mi := &file_backend_operation_system_proto_msgTypes[10]
  602. if protoimpl.UnsafeEnabled && x != nil {
  603. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  604. if ms.LoadMessageInfo() == nil {
  605. ms.StoreMessageInfo(mi)
  606. }
  607. return ms
  608. }
  609. return mi.MessageOf(x)
  610. }
  611. // Deprecated: Use EditIsShowSystemUserRequest.ProtoReflect.Descriptor instead.
  612. func (*EditIsShowSystemUserRequest) Descriptor() ([]byte, []int) {
  613. return file_backend_operation_system_proto_rawDescGZIP(), []int{10}
  614. }
  615. func (x *EditIsShowSystemUserRequest) GetUserId() int64 {
  616. if x != nil {
  617. return x.UserId
  618. }
  619. return 0
  620. }
  621. func (x *EditIsShowSystemUserRequest) GetIsShow() IsShow_Kind {
  622. if x != nil {
  623. return x.IsShow
  624. }
  625. return IsShow_INVALID
  626. }
  627. var File_backend_operation_system_proto protoreflect.FileDescriptor
  628. var file_backend_operation_system_proto_rawDesc = []byte{
  629. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  630. 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  631. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  632. 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  633. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  634. 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
  635. 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  636. 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  637. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61,
  638. 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72,
  639. 0x6b, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20,
  640. 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  641. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x06,
  642. 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x27, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
  643. 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  644. 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  645. 0x75, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73,
  646. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
  647. 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74,
  648. 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12,
  649. 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
  650. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  651. 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  652. 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x34, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e,
  653. 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  654. 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  655. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x23, 0x0a, 0x0b,
  656. 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74,
  657. 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65,
  658. 0x6e, 0x22, 0xb1, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1b,
  659. 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  660. 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70,
  661. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
  662. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
  663. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x31, 0x0a,
  664. 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62,
  665. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  666. 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73,
  667. 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
  668. 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65,
  669. 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c,
  670. 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
  671. 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  672. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9a, 0x02, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73,
  673. 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  674. 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  675. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70,
  676. 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e,
  677. 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
  678. 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  679. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72,
  680. 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18,
  681. 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  682. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  683. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x23, 0x0a,
  684. 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06,
  685. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61,
  686. 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65,
  687. 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55,
  688. 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
  689. 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  690. 0x41, 0x74, 0x22, 0xdd, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65,
  691. 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  692. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d,
  693. 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  694. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d,
  695. 0x65, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01,
  696. 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  697. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69,
  698. 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x72,
  699. 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  700. 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53,
  701. 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61,
  702. 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
  703. 0x28, 0x03, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x54, 0x69,
  704. 0x6d, 0x65, 0x22, 0x74, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72,
  705. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65,
  706. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
  707. 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74,
  708. 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  709. 0x32, 0x20, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  710. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73,
  711. 0x65, 0x72, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6f, 0x0a, 0x1b, 0x45, 0x64, 0x69, 0x74,
  712. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72,
  713. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f,
  714. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  715. 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28,
  716. 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  717. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e,
  718. 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f,
  719. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  720. 0x6f, 0x33,
  721. }
  722. var (
  723. file_backend_operation_system_proto_rawDescOnce sync.Once
  724. file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
  725. )
  726. func file_backend_operation_system_proto_rawDescGZIP() []byte {
  727. file_backend_operation_system_proto_rawDescOnce.Do(func() {
  728. file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
  729. })
  730. return file_backend_operation_system_proto_rawDescData
  731. }
  732. var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
  733. var file_backend_operation_system_proto_goTypes = []interface{}{
  734. (*AddRoleRequest)(nil), // 0: backend.operation.AddRoleRequest
  735. (*SearchRoleRequest)(nil), // 1: backend.operation.SearchRoleRequest
  736. (*SearchRoleResponse)(nil), // 2: backend.operation.SearchRoleResponse
  737. (*AddMenuRequest)(nil), // 3: backend.operation.AddMenuRequest
  738. (*SystemToken)(nil), // 4: backend.operation.SystemToken
  739. (*UserAuth)(nil), // 5: backend.operation.UserAuth
  740. (*UserRole)(nil), // 6: backend.operation.UserRole
  741. (*AddSystemUser)(nil), // 7: backend.operation.AddSystemUser
  742. (*SearchUserRequest)(nil), // 8: backend.operation.SearchUserRequest
  743. (*SearchUserResponse)(nil), // 9: backend.operation.SearchUserResponse
  744. (*EditIsShowSystemUserRequest)(nil), // 10: backend.operation.EditIsShowSystemUserRequest
  745. (*IsShow)(nil), // 11: backend.operation.IsShow
  746. (IsShow_Kind)(0), // 12: backend.operation.IsShow.Kind
  747. }
  748. var file_backend_operation_system_proto_depIdxs = []int32{
  749. 11, // 0: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow
  750. 0, // 1: backend.operation.SearchRoleResponse.list:type_name -> backend.operation.AddRoleRequest
  751. 6, // 2: backend.operation.UserAuth.roles:type_name -> backend.operation.UserRole
  752. 6, // 3: backend.operation.AddSystemUser.roles:type_name -> backend.operation.UserRole
  753. 12, // 4: backend.operation.AddSystemUser.is_show:type_name -> backend.operation.IsShow.Kind
  754. 12, // 5: backend.operation.SearchUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  755. 7, // 6: backend.operation.SearchUserResponse.list:type_name -> backend.operation.AddSystemUser
  756. 12, // 7: backend.operation.EditIsShowSystemUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  757. 8, // [8:8] is the sub-list for method output_type
  758. 8, // [8:8] is the sub-list for method input_type
  759. 8, // [8:8] is the sub-list for extension type_name
  760. 8, // [8:8] is the sub-list for extension extendee
  761. 0, // [0:8] is the sub-list for field type_name
  762. }
  763. func init() { file_backend_operation_system_proto_init() }
  764. func file_backend_operation_system_proto_init() {
  765. if File_backend_operation_system_proto != nil {
  766. return
  767. }
  768. file_backend_operation_enum_proto_init()
  769. if !protoimpl.UnsafeEnabled {
  770. file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  771. switch v := v.(*AddRoleRequest); i {
  772. case 0:
  773. return &v.state
  774. case 1:
  775. return &v.sizeCache
  776. case 2:
  777. return &v.unknownFields
  778. default:
  779. return nil
  780. }
  781. }
  782. file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  783. switch v := v.(*SearchRoleRequest); i {
  784. case 0:
  785. return &v.state
  786. case 1:
  787. return &v.sizeCache
  788. case 2:
  789. return &v.unknownFields
  790. default:
  791. return nil
  792. }
  793. }
  794. file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  795. switch v := v.(*SearchRoleResponse); i {
  796. case 0:
  797. return &v.state
  798. case 1:
  799. return &v.sizeCache
  800. case 2:
  801. return &v.unknownFields
  802. default:
  803. return nil
  804. }
  805. }
  806. file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  807. switch v := v.(*AddMenuRequest); i {
  808. case 0:
  809. return &v.state
  810. case 1:
  811. return &v.sizeCache
  812. case 2:
  813. return &v.unknownFields
  814. default:
  815. return nil
  816. }
  817. }
  818. file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  819. switch v := v.(*SystemToken); i {
  820. case 0:
  821. return &v.state
  822. case 1:
  823. return &v.sizeCache
  824. case 2:
  825. return &v.unknownFields
  826. default:
  827. return nil
  828. }
  829. }
  830. file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  831. switch v := v.(*UserAuth); i {
  832. case 0:
  833. return &v.state
  834. case 1:
  835. return &v.sizeCache
  836. case 2:
  837. return &v.unknownFields
  838. default:
  839. return nil
  840. }
  841. }
  842. file_backend_operation_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  843. switch v := v.(*UserRole); i {
  844. case 0:
  845. return &v.state
  846. case 1:
  847. return &v.sizeCache
  848. case 2:
  849. return &v.unknownFields
  850. default:
  851. return nil
  852. }
  853. }
  854. file_backend_operation_system_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  855. switch v := v.(*AddSystemUser); i {
  856. case 0:
  857. return &v.state
  858. case 1:
  859. return &v.sizeCache
  860. case 2:
  861. return &v.unknownFields
  862. default:
  863. return nil
  864. }
  865. }
  866. file_backend_operation_system_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  867. switch v := v.(*SearchUserRequest); i {
  868. case 0:
  869. return &v.state
  870. case 1:
  871. return &v.sizeCache
  872. case 2:
  873. return &v.unknownFields
  874. default:
  875. return nil
  876. }
  877. }
  878. file_backend_operation_system_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  879. switch v := v.(*SearchUserResponse); i {
  880. case 0:
  881. return &v.state
  882. case 1:
  883. return &v.sizeCache
  884. case 2:
  885. return &v.unknownFields
  886. default:
  887. return nil
  888. }
  889. }
  890. file_backend_operation_system_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  891. switch v := v.(*EditIsShowSystemUserRequest); i {
  892. case 0:
  893. return &v.state
  894. case 1:
  895. return &v.sizeCache
  896. case 2:
  897. return &v.unknownFields
  898. default:
  899. return nil
  900. }
  901. }
  902. }
  903. type x struct{}
  904. out := protoimpl.TypeBuilder{
  905. File: protoimpl.DescBuilder{
  906. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  907. RawDescriptor: file_backend_operation_system_proto_rawDesc,
  908. NumEnums: 0,
  909. NumMessages: 11,
  910. NumExtensions: 0,
  911. NumServices: 0,
  912. },
  913. GoTypes: file_backend_operation_system_proto_goTypes,
  914. DependencyIndexes: file_backend_operation_system_proto_depIdxs,
  915. MessageInfos: file_backend_operation_system_proto_msgTypes,
  916. }.Build()
  917. File_backend_operation_system_proto = out.File
  918. file_backend_operation_system_proto_rawDesc = nil
  919. file_backend_operation_system_proto_goTypes = nil
  920. file_backend_operation_system_proto_depIdxs = nil
  921. }