// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 // protoc v3.21.9 // source: backend/operation/system.proto package operationPb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // 用户权限 type AddRoleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 角色名称 Remarks string `protobuf:"bytes,3,opt,name=remarks,proto3" json:"remarks,omitempty"` // 角色备注 IsShow *IsShow `protobuf:"bytes,4,opt,name=is_show,json=isShow,proto3" json:"is_show,omitempty"` // 是否启用 } func (x *AddRoleRequest) Reset() { *x = AddRoleRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_operation_system_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AddRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddRoleRequest) ProtoMessage() {} func (x *AddRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_operation_system_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead. func (*AddRoleRequest) Descriptor() ([]byte, []int) { return file_backend_operation_system_proto_rawDescGZIP(), []int{0} } func (x *AddRoleRequest) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *AddRoleRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *AddRoleRequest) GetRemarks() string { if x != nil { return x.Remarks } return "" } func (x *AddRoleRequest) GetIsShow() *IsShow { if x != nil { return x.IsShow } return nil } type SearchRoleRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 第几页,从1开始 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页size,一般为20 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 角色名称 } func (x *SearchRoleRequest) Reset() { *x = SearchRoleRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_operation_system_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SearchRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchRoleRequest) ProtoMessage() {} func (x *SearchRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_operation_system_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SearchRoleRequest.ProtoReflect.Descriptor instead. func (*SearchRoleRequest) Descriptor() ([]byte, []int) { return file_backend_operation_system_proto_rawDescGZIP(), []int{1} } func (x *SearchRoleRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *SearchRoleRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *SearchRoleRequest) GetName() string { if x != nil { return x.Name } return "" } type SearchRoleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` List []*AddRoleRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` } func (x *SearchRoleResponse) Reset() { *x = SearchRoleResponse{} if protoimpl.UnsafeEnabled { mi := &file_backend_operation_system_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SearchRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchRoleResponse) ProtoMessage() {} func (x *SearchRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_backend_operation_system_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SearchRoleResponse.ProtoReflect.Descriptor instead. func (*SearchRoleResponse) Descriptor() ([]byte, []int) { return file_backend_operation_system_proto_rawDescGZIP(), []int{2} } func (x *SearchRoleResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *SearchRoleResponse) GetTotal() int32 { if x != nil { return x.Total } return 0 } func (x *SearchRoleResponse) GetList() []*AddRoleRequest { if x != nil { return x.List } return nil } type AddMenuRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } func (x *AddMenuRequest) Reset() { *x = AddMenuRequest{} if protoimpl.UnsafeEnabled { mi := &file_backend_operation_system_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AddMenuRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddMenuRequest) ProtoMessage() {} func (x *AddMenuRequest) ProtoReflect() protoreflect.Message { mi := &file_backend_operation_system_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead. func (*AddMenuRequest) Descriptor() ([]byte, []int) { return file_backend_operation_system_proto_rawDescGZIP(), []int{3} } func (x *AddMenuRequest) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *AddMenuRequest) GetName() string { if x != nil { return x.Name } return "" } // 用户token type SystemToken struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` } func (x *SystemToken) Reset() { *x = SystemToken{} if protoimpl.UnsafeEnabled { mi := &file_backend_operation_system_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SystemToken) String() string { return protoimpl.X.MessageStringOf(x) } func (*SystemToken) ProtoMessage() {} func (x *SystemToken) ProtoReflect() protoreflect.Message { mi := &file_backend_operation_system_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SystemToken.ProtoReflect.Descriptor instead. func (*SystemToken) Descriptor() ([]byte, []int) { return file_backend_operation_system_proto_rawDescGZIP(), []int{4} } func (x *SystemToken) GetToken() string { if x != nil { return x.Token } return "" } type UserAuth struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // 用户名称 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 用户密码 Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号 RoleId int64 `protobuf:"varint,4,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // 用户角色id RoleName string `protobuf:"bytes,5,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // 用户角色名称 } func (x *UserAuth) Reset() { *x = UserAuth{} if protoimpl.UnsafeEnabled { mi := &file_backend_operation_system_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UserAuth) String() string { return protoimpl.X.MessageStringOf(x) } func (*UserAuth) ProtoMessage() {} func (x *UserAuth) ProtoReflect() protoreflect.Message { mi := &file_backend_operation_system_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UserAuth.ProtoReflect.Descriptor instead. func (*UserAuth) Descriptor() ([]byte, []int) { return file_backend_operation_system_proto_rawDescGZIP(), []int{5} } func (x *UserAuth) GetUserName() string { if x != nil { return x.UserName } return "" } func (x *UserAuth) GetPassword() string { if x != nil { return x.Password } return "" } func (x *UserAuth) GetPhone() string { if x != nil { return x.Phone } return "" } func (x *UserAuth) GetRoleId() int64 { if x != nil { return x.RoleId } return 0 } func (x *UserAuth) GetRoleName() string { if x != nil { return x.RoleName } return "" } var File_backend_operation_system_proto protoreflect.FileDescriptor var file_backend_operation_system_proto_rawDesc = []byte{ 0x0a, 0x1e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x58, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x75, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x34, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6e, 0x75, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x23, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_backend_operation_system_proto_rawDescOnce sync.Once file_backend_operation_system_proto_rawDescData = file_backend_operation_system_proto_rawDesc ) func file_backend_operation_system_proto_rawDescGZIP() []byte { file_backend_operation_system_proto_rawDescOnce.Do(func() { file_backend_operation_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_system_proto_rawDescData) }) return file_backend_operation_system_proto_rawDescData } var file_backend_operation_system_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_backend_operation_system_proto_goTypes = []interface{}{ (*AddRoleRequest)(nil), // 0: backend.operation.AddRoleRequest (*SearchRoleRequest)(nil), // 1: backend.operation.SearchRoleRequest (*SearchRoleResponse)(nil), // 2: backend.operation.SearchRoleResponse (*AddMenuRequest)(nil), // 3: backend.operation.AddMenuRequest (*SystemToken)(nil), // 4: backend.operation.SystemToken (*UserAuth)(nil), // 5: backend.operation.UserAuth (*IsShow)(nil), // 6: backend.operation.IsShow } var file_backend_operation_system_proto_depIdxs = []int32{ 6, // 0: backend.operation.AddRoleRequest.is_show:type_name -> backend.operation.IsShow 0, // 1: backend.operation.SearchRoleResponse.list:type_name -> backend.operation.AddRoleRequest 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_backend_operation_system_proto_init() } func file_backend_operation_system_proto_init() { if File_backend_operation_system_proto != nil { return } file_backend_operation_enum_proto_init() if !protoimpl.UnsafeEnabled { file_backend_operation_system_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddRoleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_operation_system_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchRoleRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_operation_system_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SearchRoleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_operation_system_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AddMenuRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_operation_system_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SystemToken); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_backend_operation_system_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UserAuth); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_backend_operation_system_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 0, }, GoTypes: file_backend_operation_system_proto_goTypes, DependencyIndexes: file_backend_operation_system_proto_depIdxs, MessageInfos: file_backend_operation_system_proto_msgTypes, }.Build() File_backend_operation_system_proto = out.File file_backend_operation_system_proto_rawDesc = nil file_backend_operation_system_proto_goTypes = nil file_backend_operation_system_proto_depIdxs = nil }