// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v4.24.0 // source: product.proto package product 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 GetProductInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ProductId string `protobuf:"bytes,1,opt,name=ProductId,proto3" json:"ProductId,omitempty"` //产品id } func (x *GetProductInfoRequest) Reset() { *x = GetProductInfoRequest{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetProductInfoRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProductInfoRequest) ProtoMessage() {} func (x *GetProductInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_product_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 GetProductInfoRequest.ProtoReflect.Descriptor instead. func (*GetProductInfoRequest) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{0} } func (x *GetProductInfoRequest) GetProductId() string { if x != nil { return x.ProductId } return "" } type GetProductInfoResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` Data *Product `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` } func (x *GetProductInfoResponse) Reset() { *x = GetProductInfoResponse{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetProductInfoResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProductInfoResponse) ProtoMessage() {} func (x *GetProductInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_product_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 GetProductInfoResponse.ProtoReflect.Descriptor instead. func (*GetProductInfoResponse) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{1} } func (x *GetProductInfoResponse) GetCode() int32 { if x != nil { return x.Code } return 0 } func (x *GetProductInfoResponse) GetMsg() string { if x != nil { return x.Msg } return "" } func (x *GetProductInfoResponse) GetData() *Product { if x != nil { return x.Data } return nil } type Product struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Number string `protobuf:"bytes,1,opt,name=Number,proto3" json:"Number,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Unit string `protobuf:"bytes,3,opt,name=Unit,proto3" json:"Unit,omitempty"` IsSale bool `protobuf:"varint,4,opt,name=IsSale,proto3" json:"IsSale,omitempty"` //是否销售 SalePrice float64 `protobuf:"fixed64,5,opt,name=SalePrice,proto3" json:"SalePrice,omitempty"` //销售价格 Amount float32 `protobuf:"fixed32,6,opt,name=Amount,proto3" json:"Amount,omitempty"` //库存剩余量 MinInventory int32 `protobuf:"varint,7,opt,name=MinInventory,proto3" json:"MinInventory,omitempty"` //安全库存 MaxInventory int32 `protobuf:"varint,8,opt,name=MaxInventory,proto3" json:"MaxInventory,omitempty"` // 最大库存 MaterialMode string `protobuf:"bytes,9,opt,name=MaterialMode,proto3" json:"MaterialMode,omitempty"` //物料类型 PurchaseType string `protobuf:"bytes,10,opt,name=PurchaseType,proto3" json:"PurchaseType,omitempty"` //采购类型 Node string `protobuf:"bytes,11,opt,name=Node,proto3" json:"Node,omitempty"` // 备注 Type string `protobuf:"bytes,12,opt,name=Type,proto3" json:"Type,omitempty"` // 型号 Specs string `protobuf:"bytes,13,opt,name=Specs,proto3" json:"Specs,omitempty"` // 规格 } func (x *Product) Reset() { *x = Product{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Product) String() string { return protoimpl.X.MessageStringOf(x) } func (*Product) ProtoMessage() {} func (x *Product) ProtoReflect() protoreflect.Message { mi := &file_product_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 Product.ProtoReflect.Descriptor instead. func (*Product) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{2} } func (x *Product) GetNumber() string { if x != nil { return x.Number } return "" } func (x *Product) GetName() string { if x != nil { return x.Name } return "" } func (x *Product) GetUnit() string { if x != nil { return x.Unit } return "" } func (x *Product) GetIsSale() bool { if x != nil { return x.IsSale } return false } func (x *Product) GetSalePrice() float64 { if x != nil { return x.SalePrice } return 0 } func (x *Product) GetAmount() float32 { if x != nil { return x.Amount } return 0 } func (x *Product) GetMinInventory() int32 { if x != nil { return x.MinInventory } return 0 } func (x *Product) GetMaxInventory() int32 { if x != nil { return x.MaxInventory } return 0 } func (x *Product) GetMaterialMode() string { if x != nil { return x.MaterialMode } return "" } func (x *Product) GetPurchaseType() string { if x != nil { return x.PurchaseType } return "" } func (x *Product) GetNode() string { if x != nil { return x.Node } return "" } func (x *Product) GetType() string { if x != nil { return x.Type } return "" } func (x *Product) GetSpecs() string { if x != nil { return x.Specs } return "" } type GetProductListRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` ProductNumber string `protobuf:"bytes,3,opt,name=ProductNumber,proto3" json:"ProductNumber,omitempty"` ProductName string `protobuf:"bytes,4,opt,name=ProductName,proto3" json:"ProductName,omitempty"` } func (x *GetProductListRequest) Reset() { *x = GetProductListRequest{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetProductListRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProductListRequest) ProtoMessage() {} func (x *GetProductListRequest) ProtoReflect() protoreflect.Message { mi := &file_product_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 GetProductListRequest.ProtoReflect.Descriptor instead. func (*GetProductListRequest) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{3} } func (x *GetProductListRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetProductListRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *GetProductListRequest) GetProductNumber() string { if x != nil { return x.ProductNumber } return "" } func (x *GetProductListRequest) GetProductName() string { if x != nil { return x.ProductName } return "" } type GetProductListResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code int32 `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` List []*Product `protobuf:"bytes,3,rep,name=List,proto3" json:"List,omitempty"` Total int64 `protobuf:"varint,4,opt,name=Total,proto3" json:"Total,omitempty"` } func (x *GetProductListResponse) Reset() { *x = GetProductListResponse{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetProductListResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProductListResponse) ProtoMessage() {} func (x *GetProductListResponse) ProtoReflect() protoreflect.Message { mi := &file_product_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 GetProductListResponse.ProtoReflect.Descriptor instead. func (*GetProductListResponse) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{4} } func (x *GetProductListResponse) GetCode() int32 { if x != nil { return x.Code } return 0 } func (x *GetProductListResponse) GetMsg() string { if x != nil { return x.Msg } return "" } func (x *GetProductListResponse) GetList() []*Product { if x != nil { return x.List } return nil } func (x *GetProductListResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } type GetProductOrderRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields SalesDetailsNumber string `protobuf:"bytes,1,opt,name=SalesDetailsNumber,proto3" json:"SalesDetailsNumber,omitempty"` } func (x *GetProductOrderRequest) Reset() { *x = GetProductOrderRequest{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetProductOrderRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProductOrderRequest) ProtoMessage() {} func (x *GetProductOrderRequest) ProtoReflect() protoreflect.Message { mi := &file_product_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 GetProductOrderRequest.ProtoReflect.Descriptor instead. func (*GetProductOrderRequest) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{5} } func (x *GetProductOrderRequest) GetSalesDetailsNumber() string { if x != nil { return x.SalesDetailsNumber } return "" } type WorkOrderInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields OrderId string `protobuf:"bytes,1,opt,name=OrderId,proto3" json:"OrderId,omitempty"` ProductName string `protobuf:"bytes,2,opt,name=ProductName,proto3" json:"ProductName,omitempty"` OrderStatus string `protobuf:"bytes,3,opt,name=OrderStatus,proto3" json:"OrderStatus,omitempty"` WorkOrderId string `protobuf:"bytes,4,opt,name=WorkOrderId,proto3" json:"WorkOrderId,omitempty"` WorkOrderStatus string `protobuf:"bytes,5,opt,name=WorkOrderStatus,proto3" json:"WorkOrderStatus,omitempty"` StartTime string `protobuf:"bytes,6,opt,name=StartTime,proto3" json:"StartTime,omitempty"` EndTime string `protobuf:"bytes,7,opt,name=EndTime,proto3" json:"EndTime,omitempty"` ProductId string `protobuf:"bytes,8,opt,name=ProductId,proto3" json:"ProductId,omitempty"` Specs string `protobuf:"bytes,9,opt,name=Specs,proto3" json:"Specs,omitempty"` //物料规格 Unit string `protobuf:"bytes,10,opt,name=Unit,proto3" json:"Unit,omitempty"` //单位 Amount int64 `protobuf:"varint,11,opt,name=Amount,proto3" json:"Amount,omitempty"` //订单数量 FinishAmount int64 `protobuf:"varint,12,opt,name=FinishAmount,proto3" json:"FinishAmount,omitempty"` //完成数量 } func (x *WorkOrderInfo) Reset() { *x = WorkOrderInfo{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WorkOrderInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*WorkOrderInfo) ProtoMessage() {} func (x *WorkOrderInfo) ProtoReflect() protoreflect.Message { mi := &file_product_proto_msgTypes[6] 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 WorkOrderInfo.ProtoReflect.Descriptor instead. func (*WorkOrderInfo) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{6} } func (x *WorkOrderInfo) GetOrderId() string { if x != nil { return x.OrderId } return "" } func (x *WorkOrderInfo) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *WorkOrderInfo) GetOrderStatus() string { if x != nil { return x.OrderStatus } return "" } func (x *WorkOrderInfo) GetWorkOrderId() string { if x != nil { return x.WorkOrderId } return "" } func (x *WorkOrderInfo) GetWorkOrderStatus() string { if x != nil { return x.WorkOrderStatus } return "" } func (x *WorkOrderInfo) GetStartTime() string { if x != nil { return x.StartTime } return "" } func (x *WorkOrderInfo) GetEndTime() string { if x != nil { return x.EndTime } return "" } func (x *WorkOrderInfo) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *WorkOrderInfo) GetSpecs() string { if x != nil { return x.Specs } return "" } func (x *WorkOrderInfo) GetUnit() string { if x != nil { return x.Unit } return "" } func (x *WorkOrderInfo) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *WorkOrderInfo) GetFinishAmount() int64 { if x != nil { return x.FinishAmount } return 0 } type CrmGetPurchaseInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields PurchaseNumber string `protobuf:"bytes,1,opt,name=PurchaseNumber,proto3" json:"PurchaseNumber,omitempty"` PurchaseName string `protobuf:"bytes,2,opt,name=PurchaseName,proto3" json:"PurchaseName,omitempty"` SupplierName string `protobuf:"bytes,3,opt,name=SupplierName,proto3" json:"SupplierName,omitempty"` Amount int64 `protobuf:"varint,4,opt,name=Amount,proto3" json:"Amount,omitempty"` //订单数量 Status int64 `protobuf:"varint,5,opt,name=Status,proto3" json:"Status,omitempty"` ProductName string `protobuf:"bytes,6,opt,name=ProductName,proto3" json:"ProductName,omitempty"` ProductId string `protobuf:"bytes,7,opt,name=ProductId,proto3" json:"ProductId,omitempty"` Specs string `protobuf:"bytes,8,opt,name=Specs,proto3" json:"Specs,omitempty"` //物料规格 Unit string `protobuf:"bytes,9,opt,name=Unit,proto3" json:"Unit,omitempty"` //单位 FinishAmount int64 `protobuf:"varint,10,opt,name=FinishAmount,proto3" json:"FinishAmount,omitempty"` //完成数量 } func (x *CrmGetPurchaseInfo) Reset() { *x = CrmGetPurchaseInfo{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CrmGetPurchaseInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*CrmGetPurchaseInfo) ProtoMessage() {} func (x *CrmGetPurchaseInfo) ProtoReflect() protoreflect.Message { mi := &file_product_proto_msgTypes[7] 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 CrmGetPurchaseInfo.ProtoReflect.Descriptor instead. func (*CrmGetPurchaseInfo) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{7} } func (x *CrmGetPurchaseInfo) GetPurchaseNumber() string { if x != nil { return x.PurchaseNumber } return "" } func (x *CrmGetPurchaseInfo) GetPurchaseName() string { if x != nil { return x.PurchaseName } return "" } func (x *CrmGetPurchaseInfo) GetSupplierName() string { if x != nil { return x.SupplierName } return "" } func (x *CrmGetPurchaseInfo) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *CrmGetPurchaseInfo) GetStatus() int64 { if x != nil { return x.Status } return 0 } func (x *CrmGetPurchaseInfo) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *CrmGetPurchaseInfo) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *CrmGetPurchaseInfo) GetSpecs() string { if x != nil { return x.Specs } return "" } func (x *CrmGetPurchaseInfo) GetUnit() string { if x != nil { return x.Unit } return "" } func (x *CrmGetPurchaseInfo) GetFinishAmount() int64 { if x != nil { return x.FinishAmount } return 0 } type OutsourcingInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields OutsourcingId string `protobuf:"bytes,1,opt,name=OutsourcingId,proto3" json:"OutsourcingId,omitempty"` ProductName string `protobuf:"bytes,2,opt,name=ProductName,proto3" json:"ProductName,omitempty"` OutsourcingStatus string `protobuf:"bytes,3,opt,name=OutsourcingStatus,proto3" json:"OutsourcingStatus,omitempty"` SupplierName string `protobuf:"bytes,4,opt,name=SupplierName,proto3" json:"SupplierName,omitempty"` StartTime string `protobuf:"bytes,5,opt,name=StartTime,proto3" json:"StartTime,omitempty"` EndTime string `protobuf:"bytes,6,opt,name=EndTime,proto3" json:"EndTime,omitempty"` ProductId string `protobuf:"bytes,7,opt,name=ProductId,proto3" json:"ProductId,omitempty"` Specs string `protobuf:"bytes,8,opt,name=Specs,proto3" json:"Specs,omitempty"` //物料规格 Unit string `protobuf:"bytes,9,opt,name=Unit,proto3" json:"Unit,omitempty"` //单位 Amount int64 `protobuf:"varint,10,opt,name=Amount,proto3" json:"Amount,omitempty"` //订单数量 FinishAmount int64 `protobuf:"varint,11,opt,name=FinishAmount,proto3" json:"FinishAmount,omitempty"` //完成数量 } func (x *OutsourcingInfo) Reset() { *x = OutsourcingInfo{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OutsourcingInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*OutsourcingInfo) ProtoMessage() {} func (x *OutsourcingInfo) ProtoReflect() protoreflect.Message { mi := &file_product_proto_msgTypes[8] 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 OutsourcingInfo.ProtoReflect.Descriptor instead. func (*OutsourcingInfo) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{8} } func (x *OutsourcingInfo) GetOutsourcingId() string { if x != nil { return x.OutsourcingId } return "" } func (x *OutsourcingInfo) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *OutsourcingInfo) GetOutsourcingStatus() string { if x != nil { return x.OutsourcingStatus } return "" } func (x *OutsourcingInfo) GetSupplierName() string { if x != nil { return x.SupplierName } return "" } func (x *OutsourcingInfo) GetStartTime() string { if x != nil { return x.StartTime } return "" } func (x *OutsourcingInfo) GetEndTime() string { if x != nil { return x.EndTime } return "" } func (x *OutsourcingInfo) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *OutsourcingInfo) GetSpecs() string { if x != nil { return x.Specs } return "" } func (x *OutsourcingInfo) GetUnit() string { if x != nil { return x.Unit } return "" } func (x *OutsourcingInfo) GetAmount() int64 { if x != nil { return x.Amount } return 0 } func (x *OutsourcingInfo) GetFinishAmount() int64 { if x != nil { return x.FinishAmount } return 0 } type GetProductOrderResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields List []*WorkOrderInfo `protobuf:"bytes,1,rep,name=List,proto3" json:"List,omitempty"` //制造信息 PurchaseList []*CrmGetPurchaseInfo `protobuf:"bytes,2,rep,name=PurchaseList,proto3" json:"PurchaseList,omitempty"` //采购信息 OutsourcingList []*OutsourcingInfo `protobuf:"bytes,3,rep,name=OutsourcingList,proto3" json:"OutsourcingList,omitempty"` //委外信息 } func (x *GetProductOrderResponse) Reset() { *x = GetProductOrderResponse{} if protoimpl.UnsafeEnabled { mi := &file_product_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetProductOrderResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProductOrderResponse) ProtoMessage() {} func (x *GetProductOrderResponse) ProtoReflect() protoreflect.Message { mi := &file_product_proto_msgTypes[9] 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 GetProductOrderResponse.ProtoReflect.Descriptor instead. func (*GetProductOrderResponse) Descriptor() ([]byte, []int) { return file_product_proto_rawDescGZIP(), []int{9} } func (x *GetProductOrderResponse) GetList() []*WorkOrderInfo { if x != nil { return x.List } return nil } func (x *GetProductOrderResponse) GetPurchaseList() []*CrmGetPurchaseInfo { if x != nil { return x.PurchaseList } return nil } func (x *GetProductOrderResponse) GetOutsourcingList() []*OutsourcingInfo { if x != nil { return x.OutsourcingList } return nil } var File_product_proto protoreflect.FileDescriptor var file_product_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x1c, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x22, 0xe5, 0x02, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x61, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x53, 0x61, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x53, 0x61, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x4d, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x78, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x4d, 0x61, 0x78, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 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, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x72, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x1c, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x48, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xf5, 0x02, 0x0a, 0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x57, 0x6f, 0x72, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x57, 0x6f, 0x72, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc2, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x26, 0x0a, 0x0e, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xe7, 0x02, 0x0a, 0x0f, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb2, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0f, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x32, 0xe2, 0x01, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_product_proto_rawDescOnce sync.Once file_product_proto_rawDescData = file_product_proto_rawDesc ) func file_product_proto_rawDescGZIP() []byte { file_product_proto_rawDescOnce.Do(func() { file_product_proto_rawDescData = protoimpl.X.CompressGZIP(file_product_proto_rawDescData) }) return file_product_proto_rawDescData } var file_product_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_product_proto_goTypes = []interface{}{ (*GetProductInfoRequest)(nil), // 0: GetProductInfoRequest (*GetProductInfoResponse)(nil), // 1: GetProductInfoResponse (*Product)(nil), // 2: Product (*GetProductListRequest)(nil), // 3: GetProductListRequest (*GetProductListResponse)(nil), // 4: GetProductListResponse (*GetProductOrderRequest)(nil), // 5: GetProductOrderRequest (*WorkOrderInfo)(nil), // 6: WorkOrderInfo (*CrmGetPurchaseInfo)(nil), // 7: CrmGetPurchaseInfo (*OutsourcingInfo)(nil), // 8: OutsourcingInfo (*GetProductOrderResponse)(nil), // 9: GetProductOrderResponse } var file_product_proto_depIdxs = []int32{ 2, // 0: GetProductInfoResponse.Data:type_name -> Product 2, // 1: GetProductListResponse.List:type_name -> Product 6, // 2: GetProductOrderResponse.List:type_name -> WorkOrderInfo 7, // 3: GetProductOrderResponse.PurchaseList:type_name -> CrmGetPurchaseInfo 8, // 4: GetProductOrderResponse.OutsourcingList:type_name -> OutsourcingInfo 0, // 5: productService.GetProductInfo:input_type -> GetProductInfoRequest 3, // 6: productService.GetProductList:input_type -> GetProductListRequest 5, // 7: productService.GetProductOrder:input_type -> GetProductOrderRequest 1, // 8: productService.GetProductInfo:output_type -> GetProductInfoResponse 4, // 9: productService.GetProductList:output_type -> GetProductListResponse 9, // 10: productService.GetProductOrder:output_type -> GetProductOrderResponse 8, // [8:11] is the sub-list for method output_type 5, // [5:8] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name 5, // [5:5] is the sub-list for extension extendee 0, // [0:5] is the sub-list for field type_name } func init() { file_product_proto_init() } func file_product_proto_init() { if File_product_proto != nil { return } if !protoimpl.UnsafeEnabled { file_product_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetProductInfoRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetProductInfoResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Product); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetProductListRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetProductListResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetProductOrderRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WorkOrderInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CrmGetPurchaseInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OutsourcingInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_product_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetProductOrderResponse); 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_product_proto_rawDesc, NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, GoTypes: file_product_proto_goTypes, DependencyIndexes: file_product_proto_depIdxs, MessageInfos: file_product_proto_msgTypes, }.Build() File_product_proto = out.File file_product_proto_rawDesc = nil file_product_proto_goTypes = nil file_product_proto_depIdxs = nil }