system.pb.go 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491
  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. }
  663. func (x *AddMenuRequest) Reset() {
  664. *x = AddMenuRequest{}
  665. if protoimpl.UnsafeEnabled {
  666. mi := &file_backend_operation_system_proto_msgTypes[10]
  667. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  668. ms.StoreMessageInfo(mi)
  669. }
  670. }
  671. func (x *AddMenuRequest) String() string {
  672. return protoimpl.X.MessageStringOf(x)
  673. }
  674. func (*AddMenuRequest) ProtoMessage() {}
  675. func (x *AddMenuRequest) ProtoReflect() protoreflect.Message {
  676. mi := &file_backend_operation_system_proto_msgTypes[10]
  677. if protoimpl.UnsafeEnabled && x != nil {
  678. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  679. if ms.LoadMessageInfo() == nil {
  680. ms.StoreMessageInfo(mi)
  681. }
  682. return ms
  683. }
  684. return mi.MessageOf(x)
  685. }
  686. // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
  687. func (*AddMenuRequest) Descriptor() ([]byte, []int) {
  688. return file_backend_operation_system_proto_rawDescGZIP(), []int{10}
  689. }
  690. func (x *AddMenuRequest) GetId() int64 {
  691. if x != nil {
  692. return x.Id
  693. }
  694. return 0
  695. }
  696. func (x *AddMenuRequest) GetName() string {
  697. if x != nil {
  698. return x.Name
  699. }
  700. return ""
  701. }
  702. func (x *AddMenuRequest) GetParentId() int64 {
  703. if x != nil {
  704. return x.ParentId
  705. }
  706. return 0
  707. }
  708. func (x *AddMenuRequest) GetMenuType() int32 {
  709. if x != nil {
  710. return x.MenuType
  711. }
  712. return 0
  713. }
  714. func (x *AddMenuRequest) GetTitle() string {
  715. if x != nil {
  716. return x.Title
  717. }
  718. return ""
  719. }
  720. func (x *AddMenuRequest) GetPath() string {
  721. if x != nil {
  722. return x.Path
  723. }
  724. return ""
  725. }
  726. func (x *AddMenuRequest) GetIsShow() IsShow_Kind {
  727. if x != nil {
  728. return x.IsShow
  729. }
  730. return IsShow_INVALID
  731. }
  732. func (x *AddMenuRequest) GetComponent() string {
  733. if x != nil {
  734. return x.Component
  735. }
  736. return ""
  737. }
  738. func (x *AddMenuRequest) GetIcon() string {
  739. if x != nil {
  740. return x.Icon
  741. }
  742. return ""
  743. }
  744. func (x *AddMenuRequest) GetSort() int32 {
  745. if x != nil {
  746. return x.Sort
  747. }
  748. return 0
  749. }
  750. func (x *AddMenuRequest) GetRedirect() string {
  751. if x != nil {
  752. return x.Redirect
  753. }
  754. return ""
  755. }
  756. func (x *AddMenuRequest) GetCreatedAt() int64 {
  757. if x != nil {
  758. return x.CreatedAt
  759. }
  760. return 0
  761. }
  762. func (x *AddMenuRequest) GetCratedAtFormat() string {
  763. if x != nil {
  764. return x.CratedAtFormat
  765. }
  766. return ""
  767. }
  768. type IsShowSystemMenuRequest struct {
  769. state protoimpl.MessageState
  770. sizeCache protoimpl.SizeCache
  771. unknownFields protoimpl.UnknownFields
  772. MenuId int64 `protobuf:"varint,1,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // 角色id
  773. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // is_show
  774. }
  775. func (x *IsShowSystemMenuRequest) Reset() {
  776. *x = IsShowSystemMenuRequest{}
  777. if protoimpl.UnsafeEnabled {
  778. mi := &file_backend_operation_system_proto_msgTypes[11]
  779. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  780. ms.StoreMessageInfo(mi)
  781. }
  782. }
  783. func (x *IsShowSystemMenuRequest) String() string {
  784. return protoimpl.X.MessageStringOf(x)
  785. }
  786. func (*IsShowSystemMenuRequest) ProtoMessage() {}
  787. func (x *IsShowSystemMenuRequest) ProtoReflect() protoreflect.Message {
  788. mi := &file_backend_operation_system_proto_msgTypes[11]
  789. if protoimpl.UnsafeEnabled && x != nil {
  790. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  791. if ms.LoadMessageInfo() == nil {
  792. ms.StoreMessageInfo(mi)
  793. }
  794. return ms
  795. }
  796. return mi.MessageOf(x)
  797. }
  798. // Deprecated: Use IsShowSystemMenuRequest.ProtoReflect.Descriptor instead.
  799. func (*IsShowSystemMenuRequest) Descriptor() ([]byte, []int) {
  800. return file_backend_operation_system_proto_rawDescGZIP(), []int{11}
  801. }
  802. func (x *IsShowSystemMenuRequest) GetMenuId() int64 {
  803. if x != nil {
  804. return x.MenuId
  805. }
  806. return 0
  807. }
  808. func (x *IsShowSystemMenuRequest) GetIsShow() IsShow_Kind {
  809. if x != nil {
  810. return x.IsShow
  811. }
  812. return IsShow_INVALID
  813. }
  814. // 查询菜单权限
  815. type SearchMenuRequest struct {
  816. state protoimpl.MessageState
  817. sizeCache protoimpl.SizeCache
  818. unknownFields protoimpl.UnknownFields
  819. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 菜单名称
  820. Pagination *PaginationModel `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  821. }
  822. func (x *SearchMenuRequest) Reset() {
  823. *x = SearchMenuRequest{}
  824. if protoimpl.UnsafeEnabled {
  825. mi := &file_backend_operation_system_proto_msgTypes[12]
  826. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  827. ms.StoreMessageInfo(mi)
  828. }
  829. }
  830. func (x *SearchMenuRequest) String() string {
  831. return protoimpl.X.MessageStringOf(x)
  832. }
  833. func (*SearchMenuRequest) ProtoMessage() {}
  834. func (x *SearchMenuRequest) ProtoReflect() protoreflect.Message {
  835. mi := &file_backend_operation_system_proto_msgTypes[12]
  836. if protoimpl.UnsafeEnabled && x != nil {
  837. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  838. if ms.LoadMessageInfo() == nil {
  839. ms.StoreMessageInfo(mi)
  840. }
  841. return ms
  842. }
  843. return mi.MessageOf(x)
  844. }
  845. // Deprecated: Use SearchMenuRequest.ProtoReflect.Descriptor instead.
  846. func (*SearchMenuRequest) Descriptor() ([]byte, []int) {
  847. return file_backend_operation_system_proto_rawDescGZIP(), []int{12}
  848. }
  849. func (x *SearchMenuRequest) GetName() string {
  850. if x != nil {
  851. return x.Name
  852. }
  853. return ""
  854. }
  855. func (x *SearchMenuRequest) GetPagination() *PaginationModel {
  856. if x != nil {
  857. return x.Pagination
  858. }
  859. return nil
  860. }
  861. type SearchMenuResponse struct {
  862. state protoimpl.MessageState
  863. sizeCache protoimpl.SizeCache
  864. unknownFields protoimpl.UnknownFields
  865. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  866. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  867. List []*AddMenuRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  868. }
  869. func (x *SearchMenuResponse) Reset() {
  870. *x = SearchMenuResponse{}
  871. if protoimpl.UnsafeEnabled {
  872. mi := &file_backend_operation_system_proto_msgTypes[13]
  873. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  874. ms.StoreMessageInfo(mi)
  875. }
  876. }
  877. func (x *SearchMenuResponse) String() string {
  878. return protoimpl.X.MessageStringOf(x)
  879. }
  880. func (*SearchMenuResponse) ProtoMessage() {}
  881. func (x *SearchMenuResponse) ProtoReflect() protoreflect.Message {
  882. mi := &file_backend_operation_system_proto_msgTypes[13]
  883. if protoimpl.UnsafeEnabled && x != nil {
  884. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  885. if ms.LoadMessageInfo() == nil {
  886. ms.StoreMessageInfo(mi)
  887. }
  888. return ms
  889. }
  890. return mi.MessageOf(x)
  891. }
  892. // Deprecated: Use SearchMenuResponse.ProtoReflect.Descriptor instead.
  893. func (*SearchMenuResponse) Descriptor() ([]byte, []int) {
  894. return file_backend_operation_system_proto_rawDescGZIP(), []int{13}
  895. }
  896. func (x *SearchMenuResponse) GetPage() int32 {
  897. if x != nil {
  898. return x.Page
  899. }
  900. return 0
  901. }
  902. func (x *SearchMenuResponse) GetTotal() int32 {
  903. if x != nil {
  904. return x.Total
  905. }
  906. return 0
  907. }
  908. func (x *SearchMenuResponse) GetList() []*AddMenuRequest {
  909. if x != nil {
  910. return x.List
  911. }
  912. return nil
  913. }
  914. var File_backend_operation_system_proto protoreflect.FileDescriptor
  915. var file_backend_operation_system_proto_rawDesc = []byte{
  916. 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  917. 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  918. 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  919. 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65,
  920. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  921. 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61,
  922. 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  923. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, 0x02, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c,
  924. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  925. 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  926. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
  927. 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72,
  928. 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f,
  929. 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e,
  930. 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68,
  931. 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12,
  932. 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20,
  933. 0x03, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x17,
  934. 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03, 0x52,
  935. 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x62, 0x69, 0x6c,
  936. 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x6f, 0x62, 0x69,
  937. 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x75,
  938. 0x73, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
  939. 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  940. 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
  941. 0x65, 0x64, 0x41, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
  942. 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
  943. 0x63, 0x72, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x6b,
  944. 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
  945. 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  946. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e,
  947. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61,
  948. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  949. 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52,
  950. 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x12, 0x53,
  951. 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  952. 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
  953. 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02,
  954. 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x6c,
  955. 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  956. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64,
  957. 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69,
  958. 0x73, 0x74, 0x22, 0x23, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65,
  959. 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  960. 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb1, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72,
  961. 0x41, 0x75, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d,
  962. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d,
  963. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20,
  964. 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a,
  965. 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
  966. 0x6f, 0x6e, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03,
  967. 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  968. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x52,
  969. 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79,
  970. 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65,
  971. 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x08, 0x55,
  972. 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  973. 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  974. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc4, 0x02, 0x0a, 0x0d,
  975. 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a,
  976. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
  977. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  978. 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  979. 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73,
  980. 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  981. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52,
  982. 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73,
  983. 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
  984. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  985. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
  986. 0x68, 0x6f, 0x77, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f,
  987. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c,
  988. 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,
  989. 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
  990. 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
  991. 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63,
  992. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x61, 0x74,
  993. 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01,
  994. 0x28, 0x09, 0x52, 0x0e, 0x63, 0x72, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d,
  995. 0x61, 0x74, 0x22, 0xa1, 0x02, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65,
  996. 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  997. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d,
  998. 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  999. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x65, 0x4e, 0x61, 0x6d,
  1000. 0x65, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01,
  1001. 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1002. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69,
  1003. 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x72,
  1004. 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  1005. 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53,
  1006. 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61,
  1007. 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
  1008. 0x28, 0x03, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x54, 0x69,
  1009. 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1010. 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1011. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e,
  1012. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69,
  1013. 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x74, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
  1014. 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,
  1015. 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65,
  1016. 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  1017. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  1018. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1019. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74,
  1020. 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x6b, 0x0a, 0x17,
  1021. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72,
  1022. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f,
  1023. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
  1024. 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28,
  1025. 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1026. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e,
  1027. 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xfc, 0x02, 0x0a, 0x0e, 0x41, 0x64,
  1028. 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
  1029. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
  1030. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1031. 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
  1032. 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a,
  1033. 0x09, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
  1034. 0x52, 0x08, 0x6d, 0x65, 0x6e, 0x75, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,
  1035. 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
  1036. 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1037. 0x70, 0x61, 0x74, 0x68, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18,
  1038. 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  1039. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1040. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1c, 0x0a,
  1041. 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
  1042. 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69,
  1043. 0x63, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12,
  1044. 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73,
  1045. 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x18,
  1046. 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12,
  1047. 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20,
  1048. 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x28,
  1049. 0x0a, 0x10, 0x63, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
  1050. 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x72, 0x61, 0x74, 0x65, 0x64,
  1051. 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x6b, 0x0a, 0x17, 0x49, 0x73, 0x53, 0x68,
  1052. 0x6f, 0x77, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75,
  1053. 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6e, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x01,
  1054. 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x65, 0x6e, 0x75, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07,
  1055. 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
  1056. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1057. 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
  1058. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x6b, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d,
  1059. 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  1060. 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42,
  1061. 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
  1062. 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1063. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
  1064. 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  1065. 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x65, 0x6e, 0x75,
  1066. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65,
  1067. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
  1068. 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74,
  1069. 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  1070. 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1071. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75,
  1072. 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f,
  1073. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  1074. 0x6f, 0x33,
  1075. }
  1076. var (
  1077. file_backend_operation_system_proto_rawDescOnce sync.Once
  1078. file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc
  1079. )
  1080. func file_backend_operation_system_proto_rawDescGZIP() []byte {
  1081. file_backend_operation_system_proto_rawDescOnce.Do(func() {
  1082. file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData)
  1083. })
  1084. return file_backend_operation_system_proto_rawDescData
  1085. }
  1086. var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  1087. var file_backend_operation_system_proto_goTypes = []interface{}{
  1088. (*AddRoleRequest)(nil), // 0: backend.operation.AddRoleRequest
  1089. (*SearchRoleRequest)(nil), // 1: backend.operation.SearchRoleRequest
  1090. (*SearchRoleResponse)(nil), // 2: backend.operation.SearchRoleResponse
  1091. (*SystemToken)(nil), // 3: backend.operation.SystemToken
  1092. (*UserAuth)(nil), // 4: backend.operation.UserAuth
  1093. (*UserRole)(nil), // 5: backend.operation.UserRole
  1094. (*AddSystemUser)(nil), // 6: backend.operation.AddSystemUser
  1095. (*SearchUserRequest)(nil), // 7: backend.operation.SearchUserRequest
  1096. (*SearchUserResponse)(nil), // 8: backend.operation.SearchUserResponse
  1097. (*IsShowSystemUserRequest)(nil), // 9: backend.operation.IsShowSystemUserRequest
  1098. (*AddMenuRequest)(nil), // 10: backend.operation.AddMenuRequest
  1099. (*IsShowSystemMenuRequest)(nil), // 11: backend.operation.IsShowSystemMenuRequest
  1100. (*SearchMenuRequest)(nil), // 12: backend.operation.SearchMenuRequest
  1101. (*SearchMenuResponse)(nil), // 13: backend.operation.SearchMenuResponse
  1102. (IsShow_Kind)(0), // 14: backend.operation.IsShow.Kind
  1103. (*PaginationModel)(nil), // 15: backend.operation.PaginationModel
  1104. }
  1105. var file_backend_operation_system_proto_depIdxs = []int32{
  1106. 14, // 0: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1107. 15, // 1: backend.operation.SearchRoleRequest.pagination:type_name -> backend.operation.PaginationModel
  1108. 0, // 2: backend.operation.SearchRoleResponse.list:type_name -> backend.operation.AddRoleRequest
  1109. 5, // 3: backend.operation.UserAuth.roles:type_name -> backend.operation.UserRole
  1110. 5, // 4: backend.operation.AddSystemUser.roles:type_name -> backend.operation.UserRole
  1111. 14, // 5: backend.operation.AddSystemUser.is_show:type_name -> backend.operation.IsShow.Kind
  1112. 14, // 6: backend.operation.SearchUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1113. 15, // 7: backend.operation.SearchUserRequest.pagination:type_name -> backend.operation.PaginationModel
  1114. 6, // 8: backend.operation.SearchUserResponse.list:type_name -> backend.operation.AddSystemUser
  1115. 14, // 9: backend.operation.IsShowSystemUserRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1116. 14, // 10: backend.operation.AddMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1117. 14, // 11: backend.operation.IsShowSystemMenuRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1118. 15, // 12: backend.operation.SearchMenuRequest.pagination:type_name -> backend.operation.PaginationModel
  1119. 10, // 13: backend.operation.SearchMenuResponse.list:type_name -> backend.operation.AddMenuRequest
  1120. 14, // [14:14] is the sub-list for method output_type
  1121. 14, // [14:14] is the sub-list for method input_type
  1122. 14, // [14:14] is the sub-list for extension type_name
  1123. 14, // [14:14] is the sub-list for extension extendee
  1124. 0, // [0:14] is the sub-list for field type_name
  1125. }
  1126. func init() { file_backend_operation_system_proto_init() }
  1127. func file_backend_operation_system_proto_init() {
  1128. if File_backend_operation_system_proto != nil {
  1129. return
  1130. }
  1131. file_backend_operation_enum_proto_init()
  1132. file_backend_operation_pagination_proto_init()
  1133. if !protoimpl.UnsafeEnabled {
  1134. file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1135. switch v := v.(*AddRoleRequest); i {
  1136. case 0:
  1137. return &v.state
  1138. case 1:
  1139. return &v.sizeCache
  1140. case 2:
  1141. return &v.unknownFields
  1142. default:
  1143. return nil
  1144. }
  1145. }
  1146. file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1147. switch v := v.(*SearchRoleRequest); i {
  1148. case 0:
  1149. return &v.state
  1150. case 1:
  1151. return &v.sizeCache
  1152. case 2:
  1153. return &v.unknownFields
  1154. default:
  1155. return nil
  1156. }
  1157. }
  1158. file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1159. switch v := v.(*SearchRoleResponse); i {
  1160. case 0:
  1161. return &v.state
  1162. case 1:
  1163. return &v.sizeCache
  1164. case 2:
  1165. return &v.unknownFields
  1166. default:
  1167. return nil
  1168. }
  1169. }
  1170. file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1171. switch v := v.(*SystemToken); i {
  1172. case 0:
  1173. return &v.state
  1174. case 1:
  1175. return &v.sizeCache
  1176. case 2:
  1177. return &v.unknownFields
  1178. default:
  1179. return nil
  1180. }
  1181. }
  1182. file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1183. switch v := v.(*UserAuth); i {
  1184. case 0:
  1185. return &v.state
  1186. case 1:
  1187. return &v.sizeCache
  1188. case 2:
  1189. return &v.unknownFields
  1190. default:
  1191. return nil
  1192. }
  1193. }
  1194. file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1195. switch v := v.(*UserRole); i {
  1196. case 0:
  1197. return &v.state
  1198. case 1:
  1199. return &v.sizeCache
  1200. case 2:
  1201. return &v.unknownFields
  1202. default:
  1203. return nil
  1204. }
  1205. }
  1206. file_backend_operation_system_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1207. switch v := v.(*AddSystemUser); i {
  1208. case 0:
  1209. return &v.state
  1210. case 1:
  1211. return &v.sizeCache
  1212. case 2:
  1213. return &v.unknownFields
  1214. default:
  1215. return nil
  1216. }
  1217. }
  1218. file_backend_operation_system_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1219. switch v := v.(*SearchUserRequest); i {
  1220. case 0:
  1221. return &v.state
  1222. case 1:
  1223. return &v.sizeCache
  1224. case 2:
  1225. return &v.unknownFields
  1226. default:
  1227. return nil
  1228. }
  1229. }
  1230. file_backend_operation_system_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1231. switch v := v.(*SearchUserResponse); i {
  1232. case 0:
  1233. return &v.state
  1234. case 1:
  1235. return &v.sizeCache
  1236. case 2:
  1237. return &v.unknownFields
  1238. default:
  1239. return nil
  1240. }
  1241. }
  1242. file_backend_operation_system_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1243. switch v := v.(*IsShowSystemUserRequest); i {
  1244. case 0:
  1245. return &v.state
  1246. case 1:
  1247. return &v.sizeCache
  1248. case 2:
  1249. return &v.unknownFields
  1250. default:
  1251. return nil
  1252. }
  1253. }
  1254. file_backend_operation_system_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1255. switch v := v.(*AddMenuRequest); i {
  1256. case 0:
  1257. return &v.state
  1258. case 1:
  1259. return &v.sizeCache
  1260. case 2:
  1261. return &v.unknownFields
  1262. default:
  1263. return nil
  1264. }
  1265. }
  1266. file_backend_operation_system_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1267. switch v := v.(*IsShowSystemMenuRequest); i {
  1268. case 0:
  1269. return &v.state
  1270. case 1:
  1271. return &v.sizeCache
  1272. case 2:
  1273. return &v.unknownFields
  1274. default:
  1275. return nil
  1276. }
  1277. }
  1278. file_backend_operation_system_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1279. switch v := v.(*SearchMenuRequest); i {
  1280. case 0:
  1281. return &v.state
  1282. case 1:
  1283. return &v.sizeCache
  1284. case 2:
  1285. return &v.unknownFields
  1286. default:
  1287. return nil
  1288. }
  1289. }
  1290. file_backend_operation_system_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1291. switch v := v.(*SearchMenuResponse); i {
  1292. case 0:
  1293. return &v.state
  1294. case 1:
  1295. return &v.sizeCache
  1296. case 2:
  1297. return &v.unknownFields
  1298. default:
  1299. return nil
  1300. }
  1301. }
  1302. }
  1303. type x struct{}
  1304. out := protoimpl.TypeBuilder{
  1305. File: protoimpl.DescBuilder{
  1306. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1307. RawDescriptor: file_backend_operation_system_proto_rawDesc,
  1308. NumEnums: 0,
  1309. NumMessages: 14,
  1310. NumExtensions: 0,
  1311. NumServices: 0,
  1312. },
  1313. GoTypes: file_backend_operation_system_proto_goTypes,
  1314. DependencyIndexes: file_backend_operation_system_proto_depIdxs,
  1315. MessageInfos: file_backend_operation_system_proto_msgTypes,
  1316. }.Build()
  1317. File_backend_operation_system_proto = out.File
  1318. file_backend_operation_system_proto_rawDesc = nil
  1319. file_backend_operation_system_proto_goTypes = nil
  1320. file_backend_operation_system_proto_depIdxs = nil
  1321. }