// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.21.0 // protoc v3.11.4 // source: BasePersonChargeWork.proto //在web层重新生成pb.go的方法 // //protoc -I Business/BasePersonChargeWork/BasePersonChargeWorkProto/ Business/BasePersonChargeWork/BasePersonChargeWorkProto/BasePersonChargeWork.proto --go_out=plugins=grpc:Business/BasePersonChargeWork/BasePersonChargeWorkProto package BasePersonChargeWorkProto import ( context "context" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" 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) ) // This is a compile-time assertion that a sufficiently up-to-date version // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 type ModelArg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields //主键 Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` //整数ID IdInt int32 `protobuf:"varint,2,opt,name=IdInt,proto3" json:"IdInt,omitempty"` //人员ID PersonId string `protobuf:"bytes,3,opt,name=PersonId,proto3" json:"PersonId,omitempty"` //单位ID BureauId string `protobuf:"bytes,4,opt,name=BureauId,proto3" json:"BureauId,omitempty"` //职务ID JobTitleId int32 `protobuf:"varint,5,opt,name=JobTitleId,proto3" json:"JobTitleId,omitempty"` //分管工作ID ChargeWorkId int32 `protobuf:"varint,6,opt,name=ChargeWorkId,proto3" json:"ChargeWorkId,omitempty"` //是否启用 0:未启用 1:启用 BUse int32 `protobuf:"varint,7,opt,name=BUse,proto3" json:"BUse,omitempty"` //最后修改时间 LastUpdatedTime string `protobuf:"bytes,8,opt,name=LastUpdatedTime,proto3" json:"LastUpdatedTime,omitempty"` //需要强制更新的列 ForceUpdateFields []string `protobuf:"bytes,9,rep,name=ForceUpdateFields,proto3" json:"ForceUpdateFields,omitempty"` } func (x *ModelArg) Reset() { *x = ModelArg{} if protoimpl.UnsafeEnabled { mi := &file_BasePersonChargeWork_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ModelArg) String() string { return protoimpl.X.MessageStringOf(x) } func (*ModelArg) ProtoMessage() {} func (x *ModelArg) ProtoReflect() protoreflect.Message { mi := &file_BasePersonChargeWork_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 ModelArg.ProtoReflect.Descriptor instead. func (*ModelArg) Descriptor() ([]byte, []int) { return file_BasePersonChargeWork_proto_rawDescGZIP(), []int{0} } func (x *ModelArg) GetId() string { if x != nil { return x.Id } return "" } func (x *ModelArg) GetIdInt() int32 { if x != nil { return x.IdInt } return 0 } func (x *ModelArg) GetPersonId() string { if x != nil { return x.PersonId } return "" } func (x *ModelArg) GetBureauId() string { if x != nil { return x.BureauId } return "" } func (x *ModelArg) GetJobTitleId() int32 { if x != nil { return x.JobTitleId } return 0 } func (x *ModelArg) GetChargeWorkId() int32 { if x != nil { return x.ChargeWorkId } return 0 } func (x *ModelArg) GetBUse() int32 { if x != nil { return x.BUse } return 0 } func (x *ModelArg) GetLastUpdatedTime() string { if x != nil { return x.LastUpdatedTime } return "" } func (x *ModelArg) GetForceUpdateFields() []string { if x != nil { return x.ForceUpdateFields } return nil } // 查询参数 type QueryArg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Page int32 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"Limit,omitempty"` } func (x *QueryArg) Reset() { *x = QueryArg{} if protoimpl.UnsafeEnabled { mi := &file_BasePersonChargeWork_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *QueryArg) String() string { return protoimpl.X.MessageStringOf(x) } func (*QueryArg) ProtoMessage() {} func (x *QueryArg) ProtoReflect() protoreflect.Message { mi := &file_BasePersonChargeWork_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 QueryArg.ProtoReflect.Descriptor instead. func (*QueryArg) Descriptor() ([]byte, []int) { return file_BasePersonChargeWork_proto_rawDescGZIP(), []int{1} } func (x *QueryArg) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *QueryArg) GetLimit() int32 { if x != nil { return x.Limit } return 0 } // 查询请求响应 type Reply struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` Count int32 `protobuf:"varint,3,opt,name=Count,proto3" json:"Count,omitempty"` List string `protobuf:"bytes,4,opt,name=List,proto3" json:"List,omitempty"` } func (x *Reply) Reset() { *x = Reply{} if protoimpl.UnsafeEnabled { mi := &file_BasePersonChargeWork_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Reply) String() string { return protoimpl.X.MessageStringOf(x) } func (*Reply) ProtoMessage() {} func (x *Reply) ProtoReflect() protoreflect.Message { mi := &file_BasePersonChargeWork_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 Reply.ProtoReflect.Descriptor instead. func (*Reply) Descriptor() ([]byte, []int) { return file_BasePersonChargeWork_proto_rawDescGZIP(), []int{2} } func (x *Reply) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *Reply) GetMessage() string { if x != nil { return x.Message } return "" } func (x *Reply) GetCount() int32 { if x != nil { return x.Count } return 0 } func (x *Reply) GetList() string { if x != nil { return x.List } return "" } var File_BasePersonChargeWork_proto protoreflect.FileDescriptor var file_BasePersonChargeWork_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x02, 0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x49, 0x64, 0x49, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x42, 0x75, 0x72, 0x65, 0x61, 0x75, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x4a, 0x6f, 0x62, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x4a, 0x6f, 0x62, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x42, 0x55, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x42, 0x55, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x34, 0x0a, 0x08, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x72, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x65, 0x0a, 0x05, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x32, 0x97, 0x04, 0x0a, 0x1a, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x23, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x23, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x23, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x23, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x18, 0x50, 0x61, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x23, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x72, 0x67, 0x1a, 0x20, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x50, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x73, 0x69, 0x64, 0x65, 0x61, 0x6c, 0x2e, 0x64, 0x73, 0x6d, 0x69, 0x6e, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x42, 0x14, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x01, 0x5a, 0x1b, 0x2e, 0x3b, 0x42, 0x61, 0x73, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x72, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_BasePersonChargeWork_proto_rawDescOnce sync.Once file_BasePersonChargeWork_proto_rawDescData = file_BasePersonChargeWork_proto_rawDesc ) func file_BasePersonChargeWork_proto_rawDescGZIP() []byte { file_BasePersonChargeWork_proto_rawDescOnce.Do(func() { file_BasePersonChargeWork_proto_rawDescData = protoimpl.X.CompressGZIP(file_BasePersonChargeWork_proto_rawDescData) }) return file_BasePersonChargeWork_proto_rawDescData } var file_BasePersonChargeWork_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_BasePersonChargeWork_proto_goTypes = []interface{}{ (*ModelArg)(nil), // 0: BasePersonChargeWorkProto.ModelArg (*QueryArg)(nil), // 1: BasePersonChargeWorkProto.QueryArg (*Reply)(nil), // 2: BasePersonChargeWorkProto.Reply } var file_BasePersonChargeWork_proto_depIdxs = []int32{ 0, // 0: BasePersonChargeWorkProto.BasePersonChargeWorkManage.GetBasePersonChargeWork:input_type -> BasePersonChargeWorkProto.ModelArg 0, // 1: BasePersonChargeWorkProto.BasePersonChargeWorkManage.AddBasePersonChargeWork:input_type -> BasePersonChargeWorkProto.ModelArg 0, // 2: BasePersonChargeWorkProto.BasePersonChargeWorkManage.DeleteBasePersonChargeWork:input_type -> BasePersonChargeWorkProto.ModelArg 0, // 3: BasePersonChargeWorkProto.BasePersonChargeWorkManage.UpdateBasePersonChargeWork:input_type -> BasePersonChargeWorkProto.ModelArg 1, // 4: BasePersonChargeWorkProto.BasePersonChargeWorkManage.PageBasePersonChargeWork:input_type -> BasePersonChargeWorkProto.QueryArg 2, // 5: BasePersonChargeWorkProto.BasePersonChargeWorkManage.GetBasePersonChargeWork:output_type -> BasePersonChargeWorkProto.Reply 2, // 6: BasePersonChargeWorkProto.BasePersonChargeWorkManage.AddBasePersonChargeWork:output_type -> BasePersonChargeWorkProto.Reply 2, // 7: BasePersonChargeWorkProto.BasePersonChargeWorkManage.DeleteBasePersonChargeWork:output_type -> BasePersonChargeWorkProto.Reply 2, // 8: BasePersonChargeWorkProto.BasePersonChargeWorkManage.UpdateBasePersonChargeWork:output_type -> BasePersonChargeWorkProto.Reply 2, // 9: BasePersonChargeWorkProto.BasePersonChargeWorkManage.PageBasePersonChargeWork:output_type -> BasePersonChargeWorkProto.Reply 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_BasePersonChargeWork_proto_init() } func file_BasePersonChargeWork_proto_init() { if File_BasePersonChargeWork_proto != nil { return } if !protoimpl.UnsafeEnabled { file_BasePersonChargeWork_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ModelArg); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_BasePersonChargeWork_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryArg); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_BasePersonChargeWork_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Reply); 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_BasePersonChargeWork_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 1, }, GoTypes: file_BasePersonChargeWork_proto_goTypes, DependencyIndexes: file_BasePersonChargeWork_proto_depIdxs, MessageInfos: file_BasePersonChargeWork_proto_msgTypes, }.Build() File_BasePersonChargeWork_proto = out.File file_BasePersonChargeWork_proto_rawDesc = nil file_BasePersonChargeWork_proto_goTypes = nil file_BasePersonChargeWork_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // BasePersonChargeWorkManageClient is the client API for BasePersonChargeWorkManage service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type BasePersonChargeWorkManageClient interface { //获取单条 GetBasePersonChargeWork(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) //增加 AddBasePersonChargeWork(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) //删除 DeleteBasePersonChargeWork(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) //修改 UpdateBasePersonChargeWork(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) //查询(分页) PageBasePersonChargeWork(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error) } type basePersonChargeWorkManageClient struct { cc grpc.ClientConnInterface } func NewBasePersonChargeWorkManageClient(cc grpc.ClientConnInterface) BasePersonChargeWorkManageClient { return &basePersonChargeWorkManageClient{cc} } func (c *basePersonChargeWorkManageClient) GetBasePersonChargeWork(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/GetBasePersonChargeWork", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *basePersonChargeWorkManageClient) AddBasePersonChargeWork(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/AddBasePersonChargeWork", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *basePersonChargeWorkManageClient) DeleteBasePersonChargeWork(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/DeleteBasePersonChargeWork", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *basePersonChargeWorkManageClient) UpdateBasePersonChargeWork(ctx context.Context, in *ModelArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/UpdateBasePersonChargeWork", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *basePersonChargeWorkManageClient) PageBasePersonChargeWork(ctx context.Context, in *QueryArg, opts ...grpc.CallOption) (*Reply, error) { out := new(Reply) err := c.cc.Invoke(ctx, "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/PageBasePersonChargeWork", in, out, opts...) if err != nil { return nil, err } return out, nil } // BasePersonChargeWorkManageServer is the server API for BasePersonChargeWorkManage service. type BasePersonChargeWorkManageServer interface { //获取单条 GetBasePersonChargeWork(context.Context, *ModelArg) (*Reply, error) //增加 AddBasePersonChargeWork(context.Context, *ModelArg) (*Reply, error) //删除 DeleteBasePersonChargeWork(context.Context, *ModelArg) (*Reply, error) //修改 UpdateBasePersonChargeWork(context.Context, *ModelArg) (*Reply, error) //查询(分页) PageBasePersonChargeWork(context.Context, *QueryArg) (*Reply, error) } // UnimplementedBasePersonChargeWorkManageServer can be embedded to have forward compatible implementations. type UnimplementedBasePersonChargeWorkManageServer struct { } func (*UnimplementedBasePersonChargeWorkManageServer) GetBasePersonChargeWork(context.Context, *ModelArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBasePersonChargeWork not implemented") } func (*UnimplementedBasePersonChargeWorkManageServer) AddBasePersonChargeWork(context.Context, *ModelArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method AddBasePersonChargeWork not implemented") } func (*UnimplementedBasePersonChargeWorkManageServer) DeleteBasePersonChargeWork(context.Context, *ModelArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteBasePersonChargeWork not implemented") } func (*UnimplementedBasePersonChargeWorkManageServer) UpdateBasePersonChargeWork(context.Context, *ModelArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateBasePersonChargeWork not implemented") } func (*UnimplementedBasePersonChargeWorkManageServer) PageBasePersonChargeWork(context.Context, *QueryArg) (*Reply, error) { return nil, status.Errorf(codes.Unimplemented, "method PageBasePersonChargeWork not implemented") } func RegisterBasePersonChargeWorkManageServer(s *grpc.Server, srv BasePersonChargeWorkManageServer) { s.RegisterService(&_BasePersonChargeWorkManage_serviceDesc, srv) } func _BasePersonChargeWorkManage_GetBasePersonChargeWork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ModelArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BasePersonChargeWorkManageServer).GetBasePersonChargeWork(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/GetBasePersonChargeWork", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BasePersonChargeWorkManageServer).GetBasePersonChargeWork(ctx, req.(*ModelArg)) } return interceptor(ctx, in, info, handler) } func _BasePersonChargeWorkManage_AddBasePersonChargeWork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ModelArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BasePersonChargeWorkManageServer).AddBasePersonChargeWork(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/AddBasePersonChargeWork", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BasePersonChargeWorkManageServer).AddBasePersonChargeWork(ctx, req.(*ModelArg)) } return interceptor(ctx, in, info, handler) } func _BasePersonChargeWorkManage_DeleteBasePersonChargeWork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ModelArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BasePersonChargeWorkManageServer).DeleteBasePersonChargeWork(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/DeleteBasePersonChargeWork", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BasePersonChargeWorkManageServer).DeleteBasePersonChargeWork(ctx, req.(*ModelArg)) } return interceptor(ctx, in, info, handler) } func _BasePersonChargeWorkManage_UpdateBasePersonChargeWork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ModelArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BasePersonChargeWorkManageServer).UpdateBasePersonChargeWork(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/UpdateBasePersonChargeWork", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BasePersonChargeWorkManageServer).UpdateBasePersonChargeWork(ctx, req.(*ModelArg)) } return interceptor(ctx, in, info, handler) } func _BasePersonChargeWorkManage_PageBasePersonChargeWork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryArg) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(BasePersonChargeWorkManageServer).PageBasePersonChargeWork(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/BasePersonChargeWorkProto.BasePersonChargeWorkManage/PageBasePersonChargeWork", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(BasePersonChargeWorkManageServer).PageBasePersonChargeWork(ctx, req.(*QueryArg)) } return interceptor(ctx, in, info, handler) } var _BasePersonChargeWorkManage_serviceDesc = grpc.ServiceDesc{ ServiceName: "BasePersonChargeWorkProto.BasePersonChargeWorkManage", HandlerType: (*BasePersonChargeWorkManageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBasePersonChargeWork", Handler: _BasePersonChargeWorkManage_GetBasePersonChargeWork_Handler, }, { MethodName: "AddBasePersonChargeWork", Handler: _BasePersonChargeWorkManage_AddBasePersonChargeWork_Handler, }, { MethodName: "DeleteBasePersonChargeWork", Handler: _BasePersonChargeWorkManage_DeleteBasePersonChargeWork_Handler, }, { MethodName: "UpdateBasePersonChargeWork", Handler: _BasePersonChargeWorkManage_UpdateBasePersonChargeWork_Handler, }, { MethodName: "PageBasePersonChargeWork", Handler: _BasePersonChargeWorkManage_PageBasePersonChargeWork_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "BasePersonChargeWork.proto", }