// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v5.29.3 // source: inventory.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 ProductInfo struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` ProductName string `protobuf:"bytes,2,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` ImageUrl string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` Spec string `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` SalesPrice string `protobuf:"bytes,6,opt,name=sales_price,json=salesPrice,proto3" json:"sales_price,omitempty"` Remark string `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"` Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ProductInfo) Reset() { *x = ProductInfo{} mi := &file_inventory_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ProductInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*ProductInfo) ProtoMessage() {} func (x *ProductInfo) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ProductInfo.ProtoReflect.Descriptor instead. func (*ProductInfo) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{0} } func (x *ProductInfo) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *ProductInfo) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *ProductInfo) GetImageUrl() string { if x != nil { return x.ImageUrl } return "" } func (x *ProductInfo) GetSpec() string { if x != nil { return x.Spec } return "" } func (x *ProductInfo) GetColor() string { if x != nil { return x.Color } return "" } func (x *ProductInfo) GetSalesPrice() string { if x != nil { return x.SalesPrice } return "" } func (x *ProductInfo) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *ProductInfo) GetStatus() int64 { if x != nil { return x.Status } return 0 } func (x *ProductInfo) GetCreatedAt() string { if x != nil { return x.CreatedAt } return "" } func (x *ProductInfo) GetUpdatedAt() string { if x != nil { return x.UpdatedAt } return "" } type CreateProductReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductName string `protobuf:"bytes,1,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` ImageUrl string `protobuf:"bytes,2,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` Spec string `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` SalesPrice string `protobuf:"bytes,5,opt,name=sales_price,json=salesPrice,proto3" json:"sales_price,omitempty"` Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"` Pans []*PanInput `protobuf:"bytes,7,rep,name=pans,proto3" json:"pans,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateProductReq) Reset() { *x = CreateProductReq{} mi := &file_inventory_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateProductReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateProductReq) ProtoMessage() {} func (x *CreateProductReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateProductReq.ProtoReflect.Descriptor instead. func (*CreateProductReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{1} } func (x *CreateProductReq) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *CreateProductReq) GetImageUrl() string { if x != nil { return x.ImageUrl } return "" } func (x *CreateProductReq) GetSpec() string { if x != nil { return x.Spec } return "" } func (x *CreateProductReq) GetColor() string { if x != nil { return x.Color } return "" } func (x *CreateProductReq) GetSalesPrice() string { if x != nil { return x.SalesPrice } return "" } func (x *CreateProductReq) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *CreateProductReq) GetPans() []*PanInput { if x != nil { return x.Pans } return nil } type UpdateProductReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` ProductName string `protobuf:"bytes,2,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` ImageUrl string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` Spec string `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` SalesPrice string `protobuf:"bytes,6,opt,name=sales_price,json=salesPrice,proto3" json:"sales_price,omitempty"` Remark string `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateProductReq) Reset() { *x = UpdateProductReq{} mi := &file_inventory_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateProductReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateProductReq) ProtoMessage() {} func (x *UpdateProductReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateProductReq.ProtoReflect.Descriptor instead. func (*UpdateProductReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{2} } func (x *UpdateProductReq) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *UpdateProductReq) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *UpdateProductReq) GetImageUrl() string { if x != nil { return x.ImageUrl } return "" } func (x *UpdateProductReq) GetSpec() string { if x != nil { return x.Spec } return "" } func (x *UpdateProductReq) GetColor() string { if x != nil { return x.Color } return "" } func (x *UpdateProductReq) GetSalesPrice() string { if x != nil { return x.SalesPrice } return "" } func (x *UpdateProductReq) GetRemark() string { if x != nil { return x.Remark } return "" } type DeleteProductReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteProductReq) Reset() { *x = DeleteProductReq{} mi := &file_inventory_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteProductReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteProductReq) ProtoMessage() {} func (x *DeleteProductReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteProductReq.ProtoReflect.Descriptor instead. func (*DeleteProductReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{3} } func (x *DeleteProductReq) GetProductId() string { if x != nil { return x.ProductId } return "" } type GetProductReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetProductReq) Reset() { *x = GetProductReq{} mi := &file_inventory_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetProductReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetProductReq) ProtoMessage() {} func (x *GetProductReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetProductReq.ProtoReflect.Descriptor instead. func (*GetProductReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{4} } func (x *GetProductReq) GetProductId() string { if x != nil { return x.ProductId } return "" } type ListProductReq struct { state protoimpl.MessageState `protogen:"open.v1"` Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` ProductName string `protobuf:"bytes,3,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` Spec string `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` Status int64 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListProductReq) Reset() { *x = ListProductReq{} mi := &file_inventory_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListProductReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListProductReq) ProtoMessage() {} func (x *ListProductReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListProductReq.ProtoReflect.Descriptor instead. func (*ListProductReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{5} } func (x *ListProductReq) GetPage() int64 { if x != nil { return x.Page } return 0 } func (x *ListProductReq) GetPageSize() int64 { if x != nil { return x.PageSize } return 0 } func (x *ListProductReq) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *ListProductReq) GetSpec() string { if x != nil { return x.Spec } return "" } func (x *ListProductReq) GetColor() string { if x != nil { return x.Color } return "" } func (x *ListProductReq) GetStatus() int64 { if x != nil { return x.Status } return 0 } type ListProductResp struct { state protoimpl.MessageState `protogen:"open.v1"` Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ProductInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListProductResp) Reset() { *x = ListProductResp{} mi := &file_inventory_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListProductResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListProductResp) ProtoMessage() {} func (x *ListProductResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListProductResp.ProtoReflect.Descriptor instead. func (*ListProductResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{6} } func (x *ListProductResp) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListProductResp) GetList() []*ProductInfo { if x != nil { return x.List } return nil } type PanInfo struct { state protoimpl.MessageState `protogen:"open.v1"` PanId string `protobuf:"bytes,1,opt,name=pan_id,json=panId,proto3" json:"pan_id,omitempty"` ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` SortOrder int64 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"` Bolts []*BoltInfo `protobuf:"bytes,6,rep,name=bolts,proto3" json:"bolts,omitempty"` BoltCount int64 `protobuf:"varint,7,opt,name=bolt_count,json=boltCount,proto3" json:"bolt_count,omitempty"` TotalLength string `protobuf:"bytes,8,opt,name=total_length,json=totalLength,proto3" json:"total_length,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PanInfo) Reset() { *x = PanInfo{} mi := &file_inventory_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PanInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*PanInfo) ProtoMessage() {} func (x *PanInfo) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PanInfo.ProtoReflect.Descriptor instead. func (*PanInfo) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{7} } func (x *PanInfo) GetPanId() string { if x != nil { return x.PanId } return "" } func (x *PanInfo) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *PanInfo) GetName() string { if x != nil { return x.Name } return "" } func (x *PanInfo) GetPosition() string { if x != nil { return x.Position } return "" } func (x *PanInfo) GetSortOrder() int64 { if x != nil { return x.SortOrder } return 0 } func (x *PanInfo) GetBolts() []*BoltInfo { if x != nil { return x.Bolts } return nil } func (x *PanInfo) GetBoltCount() int64 { if x != nil { return x.BoltCount } return 0 } func (x *PanInfo) GetTotalLength() string { if x != nil { return x.TotalLength } return "" } type PanInput struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Position string `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` BoltLengths []string `protobuf:"bytes,3,rep,name=bolt_lengths,json=boltLengths,proto3" json:"bolt_lengths,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PanInput) Reset() { *x = PanInput{} mi := &file_inventory_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PanInput) String() string { return protoimpl.X.MessageStringOf(x) } func (*PanInput) ProtoMessage() {} func (x *PanInput) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PanInput.ProtoReflect.Descriptor instead. func (*PanInput) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{8} } func (x *PanInput) GetName() string { if x != nil { return x.Name } return "" } func (x *PanInput) GetPosition() string { if x != nil { return x.Position } return "" } func (x *PanInput) GetBoltLengths() []string { if x != nil { return x.BoltLengths } return nil } type ListPanReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListPanReq) Reset() { *x = ListPanReq{} mi := &file_inventory_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListPanReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListPanReq) ProtoMessage() {} func (x *ListPanReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListPanReq.ProtoReflect.Descriptor instead. func (*ListPanReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{9} } func (x *ListPanReq) GetProductId() string { if x != nil { return x.ProductId } return "" } type ListPanResp struct { state protoimpl.MessageState `protogen:"open.v1"` List []*PanInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListPanResp) Reset() { *x = ListPanResp{} mi := &file_inventory_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListPanResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListPanResp) ProtoMessage() {} func (x *ListPanResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListPanResp.ProtoReflect.Descriptor instead. func (*ListPanResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{10} } func (x *ListPanResp) GetList() []*PanInfo { if x != nil { return x.List } return nil } type SavePansReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Pans []*PanInput `protobuf:"bytes,2,rep,name=pans,proto3" json:"pans,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SavePansReq) Reset() { *x = SavePansReq{} mi := &file_inventory_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SavePansReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SavePansReq) ProtoMessage() {} func (x *SavePansReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SavePansReq.ProtoReflect.Descriptor instead. func (*SavePansReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{11} } func (x *SavePansReq) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *SavePansReq) GetPans() []*PanInput { if x != nil { return x.Pans } return nil } type BoltInfo struct { state protoimpl.MessageState `protogen:"open.v1"` BoltId string `protobuf:"bytes,1,opt,name=bolt_id,json=boltId,proto3" json:"bolt_id,omitempty"` PanId string `protobuf:"bytes,2,opt,name=pan_id,json=panId,proto3" json:"pan_id,omitempty"` LengthM string `protobuf:"bytes,3,opt,name=length_m,json=lengthM,proto3" json:"length_m,omitempty"` SortOrder int64 `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BoltInfo) Reset() { *x = BoltInfo{} mi := &file_inventory_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BoltInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*BoltInfo) ProtoMessage() {} func (x *BoltInfo) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BoltInfo.ProtoReflect.Descriptor instead. func (*BoltInfo) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{12} } func (x *BoltInfo) GetBoltId() string { if x != nil { return x.BoltId } return "" } func (x *BoltInfo) GetPanId() string { if x != nil { return x.PanId } return "" } func (x *BoltInfo) GetLengthM() string { if x != nil { return x.LengthM } return "" } func (x *BoltInfo) GetSortOrder() int64 { if x != nil { return x.SortOrder } return 0 } type ListBoltReq struct { state protoimpl.MessageState `protogen:"open.v1"` PanId string `protobuf:"bytes,1,opt,name=pan_id,json=panId,proto3" json:"pan_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListBoltReq) Reset() { *x = ListBoltReq{} mi := &file_inventory_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListBoltReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListBoltReq) ProtoMessage() {} func (x *ListBoltReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListBoltReq.ProtoReflect.Descriptor instead. func (*ListBoltReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{13} } func (x *ListBoltReq) GetPanId() string { if x != nil { return x.PanId } return "" } type ListBoltResp struct { state protoimpl.MessageState `protogen:"open.v1"` List []*BoltInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListBoltResp) Reset() { *x = ListBoltResp{} mi := &file_inventory_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListBoltResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListBoltResp) ProtoMessage() {} func (x *ListBoltResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListBoltResp.ProtoReflect.Descriptor instead. func (*ListBoltResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{14} } func (x *ListBoltResp) GetList() []*BoltInfo { if x != nil { return x.List } return nil } type SaveBoltsReq struct { state protoimpl.MessageState `protogen:"open.v1"` PanId string `protobuf:"bytes,1,opt,name=pan_id,json=panId,proto3" json:"pan_id,omitempty"` Lengths []string `protobuf:"bytes,2,rep,name=lengths,proto3" json:"lengths,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SaveBoltsReq) Reset() { *x = SaveBoltsReq{} mi := &file_inventory_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SaveBoltsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*SaveBoltsReq) ProtoMessage() {} func (x *SaveBoltsReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SaveBoltsReq.ProtoReflect.Descriptor instead. func (*SaveBoltsReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{15} } func (x *SaveBoltsReq) GetPanId() string { if x != nil { return x.PanId } return "" } func (x *SaveBoltsReq) GetLengths() []string { if x != nil { return x.Lengths } return nil } type ProductTreeResp struct { state protoimpl.MessageState `protogen:"open.v1"` Product *ProductInfo `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` Pans []*PanInfo `protobuf:"bytes,2,rep,name=pans,proto3" json:"pans,omitempty"` TotalPanCount int64 `protobuf:"varint,3,opt,name=total_pan_count,json=totalPanCount,proto3" json:"total_pan_count,omitempty"` TotalBoltCount int64 `protobuf:"varint,4,opt,name=total_bolt_count,json=totalBoltCount,proto3" json:"total_bolt_count,omitempty"` TotalLengthM string `protobuf:"bytes,5,opt,name=total_length_m,json=totalLengthM,proto3" json:"total_length_m,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ProductTreeResp) Reset() { *x = ProductTreeResp{} mi := &file_inventory_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ProductTreeResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ProductTreeResp) ProtoMessage() {} func (x *ProductTreeResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ProductTreeResp.ProtoReflect.Descriptor instead. func (*ProductTreeResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{16} } func (x *ProductTreeResp) GetProduct() *ProductInfo { if x != nil { return x.Product } return nil } func (x *ProductTreeResp) GetPans() []*PanInfo { if x != nil { return x.Pans } return nil } func (x *ProductTreeResp) GetTotalPanCount() int64 { if x != nil { return x.TotalPanCount } return 0 } func (x *ProductTreeResp) GetTotalBoltCount() int64 { if x != nil { return x.TotalBoltCount } return 0 } func (x *ProductTreeResp) GetTotalLengthM() string { if x != nil { return x.TotalLengthM } return "" } type ProductSummaryItem struct { state protoimpl.MessageState `protogen:"open.v1"` ProductName string `protobuf:"bytes,1,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` Spec string `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` ColorCount int64 `protobuf:"varint,3,opt,name=color_count,json=colorCount,proto3" json:"color_count,omitempty"` TotalPanCount int64 `protobuf:"varint,4,opt,name=total_pan_count,json=totalPanCount,proto3" json:"total_pan_count,omitempty"` TotalBoltCount int64 `protobuf:"varint,5,opt,name=total_bolt_count,json=totalBoltCount,proto3" json:"total_bolt_count,omitempty"` TotalLengthM string `protobuf:"bytes,6,opt,name=total_length_m,json=totalLengthM,proto3" json:"total_length_m,omitempty"` Colors string `protobuf:"bytes,7,opt,name=colors,proto3" json:"colors,omitempty"` Locations string `protobuf:"bytes,8,opt,name=locations,proto3" json:"locations,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ProductSummaryItem) Reset() { *x = ProductSummaryItem{} mi := &file_inventory_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ProductSummaryItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ProductSummaryItem) ProtoMessage() {} func (x *ProductSummaryItem) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ProductSummaryItem.ProtoReflect.Descriptor instead. func (*ProductSummaryItem) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{17} } func (x *ProductSummaryItem) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *ProductSummaryItem) GetSpec() string { if x != nil { return x.Spec } return "" } func (x *ProductSummaryItem) GetColorCount() int64 { if x != nil { return x.ColorCount } return 0 } func (x *ProductSummaryItem) GetTotalPanCount() int64 { if x != nil { return x.TotalPanCount } return 0 } func (x *ProductSummaryItem) GetTotalBoltCount() int64 { if x != nil { return x.TotalBoltCount } return 0 } func (x *ProductSummaryItem) GetTotalLengthM() string { if x != nil { return x.TotalLengthM } return "" } func (x *ProductSummaryItem) GetColors() string { if x != nil { return x.Colors } return "" } func (x *ProductSummaryItem) GetLocations() string { if x != nil { return x.Locations } return "" } type ListProductSummaryReq struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListProductSummaryReq) Reset() { *x = ListProductSummaryReq{} mi := &file_inventory_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListProductSummaryReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListProductSummaryReq) ProtoMessage() {} func (x *ListProductSummaryReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListProductSummaryReq.ProtoReflect.Descriptor instead. func (*ListProductSummaryReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{18} } type ListProductSummaryResp struct { state protoimpl.MessageState `protogen:"open.v1"` List []*ProductSummaryItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListProductSummaryResp) Reset() { *x = ListProductSummaryResp{} mi := &file_inventory_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListProductSummaryResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListProductSummaryResp) ProtoMessage() {} func (x *ListProductSummaryResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListProductSummaryResp.ProtoReflect.Descriptor instead. func (*ListProductSummaryResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{19} } func (x *ListProductSummaryResp) GetList() []*ProductSummaryItem { if x != nil { return x.List } return nil } type ColorDetailItem struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` ProductName string `protobuf:"bytes,2,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` Spec string `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` ImageUrl string `protobuf:"bytes,5,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` PanCount int64 `protobuf:"varint,6,opt,name=pan_count,json=panCount,proto3" json:"pan_count,omitempty"` BoltCount int64 `protobuf:"varint,7,opt,name=bolt_count,json=boltCount,proto3" json:"bolt_count,omitempty"` TotalLengthM string `protobuf:"bytes,8,opt,name=total_length_m,json=totalLengthM,proto3" json:"total_length_m,omitempty"` Locations string `protobuf:"bytes,9,opt,name=locations,proto3" json:"locations,omitempty"` SalesPrice string `protobuf:"bytes,10,opt,name=sales_price,json=salesPrice,proto3" json:"sales_price,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ColorDetailItem) Reset() { *x = ColorDetailItem{} mi := &file_inventory_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ColorDetailItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ColorDetailItem) ProtoMessage() {} func (x *ColorDetailItem) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ColorDetailItem.ProtoReflect.Descriptor instead. func (*ColorDetailItem) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{20} } func (x *ColorDetailItem) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *ColorDetailItem) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *ColorDetailItem) GetColor() string { if x != nil { return x.Color } return "" } func (x *ColorDetailItem) GetSpec() string { if x != nil { return x.Spec } return "" } func (x *ColorDetailItem) GetImageUrl() string { if x != nil { return x.ImageUrl } return "" } func (x *ColorDetailItem) GetPanCount() int64 { if x != nil { return x.PanCount } return 0 } func (x *ColorDetailItem) GetBoltCount() int64 { if x != nil { return x.BoltCount } return 0 } func (x *ColorDetailItem) GetTotalLengthM() string { if x != nil { return x.TotalLengthM } return "" } func (x *ColorDetailItem) GetLocations() string { if x != nil { return x.Locations } return "" } func (x *ColorDetailItem) GetSalesPrice() string { if x != nil { return x.SalesPrice } return "" } type ListColorDetailReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductName string `protobuf:"bytes,1,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListColorDetailReq) Reset() { *x = ListColorDetailReq{} mi := &file_inventory_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListColorDetailReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListColorDetailReq) ProtoMessage() {} func (x *ListColorDetailReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListColorDetailReq.ProtoReflect.Descriptor instead. func (*ListColorDetailReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{21} } func (x *ListColorDetailReq) GetProductName() string { if x != nil { return x.ProductName } return "" } type ListColorDetailResp struct { state protoimpl.MessageState `protogen:"open.v1"` List []*ColorDetailItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListColorDetailResp) Reset() { *x = ListColorDetailResp{} mi := &file_inventory_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListColorDetailResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListColorDetailResp) ProtoMessage() {} func (x *ListColorDetailResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListColorDetailResp.ProtoReflect.Descriptor instead. func (*ListColorDetailResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{22} } func (x *ListColorDetailResp) GetList() []*ColorDetailItem { if x != nil { return x.List } return nil } type PanListItem struct { state protoimpl.MessageState `protogen:"open.v1"` PanId string `protobuf:"bytes,1,opt,name=pan_id,json=panId,proto3" json:"pan_id,omitempty"` ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` ProductName string `protobuf:"bytes,5,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` Colors string `protobuf:"bytes,6,opt,name=colors,proto3" json:"colors,omitempty"` // aggregated from bolt.color, no spec BoltCount int64 `protobuf:"varint,7,opt,name=bolt_count,json=boltCount,proto3" json:"bolt_count,omitempty"` TotalLengthM string `protobuf:"bytes,8,opt,name=total_length_m,json=totalLengthM,proto3" json:"total_length_m,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PanListItem) Reset() { *x = PanListItem{} mi := &file_inventory_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PanListItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*PanListItem) ProtoMessage() {} func (x *PanListItem) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PanListItem.ProtoReflect.Descriptor instead. func (*PanListItem) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{23} } func (x *PanListItem) GetPanId() string { if x != nil { return x.PanId } return "" } func (x *PanListItem) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *PanListItem) GetName() string { if x != nil { return x.Name } return "" } func (x *PanListItem) GetPosition() string { if x != nil { return x.Position } return "" } func (x *PanListItem) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *PanListItem) GetColors() string { if x != nil { return x.Colors } return "" } func (x *PanListItem) GetBoltCount() int64 { if x != nil { return x.BoltCount } return 0 } func (x *PanListItem) GetTotalLengthM() string { if x != nil { return x.TotalLengthM } return "" } type ListPanViewReq struct { state protoimpl.MessageState `protogen:"open.v1"` Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` ProductName string `protobuf:"bytes,3,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListPanViewReq) Reset() { *x = ListPanViewReq{} mi := &file_inventory_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListPanViewReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListPanViewReq) ProtoMessage() {} func (x *ListPanViewReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListPanViewReq.ProtoReflect.Descriptor instead. func (*ListPanViewReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{24} } func (x *ListPanViewReq) GetPage() int64 { if x != nil { return x.Page } return 0 } func (x *ListPanViewReq) GetPageSize() int64 { if x != nil { return x.PageSize } return 0 } func (x *ListPanViewReq) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *ListPanViewReq) GetPosition() string { if x != nil { return x.Position } return "" } type ListPanViewResp struct { state protoimpl.MessageState `protogen:"open.v1"` Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*PanListItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListPanViewResp) Reset() { *x = ListPanViewResp{} mi := &file_inventory_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListPanViewResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListPanViewResp) ProtoMessage() {} func (x *ListPanViewResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListPanViewResp.ProtoReflect.Descriptor instead. func (*ListPanViewResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{25} } func (x *ListPanViewResp) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListPanViewResp) GetList() []*PanListItem { if x != nil { return x.List } return nil } type BoltListItem struct { state protoimpl.MessageState `protogen:"open.v1"` BoltId string `protobuf:"bytes,1,opt,name=bolt_id,json=boltId,proto3" json:"bolt_id,omitempty"` PanId string `protobuf:"bytes,2,opt,name=pan_id,json=panId,proto3" json:"pan_id,omitempty"` LengthM string `protobuf:"bytes,3,opt,name=length_m,json=lengthM,proto3" json:"length_m,omitempty"` Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` // bolt's own color, no spec SortOrder int64 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"` PanName string `protobuf:"bytes,6,opt,name=pan_name,json=panName,proto3" json:"pan_name,omitempty"` Position string `protobuf:"bytes,7,opt,name=position,proto3" json:"position,omitempty"` ProductId string `protobuf:"bytes,8,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` ProductName string `protobuf:"bytes,9,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BoltListItem) Reset() { *x = BoltListItem{} mi := &file_inventory_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BoltListItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*BoltListItem) ProtoMessage() {} func (x *BoltListItem) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BoltListItem.ProtoReflect.Descriptor instead. func (*BoltListItem) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{26} } func (x *BoltListItem) GetBoltId() string { if x != nil { return x.BoltId } return "" } func (x *BoltListItem) GetPanId() string { if x != nil { return x.PanId } return "" } func (x *BoltListItem) GetLengthM() string { if x != nil { return x.LengthM } return "" } func (x *BoltListItem) GetColor() string { if x != nil { return x.Color } return "" } func (x *BoltListItem) GetSortOrder() int64 { if x != nil { return x.SortOrder } return 0 } func (x *BoltListItem) GetPanName() string { if x != nil { return x.PanName } return "" } func (x *BoltListItem) GetPosition() string { if x != nil { return x.Position } return "" } func (x *BoltListItem) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *BoltListItem) GetProductName() string { if x != nil { return x.ProductName } return "" } type ListBoltViewReq struct { state protoimpl.MessageState `protogen:"open.v1"` Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` ProductName string `protobuf:"bytes,3,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListBoltViewReq) Reset() { *x = ListBoltViewReq{} mi := &file_inventory_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListBoltViewReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListBoltViewReq) ProtoMessage() {} func (x *ListBoltViewReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListBoltViewReq.ProtoReflect.Descriptor instead. func (*ListBoltViewReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{27} } func (x *ListBoltViewReq) GetPage() int64 { if x != nil { return x.Page } return 0 } func (x *ListBoltViewReq) GetPageSize() int64 { if x != nil { return x.PageSize } return 0 } func (x *ListBoltViewReq) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *ListBoltViewReq) GetPosition() string { if x != nil { return x.Position } return "" } type ListBoltViewResp struct { state protoimpl.MessageState `protogen:"open.v1"` Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*BoltListItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListBoltViewResp) Reset() { *x = ListBoltViewResp{} mi := &file_inventory_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListBoltViewResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListBoltViewResp) ProtoMessage() {} func (x *ListBoltViewResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListBoltViewResp.ProtoReflect.Descriptor instead. func (*ListBoltViewResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{28} } func (x *ListBoltViewResp) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListBoltViewResp) GetList() []*BoltListItem { if x != nil { return x.List } return nil } type ImportProductReq struct { state protoimpl.MessageState `protogen:"open.v1"` Products []*CreateProductReq `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"` FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ImportProductReq) Reset() { *x = ImportProductReq{} mi := &file_inventory_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ImportProductReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ImportProductReq) ProtoMessage() {} func (x *ImportProductReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ImportProductReq.ProtoReflect.Descriptor instead. func (*ImportProductReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{29} } func (x *ImportProductReq) GetProducts() []*CreateProductReq { if x != nil { return x.Products } return nil } func (x *ImportProductReq) GetFileName() string { if x != nil { return x.FileName } return "" } func (x *ImportProductReq) GetOperator() string { if x != nil { return x.Operator } return "" } type ImportProductResp struct { state protoimpl.MessageState `protogen:"open.v1"` TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` SuccessCount int64 `protobuf:"varint,2,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` FailCount int64 `protobuf:"varint,3,opt,name=fail_count,json=failCount,proto3" json:"fail_count,omitempty"` ErrorMsg string `protobuf:"bytes,4,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` ImportId string `protobuf:"bytes,5,opt,name=import_id,json=importId,proto3" json:"import_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ImportProductResp) Reset() { *x = ImportProductResp{} mi := &file_inventory_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ImportProductResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ImportProductResp) ProtoMessage() {} func (x *ImportProductResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ImportProductResp.ProtoReflect.Descriptor instead. func (*ImportProductResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{30} } func (x *ImportProductResp) GetTotalCount() int64 { if x != nil { return x.TotalCount } return 0 } func (x *ImportProductResp) GetSuccessCount() int64 { if x != nil { return x.SuccessCount } return 0 } func (x *ImportProductResp) GetFailCount() int64 { if x != nil { return x.FailCount } return 0 } func (x *ImportProductResp) GetErrorMsg() string { if x != nil { return x.ErrorMsg } return "" } func (x *ImportProductResp) GetImportId() string { if x != nil { return x.ImportId } return "" } type ListImportLogReq struct { state protoimpl.MessageState `protogen:"open.v1"` Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListImportLogReq) Reset() { *x = ListImportLogReq{} mi := &file_inventory_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListImportLogReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListImportLogReq) ProtoMessage() {} func (x *ListImportLogReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListImportLogReq.ProtoReflect.Descriptor instead. func (*ListImportLogReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{31} } func (x *ListImportLogReq) GetPage() int64 { if x != nil { return x.Page } return 0 } func (x *ListImportLogReq) GetPageSize() int64 { if x != nil { return x.PageSize } return 0 } type ListImportLogResp struct { state protoimpl.MessageState `protogen:"open.v1"` Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*ImportLogInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListImportLogResp) Reset() { *x = ListImportLogResp{} mi := &file_inventory_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListImportLogResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListImportLogResp) ProtoMessage() {} func (x *ListImportLogResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListImportLogResp.ProtoReflect.Descriptor instead. func (*ListImportLogResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{32} } func (x *ListImportLogResp) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListImportLogResp) GetList() []*ImportLogInfo { if x != nil { return x.List } return nil } type ImportLogInfo struct { state protoimpl.MessageState `protogen:"open.v1"` ImportId string `protobuf:"bytes,1,opt,name=import_id,json=importId,proto3" json:"import_id,omitempty"` FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` TotalCount int64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` SuccessCount int64 `protobuf:"varint,4,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` FailCount int64 `protobuf:"varint,5,opt,name=fail_count,json=failCount,proto3" json:"fail_count,omitempty"` ErrorMsg string `protobuf:"bytes,6,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ImportLogInfo) Reset() { *x = ImportLogInfo{} mi := &file_inventory_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ImportLogInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*ImportLogInfo) ProtoMessage() {} func (x *ImportLogInfo) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ImportLogInfo.ProtoReflect.Descriptor instead. func (*ImportLogInfo) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{33} } func (x *ImportLogInfo) GetImportId() string { if x != nil { return x.ImportId } return "" } func (x *ImportLogInfo) GetFileName() string { if x != nil { return x.FileName } return "" } func (x *ImportLogInfo) GetTotalCount() int64 { if x != nil { return x.TotalCount } return 0 } func (x *ImportLogInfo) GetSuccessCount() int64 { if x != nil { return x.SuccessCount } return 0 } func (x *ImportLogInfo) GetFailCount() int64 { if x != nil { return x.FailCount } return 0 } func (x *ImportLogInfo) GetErrorMsg() string { if x != nil { return x.ErrorMsg } return "" } func (x *ImportLogInfo) GetOperator() string { if x != nil { return x.Operator } return "" } func (x *ImportLogInfo) GetCreatedAt() string { if x != nil { return x.CreatedAt } return "" } type StockSummaryReq struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockSummaryReq) Reset() { *x = StockSummaryReq{} mi := &file_inventory_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockSummaryReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockSummaryReq) ProtoMessage() {} func (x *StockSummaryReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockSummaryReq.ProtoReflect.Descriptor instead. func (*StockSummaryReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{34} } type StockSummaryResp struct { state protoimpl.MessageState `protogen:"open.v1"` ProductCount int64 `protobuf:"varint,1,opt,name=product_count,json=productCount,proto3" json:"product_count,omitempty"` TotalPieces int64 `protobuf:"varint,2,opt,name=total_pieces,json=totalPieces,proto3" json:"total_pieces,omitempty"` TotalPans int64 `protobuf:"varint,3,opt,name=total_pans,json=totalPans,proto3" json:"total_pans,omitempty"` TotalLengthM string `protobuf:"bytes,4,opt,name=total_length_m,json=totalLengthM,proto3" json:"total_length_m,omitempty"` TotalSalesValue string `protobuf:"bytes,5,opt,name=total_sales_value,json=totalSalesValue,proto3" json:"total_sales_value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockSummaryResp) Reset() { *x = StockSummaryResp{} mi := &file_inventory_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockSummaryResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockSummaryResp) ProtoMessage() {} func (x *StockSummaryResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockSummaryResp.ProtoReflect.Descriptor instead. func (*StockSummaryResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{35} } func (x *StockSummaryResp) GetProductCount() int64 { if x != nil { return x.ProductCount } return 0 } func (x *StockSummaryResp) GetTotalPieces() int64 { if x != nil { return x.TotalPieces } return 0 } func (x *StockSummaryResp) GetTotalPans() int64 { if x != nil { return x.TotalPans } return 0 } func (x *StockSummaryResp) GetTotalLengthM() string { if x != nil { return x.TotalLengthM } return "" } func (x *StockSummaryResp) GetTotalSalesValue() string { if x != nil { return x.TotalSalesValue } return "" } type StockGroupReq struct { state protoimpl.MessageState `protogen:"open.v1"` GroupBy string `protobuf:"bytes,1,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockGroupReq) Reset() { *x = StockGroupReq{} mi := &file_inventory_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockGroupReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockGroupReq) ProtoMessage() {} func (x *StockGroupReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockGroupReq.ProtoReflect.Descriptor instead. func (*StockGroupReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{36} } func (x *StockGroupReq) GetGroupBy() string { if x != nil { return x.GroupBy } return "" } type StockGroupItem struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Quantity string `protobuf:"bytes,3,opt,name=quantity,proto3" json:"quantity,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockGroupItem) Reset() { *x = StockGroupItem{} mi := &file_inventory_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockGroupItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockGroupItem) ProtoMessage() {} func (x *StockGroupItem) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockGroupItem.ProtoReflect.Descriptor instead. func (*StockGroupItem) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{37} } func (x *StockGroupItem) GetName() string { if x != nil { return x.Name } return "" } func (x *StockGroupItem) GetCount() int64 { if x != nil { return x.Count } return 0 } func (x *StockGroupItem) GetQuantity() string { if x != nil { return x.Quantity } return "" } type StockGroupResp struct { state protoimpl.MessageState `protogen:"open.v1"` List []*StockGroupItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockGroupResp) Reset() { *x = StockGroupResp{} mi := &file_inventory_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockGroupResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockGroupResp) ProtoMessage() {} func (x *StockGroupResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockGroupResp.ProtoReflect.Descriptor instead. func (*StockGroupResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{38} } func (x *StockGroupResp) GetList() []*StockGroupItem { if x != nil { return x.List } return nil } type StockCheckInfo struct { state protoimpl.MessageState `protogen:"open.v1"` CheckId string `protobuf:"bytes,1,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` CheckNo string `protobuf:"bytes,2,opt,name=check_no,json=checkNo,proto3" json:"check_no,omitempty"` CheckDate string `protobuf:"bytes,3,opt,name=check_date,json=checkDate,proto3" json:"check_date,omitempty"` Checker string `protobuf:"bytes,4,opt,name=checker,proto3" json:"checker,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"` CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Details []*StockCheckDetailInfo `protobuf:"bytes,9,rep,name=details,proto3" json:"details,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockCheckInfo) Reset() { *x = StockCheckInfo{} mi := &file_inventory_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockCheckInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockCheckInfo) ProtoMessage() {} func (x *StockCheckInfo) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockCheckInfo.ProtoReflect.Descriptor instead. func (*StockCheckInfo) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{39} } func (x *StockCheckInfo) GetCheckId() string { if x != nil { return x.CheckId } return "" } func (x *StockCheckInfo) GetCheckNo() string { if x != nil { return x.CheckNo } return "" } func (x *StockCheckInfo) GetCheckDate() string { if x != nil { return x.CheckDate } return "" } func (x *StockCheckInfo) GetChecker() string { if x != nil { return x.Checker } return "" } func (x *StockCheckInfo) GetStatus() int64 { if x != nil { return x.Status } return 0 } func (x *StockCheckInfo) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *StockCheckInfo) GetCreatedAt() string { if x != nil { return x.CreatedAt } return "" } func (x *StockCheckInfo) GetUpdatedAt() string { if x != nil { return x.UpdatedAt } return "" } func (x *StockCheckInfo) GetDetails() []*StockCheckDetailInfo { if x != nil { return x.Details } return nil } type StockCheckDetailInfo struct { state protoimpl.MessageState `protogen:"open.v1"` DetailId string `protobuf:"bytes,1,opt,name=detail_id,json=detailId,proto3" json:"detail_id,omitempty"` CheckId string `protobuf:"bytes,2,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` ProductName string `protobuf:"bytes,4,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` SystemQuantity string `protobuf:"bytes,5,opt,name=system_quantity,json=systemQuantity,proto3" json:"system_quantity,omitempty"` ActualQuantity string `protobuf:"bytes,6,opt,name=actual_quantity,json=actualQuantity,proto3" json:"actual_quantity,omitempty"` DiffQuantity string `protobuf:"bytes,7,opt,name=diff_quantity,json=diffQuantity,proto3" json:"diff_quantity,omitempty"` DiffAmount string `protobuf:"bytes,8,opt,name=diff_amount,json=diffAmount,proto3" json:"diff_amount,omitempty"` Remark string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockCheckDetailInfo) Reset() { *x = StockCheckDetailInfo{} mi := &file_inventory_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockCheckDetailInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockCheckDetailInfo) ProtoMessage() {} func (x *StockCheckDetailInfo) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockCheckDetailInfo.ProtoReflect.Descriptor instead. func (*StockCheckDetailInfo) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{40} } func (x *StockCheckDetailInfo) GetDetailId() string { if x != nil { return x.DetailId } return "" } func (x *StockCheckDetailInfo) GetCheckId() string { if x != nil { return x.CheckId } return "" } func (x *StockCheckDetailInfo) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *StockCheckDetailInfo) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *StockCheckDetailInfo) GetSystemQuantity() string { if x != nil { return x.SystemQuantity } return "" } func (x *StockCheckDetailInfo) GetActualQuantity() string { if x != nil { return x.ActualQuantity } return "" } func (x *StockCheckDetailInfo) GetDiffQuantity() string { if x != nil { return x.DiffQuantity } return "" } func (x *StockCheckDetailInfo) GetDiffAmount() string { if x != nil { return x.DiffAmount } return "" } func (x *StockCheckDetailInfo) GetRemark() string { if x != nil { return x.Remark } return "" } type CreateStockCheckReq struct { state protoimpl.MessageState `protogen:"open.v1"` CheckDate string `protobuf:"bytes,1,opt,name=check_date,json=checkDate,proto3" json:"check_date,omitempty"` Checker string `protobuf:"bytes,2,opt,name=checker,proto3" json:"checker,omitempty"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` Details []*StockCheckDetailReq `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateStockCheckReq) Reset() { *x = CreateStockCheckReq{} mi := &file_inventory_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateStockCheckReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateStockCheckReq) ProtoMessage() {} func (x *CreateStockCheckReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateStockCheckReq.ProtoReflect.Descriptor instead. func (*CreateStockCheckReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{41} } func (x *CreateStockCheckReq) GetCheckDate() string { if x != nil { return x.CheckDate } return "" } func (x *CreateStockCheckReq) GetChecker() string { if x != nil { return x.Checker } return "" } func (x *CreateStockCheckReq) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *CreateStockCheckReq) GetDetails() []*StockCheckDetailReq { if x != nil { return x.Details } return nil } type StockCheckDetailReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` ActualQuantity string `protobuf:"bytes,2,opt,name=actual_quantity,json=actualQuantity,proto3" json:"actual_quantity,omitempty"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockCheckDetailReq) Reset() { *x = StockCheckDetailReq{} mi := &file_inventory_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockCheckDetailReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockCheckDetailReq) ProtoMessage() {} func (x *StockCheckDetailReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockCheckDetailReq.ProtoReflect.Descriptor instead. func (*StockCheckDetailReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{42} } func (x *StockCheckDetailReq) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *StockCheckDetailReq) GetActualQuantity() string { if x != nil { return x.ActualQuantity } return "" } func (x *StockCheckDetailReq) GetRemark() string { if x != nil { return x.Remark } return "" } type UpdateStockCheckReq struct { state protoimpl.MessageState `protogen:"open.v1"` CheckId string `protobuf:"bytes,1,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"` Details []*StockCheckDetailReq `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateStockCheckReq) Reset() { *x = UpdateStockCheckReq{} mi := &file_inventory_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateStockCheckReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateStockCheckReq) ProtoMessage() {} func (x *UpdateStockCheckReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateStockCheckReq.ProtoReflect.Descriptor instead. func (*UpdateStockCheckReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{43} } func (x *UpdateStockCheckReq) GetCheckId() string { if x != nil { return x.CheckId } return "" } func (x *UpdateStockCheckReq) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *UpdateStockCheckReq) GetDetails() []*StockCheckDetailReq { if x != nil { return x.Details } return nil } type ConfirmStockCheckReq struct { state protoimpl.MessageState `protogen:"open.v1"` CheckId string `protobuf:"bytes,1,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConfirmStockCheckReq) Reset() { *x = ConfirmStockCheckReq{} mi := &file_inventory_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConfirmStockCheckReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConfirmStockCheckReq) ProtoMessage() {} func (x *ConfirmStockCheckReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ConfirmStockCheckReq.ProtoReflect.Descriptor instead. func (*ConfirmStockCheckReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{44} } func (x *ConfirmStockCheckReq) GetCheckId() string { if x != nil { return x.CheckId } return "" } func (x *ConfirmStockCheckReq) GetOperator() string { if x != nil { return x.Operator } return "" } type GetStockCheckReq struct { state protoimpl.MessageState `protogen:"open.v1"` CheckId string `protobuf:"bytes,1,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetStockCheckReq) Reset() { *x = GetStockCheckReq{} mi := &file_inventory_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetStockCheckReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetStockCheckReq) ProtoMessage() {} func (x *GetStockCheckReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetStockCheckReq.ProtoReflect.Descriptor instead. func (*GetStockCheckReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{45} } func (x *GetStockCheckReq) GetCheckId() string { if x != nil { return x.CheckId } return "" } type ListStockCheckReq struct { state protoimpl.MessageState `protogen:"open.v1"` Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` CheckNo string `protobuf:"bytes,3,opt,name=check_no,json=checkNo,proto3" json:"check_no,omitempty"` Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` StartDate string `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate string `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListStockCheckReq) Reset() { *x = ListStockCheckReq{} mi := &file_inventory_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListStockCheckReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListStockCheckReq) ProtoMessage() {} func (x *ListStockCheckReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListStockCheckReq.ProtoReflect.Descriptor instead. func (*ListStockCheckReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{46} } func (x *ListStockCheckReq) GetPage() int64 { if x != nil { return x.Page } return 0 } func (x *ListStockCheckReq) GetPageSize() int64 { if x != nil { return x.PageSize } return 0 } func (x *ListStockCheckReq) GetCheckNo() string { if x != nil { return x.CheckNo } return "" } func (x *ListStockCheckReq) GetStatus() int64 { if x != nil { return x.Status } return 0 } func (x *ListStockCheckReq) GetStartDate() string { if x != nil { return x.StartDate } return "" } func (x *ListStockCheckReq) GetEndDate() string { if x != nil { return x.EndDate } return "" } type ListStockCheckResp struct { state protoimpl.MessageState `protogen:"open.v1"` Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*StockCheckInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListStockCheckResp) Reset() { *x = ListStockCheckResp{} mi := &file_inventory_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListStockCheckResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListStockCheckResp) ProtoMessage() {} func (x *ListStockCheckResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListStockCheckResp.ProtoReflect.Descriptor instead. func (*ListStockCheckResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{47} } func (x *ListStockCheckResp) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListStockCheckResp) GetList() []*StockCheckInfo { if x != nil { return x.List } return nil } type StockAdjustInfo struct { state protoimpl.MessageState `protogen:"open.v1"` AdjustId string `protobuf:"bytes,1,opt,name=adjust_id,json=adjustId,proto3" json:"adjust_id,omitempty"` AdjustNo string `protobuf:"bytes,2,opt,name=adjust_no,json=adjustNo,proto3" json:"adjust_no,omitempty"` AdjustDate string `protobuf:"bytes,3,opt,name=adjust_date,json=adjustDate,proto3" json:"adjust_date,omitempty"` AdjustReason string `protobuf:"bytes,4,opt,name=adjust_reason,json=adjustReason,proto3" json:"adjust_reason,omitempty"` Operator string `protobuf:"bytes,5,opt,name=operator,proto3" json:"operator,omitempty"` Approver string `protobuf:"bytes,6,opt,name=approver,proto3" json:"approver,omitempty"` Status int64 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"` CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Details []*StockAdjustDetailInfo `protobuf:"bytes,11,rep,name=details,proto3" json:"details,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockAdjustInfo) Reset() { *x = StockAdjustInfo{} mi := &file_inventory_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockAdjustInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockAdjustInfo) ProtoMessage() {} func (x *StockAdjustInfo) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockAdjustInfo.ProtoReflect.Descriptor instead. func (*StockAdjustInfo) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{48} } func (x *StockAdjustInfo) GetAdjustId() string { if x != nil { return x.AdjustId } return "" } func (x *StockAdjustInfo) GetAdjustNo() string { if x != nil { return x.AdjustNo } return "" } func (x *StockAdjustInfo) GetAdjustDate() string { if x != nil { return x.AdjustDate } return "" } func (x *StockAdjustInfo) GetAdjustReason() string { if x != nil { return x.AdjustReason } return "" } func (x *StockAdjustInfo) GetOperator() string { if x != nil { return x.Operator } return "" } func (x *StockAdjustInfo) GetApprover() string { if x != nil { return x.Approver } return "" } func (x *StockAdjustInfo) GetStatus() int64 { if x != nil { return x.Status } return 0 } func (x *StockAdjustInfo) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *StockAdjustInfo) GetCreatedAt() string { if x != nil { return x.CreatedAt } return "" } func (x *StockAdjustInfo) GetUpdatedAt() string { if x != nil { return x.UpdatedAt } return "" } func (x *StockAdjustInfo) GetDetails() []*StockAdjustDetailInfo { if x != nil { return x.Details } return nil } type StockAdjustDetailInfo struct { state protoimpl.MessageState `protogen:"open.v1"` DetailId string `protobuf:"bytes,1,opt,name=detail_id,json=detailId,proto3" json:"detail_id,omitempty"` AdjustId string `protobuf:"bytes,2,opt,name=adjust_id,json=adjustId,proto3" json:"adjust_id,omitempty"` ProductId string `protobuf:"bytes,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` ProductName string `protobuf:"bytes,4,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"` BeforeQuantity string `protobuf:"bytes,5,opt,name=before_quantity,json=beforeQuantity,proto3" json:"before_quantity,omitempty"` AdjustQuantity string `protobuf:"bytes,6,opt,name=adjust_quantity,json=adjustQuantity,proto3" json:"adjust_quantity,omitempty"` AfterQuantity string `protobuf:"bytes,7,opt,name=after_quantity,json=afterQuantity,proto3" json:"after_quantity,omitempty"` Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockAdjustDetailInfo) Reset() { *x = StockAdjustDetailInfo{} mi := &file_inventory_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockAdjustDetailInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockAdjustDetailInfo) ProtoMessage() {} func (x *StockAdjustDetailInfo) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockAdjustDetailInfo.ProtoReflect.Descriptor instead. func (*StockAdjustDetailInfo) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{49} } func (x *StockAdjustDetailInfo) GetDetailId() string { if x != nil { return x.DetailId } return "" } func (x *StockAdjustDetailInfo) GetAdjustId() string { if x != nil { return x.AdjustId } return "" } func (x *StockAdjustDetailInfo) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *StockAdjustDetailInfo) GetProductName() string { if x != nil { return x.ProductName } return "" } func (x *StockAdjustDetailInfo) GetBeforeQuantity() string { if x != nil { return x.BeforeQuantity } return "" } func (x *StockAdjustDetailInfo) GetAdjustQuantity() string { if x != nil { return x.AdjustQuantity } return "" } func (x *StockAdjustDetailInfo) GetAfterQuantity() string { if x != nil { return x.AfterQuantity } return "" } func (x *StockAdjustDetailInfo) GetRemark() string { if x != nil { return x.Remark } return "" } type CreateStockAdjustReq struct { state protoimpl.MessageState `protogen:"open.v1"` AdjustDate string `protobuf:"bytes,1,opt,name=adjust_date,json=adjustDate,proto3" json:"adjust_date,omitempty"` AdjustReason string `protobuf:"bytes,2,opt,name=adjust_reason,json=adjustReason,proto3" json:"adjust_reason,omitempty"` Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"` Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"` Details []*StockAdjustDetailReq `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateStockAdjustReq) Reset() { *x = CreateStockAdjustReq{} mi := &file_inventory_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateStockAdjustReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateStockAdjustReq) ProtoMessage() {} func (x *CreateStockAdjustReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateStockAdjustReq.ProtoReflect.Descriptor instead. func (*CreateStockAdjustReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{50} } func (x *CreateStockAdjustReq) GetAdjustDate() string { if x != nil { return x.AdjustDate } return "" } func (x *CreateStockAdjustReq) GetAdjustReason() string { if x != nil { return x.AdjustReason } return "" } func (x *CreateStockAdjustReq) GetOperator() string { if x != nil { return x.Operator } return "" } func (x *CreateStockAdjustReq) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *CreateStockAdjustReq) GetDetails() []*StockAdjustDetailReq { if x != nil { return x.Details } return nil } type StockAdjustDetailReq struct { state protoimpl.MessageState `protogen:"open.v1"` ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` AdjustQuantity string `protobuf:"bytes,2,opt,name=adjust_quantity,json=adjustQuantity,proto3" json:"adjust_quantity,omitempty"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *StockAdjustDetailReq) Reset() { *x = StockAdjustDetailReq{} mi := &file_inventory_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *StockAdjustDetailReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*StockAdjustDetailReq) ProtoMessage() {} func (x *StockAdjustDetailReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StockAdjustDetailReq.ProtoReflect.Descriptor instead. func (*StockAdjustDetailReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{51} } func (x *StockAdjustDetailReq) GetProductId() string { if x != nil { return x.ProductId } return "" } func (x *StockAdjustDetailReq) GetAdjustQuantity() string { if x != nil { return x.AdjustQuantity } return "" } func (x *StockAdjustDetailReq) GetRemark() string { if x != nil { return x.Remark } return "" } type ApproveStockAdjustReq struct { state protoimpl.MessageState `protogen:"open.v1"` AdjustId string `protobuf:"bytes,1,opt,name=adjust_id,json=adjustId,proto3" json:"adjust_id,omitempty"` Approver string `protobuf:"bytes,2,opt,name=approver,proto3" json:"approver,omitempty"` Action int64 `protobuf:"varint,3,opt,name=action,proto3" json:"action,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ApproveStockAdjustReq) Reset() { *x = ApproveStockAdjustReq{} mi := &file_inventory_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ApproveStockAdjustReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ApproveStockAdjustReq) ProtoMessage() {} func (x *ApproveStockAdjustReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ApproveStockAdjustReq.ProtoReflect.Descriptor instead. func (*ApproveStockAdjustReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{52} } func (x *ApproveStockAdjustReq) GetAdjustId() string { if x != nil { return x.AdjustId } return "" } func (x *ApproveStockAdjustReq) GetApprover() string { if x != nil { return x.Approver } return "" } func (x *ApproveStockAdjustReq) GetAction() int64 { if x != nil { return x.Action } return 0 } type GetStockAdjustReq struct { state protoimpl.MessageState `protogen:"open.v1"` AdjustId string `protobuf:"bytes,1,opt,name=adjust_id,json=adjustId,proto3" json:"adjust_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetStockAdjustReq) Reset() { *x = GetStockAdjustReq{} mi := &file_inventory_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetStockAdjustReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetStockAdjustReq) ProtoMessage() {} func (x *GetStockAdjustReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetStockAdjustReq.ProtoReflect.Descriptor instead. func (*GetStockAdjustReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{53} } func (x *GetStockAdjustReq) GetAdjustId() string { if x != nil { return x.AdjustId } return "" } type ListStockAdjustReq struct { state protoimpl.MessageState `protogen:"open.v1"` Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` AdjustNo string `protobuf:"bytes,3,opt,name=adjust_no,json=adjustNo,proto3" json:"adjust_no,omitempty"` AdjustReason string `protobuf:"bytes,4,opt,name=adjust_reason,json=adjustReason,proto3" json:"adjust_reason,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` StartDate string `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate string `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListStockAdjustReq) Reset() { *x = ListStockAdjustReq{} mi := &file_inventory_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListStockAdjustReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListStockAdjustReq) ProtoMessage() {} func (x *ListStockAdjustReq) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListStockAdjustReq.ProtoReflect.Descriptor instead. func (*ListStockAdjustReq) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{54} } func (x *ListStockAdjustReq) GetPage() int64 { if x != nil { return x.Page } return 0 } func (x *ListStockAdjustReq) GetPageSize() int64 { if x != nil { return x.PageSize } return 0 } func (x *ListStockAdjustReq) GetAdjustNo() string { if x != nil { return x.AdjustNo } return "" } func (x *ListStockAdjustReq) GetAdjustReason() string { if x != nil { return x.AdjustReason } return "" } func (x *ListStockAdjustReq) GetStatus() int64 { if x != nil { return x.Status } return 0 } func (x *ListStockAdjustReq) GetStartDate() string { if x != nil { return x.StartDate } return "" } func (x *ListStockAdjustReq) GetEndDate() string { if x != nil { return x.EndDate } return "" } type ListStockAdjustResp struct { state protoimpl.MessageState `protogen:"open.v1"` Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*StockAdjustInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListStockAdjustResp) Reset() { *x = ListStockAdjustResp{} mi := &file_inventory_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListStockAdjustResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListStockAdjustResp) ProtoMessage() {} func (x *ListStockAdjustResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListStockAdjustResp.ProtoReflect.Descriptor instead. func (*ListStockAdjustResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{55} } func (x *ListStockAdjustResp) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *ListStockAdjustResp) GetList() []*StockAdjustInfo { if x != nil { return x.List } return nil } type IdResp struct { state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *IdResp) Reset() { *x = IdResp{} mi := &file_inventory_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *IdResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*IdResp) ProtoMessage() {} func (x *IdResp) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use IdResp.ProtoReflect.Descriptor instead. func (*IdResp) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{56} } func (x *IdResp) GetId() string { if x != nil { return x.Id } return "" } type Empty struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Empty) Reset() { *x = Empty{} mi := &file_inventory_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Empty) String() string { return protoimpl.X.MessageStringOf(x) } func (*Empty) ProtoMessage() {} func (x *Empty) ProtoReflect() protoreflect.Message { mi := &file_inventory_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Empty.ProtoReflect.Descriptor instead. func (*Empty) Descriptor() ([]byte, []int) { return file_inventory_proto_rawDescGZIP(), []int{57} } var File_inventory_proto protoreflect.FileDescriptor const file_inventory_proto_rawDesc = "" + "\n" + "\x0finventory.proto\x12\tinventory\"\xa5\x02\n" + "\vProductInfo\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\x12!\n" + "\fproduct_name\x18\x02 \x01(\tR\vproductName\x12\x1b\n" + "\timage_url\x18\x03 \x01(\tR\bimageUrl\x12\x12\n" + "\x04spec\x18\x04 \x01(\tR\x04spec\x12\x14\n" + "\x05color\x18\x05 \x01(\tR\x05color\x12\x1f\n" + "\vsales_price\x18\x06 \x01(\tR\n" + "salesPrice\x12\x16\n" + "\x06remark\x18\a \x01(\tR\x06remark\x12\x16\n" + "\x06status\x18\b \x01(\x03R\x06status\x12\x1d\n" + "\n" + "created_at\x18\t \x01(\tR\tcreatedAt\x12\x1d\n" + "\n" + "updated_at\x18\n" + " \x01(\tR\tupdatedAt\"\xde\x01\n" + "\x10CreateProductReq\x12!\n" + "\fproduct_name\x18\x01 \x01(\tR\vproductName\x12\x1b\n" + "\timage_url\x18\x02 \x01(\tR\bimageUrl\x12\x12\n" + "\x04spec\x18\x03 \x01(\tR\x04spec\x12\x14\n" + "\x05color\x18\x04 \x01(\tR\x05color\x12\x1f\n" + "\vsales_price\x18\x05 \x01(\tR\n" + "salesPrice\x12\x16\n" + "\x06remark\x18\x06 \x01(\tR\x06remark\x12'\n" + "\x04pans\x18\a \x03(\v2\x13.inventory.PanInputR\x04pans\"\xd4\x01\n" + "\x10UpdateProductReq\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\x12!\n" + "\fproduct_name\x18\x02 \x01(\tR\vproductName\x12\x1b\n" + "\timage_url\x18\x03 \x01(\tR\bimageUrl\x12\x12\n" + "\x04spec\x18\x04 \x01(\tR\x04spec\x12\x14\n" + "\x05color\x18\x05 \x01(\tR\x05color\x12\x1f\n" + "\vsales_price\x18\x06 \x01(\tR\n" + "salesPrice\x12\x16\n" + "\x06remark\x18\a \x01(\tR\x06remark\"1\n" + "\x10DeleteProductReq\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\".\n" + "\rGetProductReq\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\"\xa6\x01\n" + "\x0eListProductReq\x12\x12\n" + "\x04page\x18\x01 \x01(\x03R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x03R\bpageSize\x12!\n" + "\fproduct_name\x18\x03 \x01(\tR\vproductName\x12\x12\n" + "\x04spec\x18\x04 \x01(\tR\x04spec\x12\x14\n" + "\x05color\x18\x05 \x01(\tR\x05color\x12\x16\n" + "\x06status\x18\x06 \x01(\x03R\x06status\"S\n" + "\x0fListProductResp\x12\x14\n" + "\x05total\x18\x01 \x01(\x03R\x05total\x12*\n" + "\x04list\x18\x02 \x03(\v2\x16.inventory.ProductInfoR\x04list\"\xfb\x01\n" + "\aPanInfo\x12\x15\n" + "\x06pan_id\x18\x01 \x01(\tR\x05panId\x12\x1d\n" + "\n" + "product_id\x18\x02 \x01(\tR\tproductId\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\x12\x1a\n" + "\bposition\x18\x04 \x01(\tR\bposition\x12\x1d\n" + "\n" + "sort_order\x18\x05 \x01(\x03R\tsortOrder\x12)\n" + "\x05bolts\x18\x06 \x03(\v2\x13.inventory.BoltInfoR\x05bolts\x12\x1d\n" + "\n" + "bolt_count\x18\a \x01(\x03R\tboltCount\x12!\n" + "\ftotal_length\x18\b \x01(\tR\vtotalLength\"]\n" + "\bPanInput\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" + "\bposition\x18\x02 \x01(\tR\bposition\x12!\n" + "\fbolt_lengths\x18\x03 \x03(\tR\vboltLengths\"+\n" + "\n" + "ListPanReq\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\"5\n" + "\vListPanResp\x12&\n" + "\x04list\x18\x01 \x03(\v2\x12.inventory.PanInfoR\x04list\"U\n" + "\vSavePansReq\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\x12'\n" + "\x04pans\x18\x02 \x03(\v2\x13.inventory.PanInputR\x04pans\"t\n" + "\bBoltInfo\x12\x17\n" + "\abolt_id\x18\x01 \x01(\tR\x06boltId\x12\x15\n" + "\x06pan_id\x18\x02 \x01(\tR\x05panId\x12\x19\n" + "\blength_m\x18\x03 \x01(\tR\alengthM\x12\x1d\n" + "\n" + "sort_order\x18\x04 \x01(\x03R\tsortOrder\"$\n" + "\vListBoltReq\x12\x15\n" + "\x06pan_id\x18\x01 \x01(\tR\x05panId\"7\n" + "\fListBoltResp\x12'\n" + "\x04list\x18\x01 \x03(\v2\x13.inventory.BoltInfoR\x04list\"?\n" + "\fSaveBoltsReq\x12\x15\n" + "\x06pan_id\x18\x01 \x01(\tR\x05panId\x12\x18\n" + "\alengths\x18\x02 \x03(\tR\alengths\"\xe3\x01\n" + "\x0fProductTreeResp\x120\n" + "\aproduct\x18\x01 \x01(\v2\x16.inventory.ProductInfoR\aproduct\x12&\n" + "\x04pans\x18\x02 \x03(\v2\x12.inventory.PanInfoR\x04pans\x12&\n" + "\x0ftotal_pan_count\x18\x03 \x01(\x03R\rtotalPanCount\x12(\n" + "\x10total_bolt_count\x18\x04 \x01(\x03R\x0etotalBoltCount\x12$\n" + "\x0etotal_length_m\x18\x05 \x01(\tR\ftotalLengthM\"\x9a\x02\n" + "\x12ProductSummaryItem\x12!\n" + "\fproduct_name\x18\x01 \x01(\tR\vproductName\x12\x12\n" + "\x04spec\x18\x02 \x01(\tR\x04spec\x12\x1f\n" + "\vcolor_count\x18\x03 \x01(\x03R\n" + "colorCount\x12&\n" + "\x0ftotal_pan_count\x18\x04 \x01(\x03R\rtotalPanCount\x12(\n" + "\x10total_bolt_count\x18\x05 \x01(\x03R\x0etotalBoltCount\x12$\n" + "\x0etotal_length_m\x18\x06 \x01(\tR\ftotalLengthM\x12\x16\n" + "\x06colors\x18\a \x01(\tR\x06colors\x12\x1c\n" + "\tlocations\x18\b \x01(\tR\tlocations\"\x17\n" + "\x15ListProductSummaryReq\"K\n" + "\x16ListProductSummaryResp\x121\n" + "\x04list\x18\x01 \x03(\v2\x1d.inventory.ProductSummaryItemR\x04list\"\xbb\x02\n" + "\x0fColorDetailItem\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\x12!\n" + "\fproduct_name\x18\x02 \x01(\tR\vproductName\x12\x14\n" + "\x05color\x18\x03 \x01(\tR\x05color\x12\x12\n" + "\x04spec\x18\x04 \x01(\tR\x04spec\x12\x1b\n" + "\timage_url\x18\x05 \x01(\tR\bimageUrl\x12\x1b\n" + "\tpan_count\x18\x06 \x01(\x03R\bpanCount\x12\x1d\n" + "\n" + "bolt_count\x18\a \x01(\x03R\tboltCount\x12$\n" + "\x0etotal_length_m\x18\b \x01(\tR\ftotalLengthM\x12\x1c\n" + "\tlocations\x18\t \x01(\tR\tlocations\x12\x1f\n" + "\vsales_price\x18\n" + " \x01(\tR\n" + "salesPrice\"7\n" + "\x12ListColorDetailReq\x12!\n" + "\fproduct_name\x18\x01 \x01(\tR\vproductName\"E\n" + "\x13ListColorDetailResp\x12.\n" + "\x04list\x18\x01 \x03(\v2\x1a.inventory.ColorDetailItemR\x04list\"\xf3\x01\n" + "\vPanListItem\x12\x15\n" + "\x06pan_id\x18\x01 \x01(\tR\x05panId\x12\x1d\n" + "\n" + "product_id\x18\x02 \x01(\tR\tproductId\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\x12\x1a\n" + "\bposition\x18\x04 \x01(\tR\bposition\x12!\n" + "\fproduct_name\x18\x05 \x01(\tR\vproductName\x12\x16\n" + "\x06colors\x18\x06 \x01(\tR\x06colors\x12\x1d\n" + "\n" + "bolt_count\x18\a \x01(\x03R\tboltCount\x12$\n" + "\x0etotal_length_m\x18\b \x01(\tR\ftotalLengthM\"\x80\x01\n" + "\x0eListPanViewReq\x12\x12\n" + "\x04page\x18\x01 \x01(\x03R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x03R\bpageSize\x12!\n" + "\fproduct_name\x18\x03 \x01(\tR\vproductName\x12\x1a\n" + "\bposition\x18\x04 \x01(\tR\bposition\"S\n" + "\x0fListPanViewResp\x12\x14\n" + "\x05total\x18\x01 \x01(\x03R\x05total\x12*\n" + "\x04list\x18\x02 \x03(\v2\x16.inventory.PanListItemR\x04list\"\x87\x02\n" + "\fBoltListItem\x12\x17\n" + "\abolt_id\x18\x01 \x01(\tR\x06boltId\x12\x15\n" + "\x06pan_id\x18\x02 \x01(\tR\x05panId\x12\x19\n" + "\blength_m\x18\x03 \x01(\tR\alengthM\x12\x14\n" + "\x05color\x18\x04 \x01(\tR\x05color\x12\x1d\n" + "\n" + "sort_order\x18\x05 \x01(\x03R\tsortOrder\x12\x19\n" + "\bpan_name\x18\x06 \x01(\tR\apanName\x12\x1a\n" + "\bposition\x18\a \x01(\tR\bposition\x12\x1d\n" + "\n" + "product_id\x18\b \x01(\tR\tproductId\x12!\n" + "\fproduct_name\x18\t \x01(\tR\vproductName\"\x81\x01\n" + "\x0fListBoltViewReq\x12\x12\n" + "\x04page\x18\x01 \x01(\x03R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x03R\bpageSize\x12!\n" + "\fproduct_name\x18\x03 \x01(\tR\vproductName\x12\x1a\n" + "\bposition\x18\x04 \x01(\tR\bposition\"U\n" + "\x10ListBoltViewResp\x12\x14\n" + "\x05total\x18\x01 \x01(\x03R\x05total\x12+\n" + "\x04list\x18\x02 \x03(\v2\x17.inventory.BoltListItemR\x04list\"\x84\x01\n" + "\x10ImportProductReq\x127\n" + "\bproducts\x18\x01 \x03(\v2\x1b.inventory.CreateProductReqR\bproducts\x12\x1b\n" + "\tfile_name\x18\x02 \x01(\tR\bfileName\x12\x1a\n" + "\boperator\x18\x03 \x01(\tR\boperator\"\xb2\x01\n" + "\x11ImportProductResp\x12\x1f\n" + "\vtotal_count\x18\x01 \x01(\x03R\n" + "totalCount\x12#\n" + "\rsuccess_count\x18\x02 \x01(\x03R\fsuccessCount\x12\x1d\n" + "\n" + "fail_count\x18\x03 \x01(\x03R\tfailCount\x12\x1b\n" + "\terror_msg\x18\x04 \x01(\tR\berrorMsg\x12\x1b\n" + "\timport_id\x18\x05 \x01(\tR\bimportId\"C\n" + "\x10ListImportLogReq\x12\x12\n" + "\x04page\x18\x01 \x01(\x03R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x03R\bpageSize\"W\n" + "\x11ListImportLogResp\x12\x14\n" + "\x05total\x18\x01 \x01(\x03R\x05total\x12,\n" + "\x04list\x18\x02 \x03(\v2\x18.inventory.ImportLogInfoR\x04list\"\x86\x02\n" + "\rImportLogInfo\x12\x1b\n" + "\timport_id\x18\x01 \x01(\tR\bimportId\x12\x1b\n" + "\tfile_name\x18\x02 \x01(\tR\bfileName\x12\x1f\n" + "\vtotal_count\x18\x03 \x01(\x03R\n" + "totalCount\x12#\n" + "\rsuccess_count\x18\x04 \x01(\x03R\fsuccessCount\x12\x1d\n" + "\n" + "fail_count\x18\x05 \x01(\x03R\tfailCount\x12\x1b\n" + "\terror_msg\x18\x06 \x01(\tR\berrorMsg\x12\x1a\n" + "\boperator\x18\a \x01(\tR\boperator\x12\x1d\n" + "\n" + "created_at\x18\b \x01(\tR\tcreatedAt\"\x11\n" + "\x0fStockSummaryReq\"\xcb\x01\n" + "\x10StockSummaryResp\x12#\n" + "\rproduct_count\x18\x01 \x01(\x03R\fproductCount\x12!\n" + "\ftotal_pieces\x18\x02 \x01(\x03R\vtotalPieces\x12\x1d\n" + "\n" + "total_pans\x18\x03 \x01(\x03R\ttotalPans\x12$\n" + "\x0etotal_length_m\x18\x04 \x01(\tR\ftotalLengthM\x12*\n" + "\x11total_sales_value\x18\x05 \x01(\tR\x0ftotalSalesValue\"*\n" + "\rStockGroupReq\x12\x19\n" + "\bgroup_by\x18\x01 \x01(\tR\agroupBy\"V\n" + "\x0eStockGroupItem\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + "\x05count\x18\x02 \x01(\x03R\x05count\x12\x1a\n" + "\bquantity\x18\x03 \x01(\tR\bquantity\"?\n" + "\x0eStockGroupResp\x12-\n" + "\x04list\x18\x01 \x03(\v2\x19.inventory.StockGroupItemR\x04list\"\xa8\x02\n" + "\x0eStockCheckInfo\x12\x19\n" + "\bcheck_id\x18\x01 \x01(\tR\acheckId\x12\x19\n" + "\bcheck_no\x18\x02 \x01(\tR\acheckNo\x12\x1d\n" + "\n" + "check_date\x18\x03 \x01(\tR\tcheckDate\x12\x18\n" + "\achecker\x18\x04 \x01(\tR\achecker\x12\x16\n" + "\x06status\x18\x05 \x01(\x03R\x06status\x12\x16\n" + "\x06remark\x18\x06 \x01(\tR\x06remark\x12\x1d\n" + "\n" + "created_at\x18\a \x01(\tR\tcreatedAt\x12\x1d\n" + "\n" + "updated_at\x18\b \x01(\tR\tupdatedAt\x129\n" + "\adetails\x18\t \x03(\v2\x1f.inventory.StockCheckDetailInfoR\adetails\"\xc0\x02\n" + "\x14StockCheckDetailInfo\x12\x1b\n" + "\tdetail_id\x18\x01 \x01(\tR\bdetailId\x12\x19\n" + "\bcheck_id\x18\x02 \x01(\tR\acheckId\x12\x1d\n" + "\n" + "product_id\x18\x03 \x01(\tR\tproductId\x12!\n" + "\fproduct_name\x18\x04 \x01(\tR\vproductName\x12'\n" + "\x0fsystem_quantity\x18\x05 \x01(\tR\x0esystemQuantity\x12'\n" + "\x0factual_quantity\x18\x06 \x01(\tR\x0eactualQuantity\x12#\n" + "\rdiff_quantity\x18\a \x01(\tR\fdiffQuantity\x12\x1f\n" + "\vdiff_amount\x18\b \x01(\tR\n" + "diffAmount\x12\x16\n" + "\x06remark\x18\t \x01(\tR\x06remark\"\xa0\x01\n" + "\x13CreateStockCheckReq\x12\x1d\n" + "\n" + "check_date\x18\x01 \x01(\tR\tcheckDate\x12\x18\n" + "\achecker\x18\x02 \x01(\tR\achecker\x12\x16\n" + "\x06remark\x18\x03 \x01(\tR\x06remark\x128\n" + "\adetails\x18\x04 \x03(\v2\x1e.inventory.StockCheckDetailReqR\adetails\"u\n" + "\x13StockCheckDetailReq\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\x12'\n" + "\x0factual_quantity\x18\x02 \x01(\tR\x0eactualQuantity\x12\x16\n" + "\x06remark\x18\x03 \x01(\tR\x06remark\"\x82\x01\n" + "\x13UpdateStockCheckReq\x12\x19\n" + "\bcheck_id\x18\x01 \x01(\tR\acheckId\x12\x16\n" + "\x06remark\x18\x02 \x01(\tR\x06remark\x128\n" + "\adetails\x18\x03 \x03(\v2\x1e.inventory.StockCheckDetailReqR\adetails\"M\n" + "\x14ConfirmStockCheckReq\x12\x19\n" + "\bcheck_id\x18\x01 \x01(\tR\acheckId\x12\x1a\n" + "\boperator\x18\x02 \x01(\tR\boperator\"-\n" + "\x10GetStockCheckReq\x12\x19\n" + "\bcheck_id\x18\x01 \x01(\tR\acheckId\"\xb1\x01\n" + "\x11ListStockCheckReq\x12\x12\n" + "\x04page\x18\x01 \x01(\x03R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x03R\bpageSize\x12\x19\n" + "\bcheck_no\x18\x03 \x01(\tR\acheckNo\x12\x16\n" + "\x06status\x18\x04 \x01(\x03R\x06status\x12\x1d\n" + "\n" + "start_date\x18\x05 \x01(\tR\tstartDate\x12\x19\n" + "\bend_date\x18\x06 \x01(\tR\aendDate\"Y\n" + "\x12ListStockCheckResp\x12\x14\n" + "\x05total\x18\x01 \x01(\x03R\x05total\x12-\n" + "\x04list\x18\x02 \x03(\v2\x19.inventory.StockCheckInfoR\x04list\"\xf3\x02\n" + "\x0fStockAdjustInfo\x12\x1b\n" + "\tadjust_id\x18\x01 \x01(\tR\badjustId\x12\x1b\n" + "\tadjust_no\x18\x02 \x01(\tR\badjustNo\x12\x1f\n" + "\vadjust_date\x18\x03 \x01(\tR\n" + "adjustDate\x12#\n" + "\radjust_reason\x18\x04 \x01(\tR\fadjustReason\x12\x1a\n" + "\boperator\x18\x05 \x01(\tR\boperator\x12\x1a\n" + "\bapprover\x18\x06 \x01(\tR\bapprover\x12\x16\n" + "\x06status\x18\a \x01(\x03R\x06status\x12\x16\n" + "\x06remark\x18\b \x01(\tR\x06remark\x12\x1d\n" + "\n" + "created_at\x18\t \x01(\tR\tcreatedAt\x12\x1d\n" + "\n" + "updated_at\x18\n" + " \x01(\tR\tupdatedAt\x12:\n" + "\adetails\x18\v \x03(\v2 .inventory.StockAdjustDetailInfoR\adetails\"\xa4\x02\n" + "\x15StockAdjustDetailInfo\x12\x1b\n" + "\tdetail_id\x18\x01 \x01(\tR\bdetailId\x12\x1b\n" + "\tadjust_id\x18\x02 \x01(\tR\badjustId\x12\x1d\n" + "\n" + "product_id\x18\x03 \x01(\tR\tproductId\x12!\n" + "\fproduct_name\x18\x04 \x01(\tR\vproductName\x12'\n" + "\x0fbefore_quantity\x18\x05 \x01(\tR\x0ebeforeQuantity\x12'\n" + "\x0fadjust_quantity\x18\x06 \x01(\tR\x0eadjustQuantity\x12%\n" + "\x0eafter_quantity\x18\a \x01(\tR\rafterQuantity\x12\x16\n" + "\x06remark\x18\b \x01(\tR\x06remark\"\xcb\x01\n" + "\x14CreateStockAdjustReq\x12\x1f\n" + "\vadjust_date\x18\x01 \x01(\tR\n" + "adjustDate\x12#\n" + "\radjust_reason\x18\x02 \x01(\tR\fadjustReason\x12\x1a\n" + "\boperator\x18\x03 \x01(\tR\boperator\x12\x16\n" + "\x06remark\x18\x04 \x01(\tR\x06remark\x129\n" + "\adetails\x18\x05 \x03(\v2\x1f.inventory.StockAdjustDetailReqR\adetails\"v\n" + "\x14StockAdjustDetailReq\x12\x1d\n" + "\n" + "product_id\x18\x01 \x01(\tR\tproductId\x12'\n" + "\x0fadjust_quantity\x18\x02 \x01(\tR\x0eadjustQuantity\x12\x16\n" + "\x06remark\x18\x03 \x01(\tR\x06remark\"h\n" + "\x15ApproveStockAdjustReq\x12\x1b\n" + "\tadjust_id\x18\x01 \x01(\tR\badjustId\x12\x1a\n" + "\bapprover\x18\x02 \x01(\tR\bapprover\x12\x16\n" + "\x06action\x18\x03 \x01(\x03R\x06action\"0\n" + "\x11GetStockAdjustReq\x12\x1b\n" + "\tadjust_id\x18\x01 \x01(\tR\badjustId\"\xd9\x01\n" + "\x12ListStockAdjustReq\x12\x12\n" + "\x04page\x18\x01 \x01(\x03R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x03R\bpageSize\x12\x1b\n" + "\tadjust_no\x18\x03 \x01(\tR\badjustNo\x12#\n" + "\radjust_reason\x18\x04 \x01(\tR\fadjustReason\x12\x16\n" + "\x06status\x18\x05 \x01(\x03R\x06status\x12\x1d\n" + "\n" + "start_date\x18\x06 \x01(\tR\tstartDate\x12\x19\n" + "\bend_date\x18\a \x01(\tR\aendDate\"[\n" + "\x13ListStockAdjustResp\x12\x14\n" + "\x05total\x18\x01 \x01(\x03R\x05total\x12.\n" + "\x04list\x18\x02 \x03(\v2\x1a.inventory.StockAdjustInfoR\x04list\"\x18\n" + "\x06IdResp\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\"\a\n" + "\x05Empty2\x8d\x0f\n" + "\x10InventoryService\x12?\n" + "\rCreateProduct\x12\x1b.inventory.CreateProductReq\x1a\x11.inventory.IdResp\x12>\n" + "\rUpdateProduct\x12\x1b.inventory.UpdateProductReq\x1a\x10.inventory.Empty\x12>\n" + "\rDeleteProduct\x12\x1b.inventory.DeleteProductReq\x1a\x10.inventory.Empty\x12>\n" + "\n" + "GetProduct\x12\x18.inventory.GetProductReq\x1a\x16.inventory.ProductInfo\x12D\n" + "\vListProduct\x12\x19.inventory.ListProductReq\x1a\x1a.inventory.ListProductResp\x12F\n" + "\x0eGetProductTree\x12\x18.inventory.GetProductReq\x1a\x1a.inventory.ProductTreeResp\x12Y\n" + "\x12ListProductSummary\x12 .inventory.ListProductSummaryReq\x1a!.inventory.ListProductSummaryResp\x12P\n" + "\x0fListColorDetail\x12\x1d.inventory.ListColorDetailReq\x1a\x1e.inventory.ListColorDetailResp\x12D\n" + "\vListPanView\x12\x19.inventory.ListPanViewReq\x1a\x1a.inventory.ListPanViewResp\x12G\n" + "\fListBoltView\x12\x1a.inventory.ListBoltViewReq\x1a\x1b.inventory.ListBoltViewResp\x129\n" + "\bListPans\x12\x15.inventory.ListPanReq\x1a\x16.inventory.ListPanResp\x124\n" + "\bSavePans\x12\x16.inventory.SavePansReq\x1a\x10.inventory.Empty\x12<\n" + "\tListBolts\x12\x16.inventory.ListBoltReq\x1a\x17.inventory.ListBoltResp\x126\n" + "\tSaveBolts\x12\x17.inventory.SaveBoltsReq\x1a\x10.inventory.Empty\x12K\n" + "\x0eImportProducts\x12\x1b.inventory.ImportProductReq\x1a\x1c.inventory.ImportProductResp\x12J\n" + "\rListImportLog\x12\x1b.inventory.ListImportLogReq\x1a\x1c.inventory.ListImportLogResp\x12J\n" + "\x0fGetStockSummary\x12\x1a.inventory.StockSummaryReq\x1a\x1b.inventory.StockSummaryResp\x12D\n" + "\rGetStockGroup\x12\x18.inventory.StockGroupReq\x1a\x19.inventory.StockGroupResp\x12E\n" + "\x10CreateStockCheck\x12\x1e.inventory.CreateStockCheckReq\x1a\x11.inventory.IdResp\x12D\n" + "\x10UpdateStockCheck\x12\x1e.inventory.UpdateStockCheckReq\x1a\x10.inventory.Empty\x12F\n" + "\x11ConfirmStockCheck\x12\x1f.inventory.ConfirmStockCheckReq\x1a\x10.inventory.Empty\x12G\n" + "\rGetStockCheck\x12\x1b.inventory.GetStockCheckReq\x1a\x19.inventory.StockCheckInfo\x12M\n" + "\x0eListStockCheck\x12\x1c.inventory.ListStockCheckReq\x1a\x1d.inventory.ListStockCheckResp\x12G\n" + "\x11CreateStockAdjust\x12\x1f.inventory.CreateStockAdjustReq\x1a\x11.inventory.IdResp\x12H\n" + "\x12ApproveStockAdjust\x12 .inventory.ApproveStockAdjustReq\x1a\x10.inventory.Empty\x12J\n" + "\x0eGetStockAdjust\x12\x1c.inventory.GetStockAdjustReq\x1a\x1a.inventory.StockAdjustInfo\x12P\n" + "\x0fListStockAdjust\x12\x1d.inventory.ListStockAdjustReq\x1a\x1e.inventory.ListStockAdjustRespB\x06Z\x04./pbb\x06proto3" var ( file_inventory_proto_rawDescOnce sync.Once file_inventory_proto_rawDescData []byte ) func file_inventory_proto_rawDescGZIP() []byte { file_inventory_proto_rawDescOnce.Do(func() { file_inventory_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_inventory_proto_rawDesc), len(file_inventory_proto_rawDesc))) }) return file_inventory_proto_rawDescData } var file_inventory_proto_msgTypes = make([]protoimpl.MessageInfo, 58) var file_inventory_proto_goTypes = []any{ (*ProductInfo)(nil), // 0: inventory.ProductInfo (*CreateProductReq)(nil), // 1: inventory.CreateProductReq (*UpdateProductReq)(nil), // 2: inventory.UpdateProductReq (*DeleteProductReq)(nil), // 3: inventory.DeleteProductReq (*GetProductReq)(nil), // 4: inventory.GetProductReq (*ListProductReq)(nil), // 5: inventory.ListProductReq (*ListProductResp)(nil), // 6: inventory.ListProductResp (*PanInfo)(nil), // 7: inventory.PanInfo (*PanInput)(nil), // 8: inventory.PanInput (*ListPanReq)(nil), // 9: inventory.ListPanReq (*ListPanResp)(nil), // 10: inventory.ListPanResp (*SavePansReq)(nil), // 11: inventory.SavePansReq (*BoltInfo)(nil), // 12: inventory.BoltInfo (*ListBoltReq)(nil), // 13: inventory.ListBoltReq (*ListBoltResp)(nil), // 14: inventory.ListBoltResp (*SaveBoltsReq)(nil), // 15: inventory.SaveBoltsReq (*ProductTreeResp)(nil), // 16: inventory.ProductTreeResp (*ProductSummaryItem)(nil), // 17: inventory.ProductSummaryItem (*ListProductSummaryReq)(nil), // 18: inventory.ListProductSummaryReq (*ListProductSummaryResp)(nil), // 19: inventory.ListProductSummaryResp (*ColorDetailItem)(nil), // 20: inventory.ColorDetailItem (*ListColorDetailReq)(nil), // 21: inventory.ListColorDetailReq (*ListColorDetailResp)(nil), // 22: inventory.ListColorDetailResp (*PanListItem)(nil), // 23: inventory.PanListItem (*ListPanViewReq)(nil), // 24: inventory.ListPanViewReq (*ListPanViewResp)(nil), // 25: inventory.ListPanViewResp (*BoltListItem)(nil), // 26: inventory.BoltListItem (*ListBoltViewReq)(nil), // 27: inventory.ListBoltViewReq (*ListBoltViewResp)(nil), // 28: inventory.ListBoltViewResp (*ImportProductReq)(nil), // 29: inventory.ImportProductReq (*ImportProductResp)(nil), // 30: inventory.ImportProductResp (*ListImportLogReq)(nil), // 31: inventory.ListImportLogReq (*ListImportLogResp)(nil), // 32: inventory.ListImportLogResp (*ImportLogInfo)(nil), // 33: inventory.ImportLogInfo (*StockSummaryReq)(nil), // 34: inventory.StockSummaryReq (*StockSummaryResp)(nil), // 35: inventory.StockSummaryResp (*StockGroupReq)(nil), // 36: inventory.StockGroupReq (*StockGroupItem)(nil), // 37: inventory.StockGroupItem (*StockGroupResp)(nil), // 38: inventory.StockGroupResp (*StockCheckInfo)(nil), // 39: inventory.StockCheckInfo (*StockCheckDetailInfo)(nil), // 40: inventory.StockCheckDetailInfo (*CreateStockCheckReq)(nil), // 41: inventory.CreateStockCheckReq (*StockCheckDetailReq)(nil), // 42: inventory.StockCheckDetailReq (*UpdateStockCheckReq)(nil), // 43: inventory.UpdateStockCheckReq (*ConfirmStockCheckReq)(nil), // 44: inventory.ConfirmStockCheckReq (*GetStockCheckReq)(nil), // 45: inventory.GetStockCheckReq (*ListStockCheckReq)(nil), // 46: inventory.ListStockCheckReq (*ListStockCheckResp)(nil), // 47: inventory.ListStockCheckResp (*StockAdjustInfo)(nil), // 48: inventory.StockAdjustInfo (*StockAdjustDetailInfo)(nil), // 49: inventory.StockAdjustDetailInfo (*CreateStockAdjustReq)(nil), // 50: inventory.CreateStockAdjustReq (*StockAdjustDetailReq)(nil), // 51: inventory.StockAdjustDetailReq (*ApproveStockAdjustReq)(nil), // 52: inventory.ApproveStockAdjustReq (*GetStockAdjustReq)(nil), // 53: inventory.GetStockAdjustReq (*ListStockAdjustReq)(nil), // 54: inventory.ListStockAdjustReq (*ListStockAdjustResp)(nil), // 55: inventory.ListStockAdjustResp (*IdResp)(nil), // 56: inventory.IdResp (*Empty)(nil), // 57: inventory.Empty } var file_inventory_proto_depIdxs = []int32{ 8, // 0: inventory.CreateProductReq.pans:type_name -> inventory.PanInput 0, // 1: inventory.ListProductResp.list:type_name -> inventory.ProductInfo 12, // 2: inventory.PanInfo.bolts:type_name -> inventory.BoltInfo 7, // 3: inventory.ListPanResp.list:type_name -> inventory.PanInfo 8, // 4: inventory.SavePansReq.pans:type_name -> inventory.PanInput 12, // 5: inventory.ListBoltResp.list:type_name -> inventory.BoltInfo 0, // 6: inventory.ProductTreeResp.product:type_name -> inventory.ProductInfo 7, // 7: inventory.ProductTreeResp.pans:type_name -> inventory.PanInfo 17, // 8: inventory.ListProductSummaryResp.list:type_name -> inventory.ProductSummaryItem 20, // 9: inventory.ListColorDetailResp.list:type_name -> inventory.ColorDetailItem 23, // 10: inventory.ListPanViewResp.list:type_name -> inventory.PanListItem 26, // 11: inventory.ListBoltViewResp.list:type_name -> inventory.BoltListItem 1, // 12: inventory.ImportProductReq.products:type_name -> inventory.CreateProductReq 33, // 13: inventory.ListImportLogResp.list:type_name -> inventory.ImportLogInfo 37, // 14: inventory.StockGroupResp.list:type_name -> inventory.StockGroupItem 40, // 15: inventory.StockCheckInfo.details:type_name -> inventory.StockCheckDetailInfo 42, // 16: inventory.CreateStockCheckReq.details:type_name -> inventory.StockCheckDetailReq 42, // 17: inventory.UpdateStockCheckReq.details:type_name -> inventory.StockCheckDetailReq 39, // 18: inventory.ListStockCheckResp.list:type_name -> inventory.StockCheckInfo 49, // 19: inventory.StockAdjustInfo.details:type_name -> inventory.StockAdjustDetailInfo 51, // 20: inventory.CreateStockAdjustReq.details:type_name -> inventory.StockAdjustDetailReq 48, // 21: inventory.ListStockAdjustResp.list:type_name -> inventory.StockAdjustInfo 1, // 22: inventory.InventoryService.CreateProduct:input_type -> inventory.CreateProductReq 2, // 23: inventory.InventoryService.UpdateProduct:input_type -> inventory.UpdateProductReq 3, // 24: inventory.InventoryService.DeleteProduct:input_type -> inventory.DeleteProductReq 4, // 25: inventory.InventoryService.GetProduct:input_type -> inventory.GetProductReq 5, // 26: inventory.InventoryService.ListProduct:input_type -> inventory.ListProductReq 4, // 27: inventory.InventoryService.GetProductTree:input_type -> inventory.GetProductReq 18, // 28: inventory.InventoryService.ListProductSummary:input_type -> inventory.ListProductSummaryReq 21, // 29: inventory.InventoryService.ListColorDetail:input_type -> inventory.ListColorDetailReq 24, // 30: inventory.InventoryService.ListPanView:input_type -> inventory.ListPanViewReq 27, // 31: inventory.InventoryService.ListBoltView:input_type -> inventory.ListBoltViewReq 9, // 32: inventory.InventoryService.ListPans:input_type -> inventory.ListPanReq 11, // 33: inventory.InventoryService.SavePans:input_type -> inventory.SavePansReq 13, // 34: inventory.InventoryService.ListBolts:input_type -> inventory.ListBoltReq 15, // 35: inventory.InventoryService.SaveBolts:input_type -> inventory.SaveBoltsReq 29, // 36: inventory.InventoryService.ImportProducts:input_type -> inventory.ImportProductReq 31, // 37: inventory.InventoryService.ListImportLog:input_type -> inventory.ListImportLogReq 34, // 38: inventory.InventoryService.GetStockSummary:input_type -> inventory.StockSummaryReq 36, // 39: inventory.InventoryService.GetStockGroup:input_type -> inventory.StockGroupReq 41, // 40: inventory.InventoryService.CreateStockCheck:input_type -> inventory.CreateStockCheckReq 43, // 41: inventory.InventoryService.UpdateStockCheck:input_type -> inventory.UpdateStockCheckReq 44, // 42: inventory.InventoryService.ConfirmStockCheck:input_type -> inventory.ConfirmStockCheckReq 45, // 43: inventory.InventoryService.GetStockCheck:input_type -> inventory.GetStockCheckReq 46, // 44: inventory.InventoryService.ListStockCheck:input_type -> inventory.ListStockCheckReq 50, // 45: inventory.InventoryService.CreateStockAdjust:input_type -> inventory.CreateStockAdjustReq 52, // 46: inventory.InventoryService.ApproveStockAdjust:input_type -> inventory.ApproveStockAdjustReq 53, // 47: inventory.InventoryService.GetStockAdjust:input_type -> inventory.GetStockAdjustReq 54, // 48: inventory.InventoryService.ListStockAdjust:input_type -> inventory.ListStockAdjustReq 56, // 49: inventory.InventoryService.CreateProduct:output_type -> inventory.IdResp 57, // 50: inventory.InventoryService.UpdateProduct:output_type -> inventory.Empty 57, // 51: inventory.InventoryService.DeleteProduct:output_type -> inventory.Empty 0, // 52: inventory.InventoryService.GetProduct:output_type -> inventory.ProductInfo 6, // 53: inventory.InventoryService.ListProduct:output_type -> inventory.ListProductResp 16, // 54: inventory.InventoryService.GetProductTree:output_type -> inventory.ProductTreeResp 19, // 55: inventory.InventoryService.ListProductSummary:output_type -> inventory.ListProductSummaryResp 22, // 56: inventory.InventoryService.ListColorDetail:output_type -> inventory.ListColorDetailResp 25, // 57: inventory.InventoryService.ListPanView:output_type -> inventory.ListPanViewResp 28, // 58: inventory.InventoryService.ListBoltView:output_type -> inventory.ListBoltViewResp 10, // 59: inventory.InventoryService.ListPans:output_type -> inventory.ListPanResp 57, // 60: inventory.InventoryService.SavePans:output_type -> inventory.Empty 14, // 61: inventory.InventoryService.ListBolts:output_type -> inventory.ListBoltResp 57, // 62: inventory.InventoryService.SaveBolts:output_type -> inventory.Empty 30, // 63: inventory.InventoryService.ImportProducts:output_type -> inventory.ImportProductResp 32, // 64: inventory.InventoryService.ListImportLog:output_type -> inventory.ListImportLogResp 35, // 65: inventory.InventoryService.GetStockSummary:output_type -> inventory.StockSummaryResp 38, // 66: inventory.InventoryService.GetStockGroup:output_type -> inventory.StockGroupResp 56, // 67: inventory.InventoryService.CreateStockCheck:output_type -> inventory.IdResp 57, // 68: inventory.InventoryService.UpdateStockCheck:output_type -> inventory.Empty 57, // 69: inventory.InventoryService.ConfirmStockCheck:output_type -> inventory.Empty 39, // 70: inventory.InventoryService.GetStockCheck:output_type -> inventory.StockCheckInfo 47, // 71: inventory.InventoryService.ListStockCheck:output_type -> inventory.ListStockCheckResp 56, // 72: inventory.InventoryService.CreateStockAdjust:output_type -> inventory.IdResp 57, // 73: inventory.InventoryService.ApproveStockAdjust:output_type -> inventory.Empty 48, // 74: inventory.InventoryService.GetStockAdjust:output_type -> inventory.StockAdjustInfo 55, // 75: inventory.InventoryService.ListStockAdjust:output_type -> inventory.ListStockAdjustResp 49, // [49:76] is the sub-list for method output_type 22, // [22:49] is the sub-list for method input_type 22, // [22:22] is the sub-list for extension type_name 22, // [22:22] is the sub-list for extension extendee 0, // [0:22] is the sub-list for field type_name } func init() { file_inventory_proto_init() } func file_inventory_proto_init() { if File_inventory_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_inventory_proto_rawDesc), len(file_inventory_proto_rawDesc)), NumEnums: 0, NumMessages: 58, NumExtensions: 0, NumServices: 1, }, GoTypes: file_inventory_proto_goTypes, DependencyIndexes: file_inventory_proto_depIdxs, MessageInfos: file_inventory_proto_msgTypes, }.Build() File_inventory_proto = out.File file_inventory_proto_goTypes = nil file_inventory_proto_depIdxs = nil }