system.pb.go 62 KB

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