system.pb.go 61 KB

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