muyu-apiserver/rpc/inventory/pb/inventory.pb.go
kae_mihara e3f6fa236d
feat:improve product yarn ratio workflow (#5)
* feat: support product yarn batches

* feat: improve product yarn ratio workflow

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-05 08:06:28 +09:00

5746 lines
171 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.34.1
// 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"`
ColorNo string `protobuf:"bytes,11,opt,name=color_no,json=colorNo,proto3" json:"color_no,omitempty"`
ProductCode string `protobuf:"bytes,12,opt,name=product_code,json=productCode,proto3" json:"product_code,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 ""
}
func (x *ProductInfo) GetColorNo() string {
if x != nil {
return x.ColorNo
}
return ""
}
func (x *ProductInfo) GetProductCode() string {
if x != nil {
return x.ProductCode
}
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"`
ColorNo string `protobuf:"bytes,8,opt,name=color_no,json=colorNo,proto3" json:"color_no,omitempty"`
InitialBatch *ProductBatchInput `protobuf:"bytes,9,opt,name=initial_batch,json=initialBatch,proto3" json:"initial_batch,omitempty"`
ProductCode string `protobuf:"bytes,10,opt,name=product_code,json=productCode,proto3" json:"product_code,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
}
func (x *CreateProductReq) GetColorNo() string {
if x != nil {
return x.ColorNo
}
return ""
}
func (x *CreateProductReq) GetInitialBatch() *ProductBatchInput {
if x != nil {
return x.InitialBatch
}
return nil
}
func (x *CreateProductReq) GetProductCode() string {
if x != nil {
return x.ProductCode
}
return ""
}
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"`
ColorNo string `protobuf:"bytes,8,opt,name=color_no,json=colorNo,proto3" json:"color_no,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 ""
}
func (x *UpdateProductReq) GetColorNo() string {
if x != nil {
return x.ColorNo
}
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"`
ColorNo string `protobuf:"bytes,7,opt,name=color_no,json=colorNo,proto3" json:"color_no,omitempty"`
ProductCode string `protobuf:"bytes,8,opt,name=product_code,json=productCode,proto3" json:"product_code,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
}
func (x *ListProductReq) GetColorNo() string {
if x != nil {
return x.ColorNo
}
return ""
}
func (x *ListProductReq) GetProductCode() string {
if x != nil {
return x.ProductCode
}
return ""
}
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"`
BatchId string `protobuf:"bytes,9,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
BatchNo string `protobuf:"bytes,10,opt,name=batch_no,json=batchNo,proto3" json:"batch_no,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 ""
}
func (x *PanInfo) GetBatchId() string {
if x != nil {
return x.BatchId
}
return ""
}
func (x *PanInfo) GetBatchNo() string {
if x != nil {
return x.BatchNo
}
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"`
BatchId string `protobuf:"bytes,4,opt,name=batch_id,json=batchId,proto3" json:"batch_id,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
}
func (x *PanInput) GetBatchId() string {
if x != nil {
return x.BatchId
}
return ""
}
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"`
ColorNo string `protobuf:"bytes,11,opt,name=color_no,json=colorNo,proto3" json:"color_no,omitempty"`
ProductCode string `protobuf:"bytes,12,opt,name=product_code,json=productCode,proto3" json:"product_code,omitempty"`
BatchCount int64 `protobuf:"varint,13,opt,name=batch_count,json=batchCount,proto3" json:"batch_count,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 ""
}
func (x *ColorDetailItem) GetColorNo() string {
if x != nil {
return x.ColorNo
}
return ""
}
func (x *ColorDetailItem) GetProductCode() string {
if x != nil {
return x.ProductCode
}
return ""
}
func (x *ColorDetailItem) GetBatchCount() int64 {
if x != nil {
return x.BatchCount
}
return 0
}
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"`
BatchId string `protobuf:"bytes,9,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
BatchNo string `protobuf:"bytes,10,opt,name=batch_no,json=batchNo,proto3" json:"batch_no,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 ""
}
func (x *PanListItem) GetBatchId() string {
if x != nil {
return x.BatchId
}
return ""
}
func (x *PanListItem) GetBatchNo() string {
if x != nil {
return x.BatchNo
}
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 YarnInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
YarnId string `protobuf:"bytes,1,opt,name=yarn_id,json=yarnId,proto3" json:"yarn_id,omitempty"`
YarnName string `protobuf:"bytes,2,opt,name=yarn_name,json=yarnName,proto3" json:"yarn_name,omitempty"`
Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
WeightGM string `protobuf:"bytes,4,opt,name=weight_g_m,json=weightGM,proto3" json:"weight_g_m,omitempty"`
SupplierId string `protobuf:"bytes,5,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"`
SupplierName string `protobuf:"bytes,6,opt,name=supplier_name,json=supplierName,proto3" json:"supplier_name,omitempty"`
DyeFactory string `protobuf:"bytes,7,opt,name=dye_factory,json=dyeFactory,proto3" json:"dye_factory,omitempty"`
ImageUrl string `protobuf:"bytes,8,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
Remark string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"`
Status int64 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt string `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt string `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *YarnInfo) Reset() {
*x = YarnInfo{}
mi := &file_inventory_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *YarnInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*YarnInfo) ProtoMessage() {}
func (x *YarnInfo) 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 YarnInfo.ProtoReflect.Descriptor instead.
func (*YarnInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{33}
}
func (x *YarnInfo) GetYarnId() string {
if x != nil {
return x.YarnId
}
return ""
}
func (x *YarnInfo) GetYarnName() string {
if x != nil {
return x.YarnName
}
return ""
}
func (x *YarnInfo) GetColor() string {
if x != nil {
return x.Color
}
return ""
}
func (x *YarnInfo) GetWeightGM() string {
if x != nil {
return x.WeightGM
}
return ""
}
func (x *YarnInfo) GetSupplierId() string {
if x != nil {
return x.SupplierId
}
return ""
}
func (x *YarnInfo) GetSupplierName() string {
if x != nil {
return x.SupplierName
}
return ""
}
func (x *YarnInfo) GetDyeFactory() string {
if x != nil {
return x.DyeFactory
}
return ""
}
func (x *YarnInfo) GetImageUrl() string {
if x != nil {
return x.ImageUrl
}
return ""
}
func (x *YarnInfo) GetRemark() string {
if x != nil {
return x.Remark
}
return ""
}
func (x *YarnInfo) GetStatus() int64 {
if x != nil {
return x.Status
}
return 0
}
func (x *YarnInfo) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *YarnInfo) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
type CreateYarnReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
YarnName string `protobuf:"bytes,1,opt,name=yarn_name,json=yarnName,proto3" json:"yarn_name,omitempty"`
Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
WeightGM string `protobuf:"bytes,3,opt,name=weight_g_m,json=weightGM,proto3" json:"weight_g_m,omitempty"`
SupplierId string `protobuf:"bytes,4,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"`
DyeFactory string `protobuf:"bytes,5,opt,name=dye_factory,json=dyeFactory,proto3" json:"dye_factory,omitempty"`
ImageUrl string `protobuf:"bytes,6,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
Remark string `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateYarnReq) Reset() {
*x = CreateYarnReq{}
mi := &file_inventory_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateYarnReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateYarnReq) ProtoMessage() {}
func (x *CreateYarnReq) 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 CreateYarnReq.ProtoReflect.Descriptor instead.
func (*CreateYarnReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{34}
}
func (x *CreateYarnReq) GetYarnName() string {
if x != nil {
return x.YarnName
}
return ""
}
func (x *CreateYarnReq) GetColor() string {
if x != nil {
return x.Color
}
return ""
}
func (x *CreateYarnReq) GetWeightGM() string {
if x != nil {
return x.WeightGM
}
return ""
}
func (x *CreateYarnReq) GetSupplierId() string {
if x != nil {
return x.SupplierId
}
return ""
}
func (x *CreateYarnReq) GetDyeFactory() string {
if x != nil {
return x.DyeFactory
}
return ""
}
func (x *CreateYarnReq) GetImageUrl() string {
if x != nil {
return x.ImageUrl
}
return ""
}
func (x *CreateYarnReq) GetRemark() string {
if x != nil {
return x.Remark
}
return ""
}
type UpdateYarnReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
YarnId string `protobuf:"bytes,1,opt,name=yarn_id,json=yarnId,proto3" json:"yarn_id,omitempty"`
YarnName string `protobuf:"bytes,2,opt,name=yarn_name,json=yarnName,proto3" json:"yarn_name,omitempty"`
Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
WeightGM string `protobuf:"bytes,4,opt,name=weight_g_m,json=weightGM,proto3" json:"weight_g_m,omitempty"`
SupplierId string `protobuf:"bytes,5,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"`
DyeFactory string `protobuf:"bytes,6,opt,name=dye_factory,json=dyeFactory,proto3" json:"dye_factory,omitempty"`
ImageUrl string `protobuf:"bytes,7,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
Status int64 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateYarnReq) Reset() {
*x = UpdateYarnReq{}
mi := &file_inventory_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateYarnReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateYarnReq) ProtoMessage() {}
func (x *UpdateYarnReq) 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 UpdateYarnReq.ProtoReflect.Descriptor instead.
func (*UpdateYarnReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{35}
}
func (x *UpdateYarnReq) GetYarnId() string {
if x != nil {
return x.YarnId
}
return ""
}
func (x *UpdateYarnReq) GetYarnName() string {
if x != nil {
return x.YarnName
}
return ""
}
func (x *UpdateYarnReq) GetColor() string {
if x != nil {
return x.Color
}
return ""
}
func (x *UpdateYarnReq) GetWeightGM() string {
if x != nil {
return x.WeightGM
}
return ""
}
func (x *UpdateYarnReq) GetSupplierId() string {
if x != nil {
return x.SupplierId
}
return ""
}
func (x *UpdateYarnReq) GetDyeFactory() string {
if x != nil {
return x.DyeFactory
}
return ""
}
func (x *UpdateYarnReq) GetImageUrl() string {
if x != nil {
return x.ImageUrl
}
return ""
}
func (x *UpdateYarnReq) GetRemark() string {
if x != nil {
return x.Remark
}
return ""
}
func (x *UpdateYarnReq) GetStatus() int64 {
if x != nil {
return x.Status
}
return 0
}
type DeleteYarnReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
YarnId string `protobuf:"bytes,1,opt,name=yarn_id,json=yarnId,proto3" json:"yarn_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteYarnReq) Reset() {
*x = DeleteYarnReq{}
mi := &file_inventory_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteYarnReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteYarnReq) ProtoMessage() {}
func (x *DeleteYarnReq) 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 DeleteYarnReq.ProtoReflect.Descriptor instead.
func (*DeleteYarnReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{36}
}
func (x *DeleteYarnReq) GetYarnId() string {
if x != nil {
return x.YarnId
}
return ""
}
type GetYarnReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
YarnId string `protobuf:"bytes,1,opt,name=yarn_id,json=yarnId,proto3" json:"yarn_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetYarnReq) Reset() {
*x = GetYarnReq{}
mi := &file_inventory_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetYarnReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetYarnReq) ProtoMessage() {}
func (x *GetYarnReq) 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 GetYarnReq.ProtoReflect.Descriptor instead.
func (*GetYarnReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{37}
}
func (x *GetYarnReq) GetYarnId() string {
if x != nil {
return x.YarnId
}
return ""
}
type ListYarnReq 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"`
YarnName string `protobuf:"bytes,3,opt,name=yarn_name,json=yarnName,proto3" json:"yarn_name,omitempty"`
SupplierId string `protobuf:"bytes,4,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"`
Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListYarnReq) Reset() {
*x = ListYarnReq{}
mi := &file_inventory_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListYarnReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListYarnReq) ProtoMessage() {}
func (x *ListYarnReq) 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 ListYarnReq.ProtoReflect.Descriptor instead.
func (*ListYarnReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{38}
}
func (x *ListYarnReq) GetPage() int64 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListYarnReq) GetPageSize() int64 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListYarnReq) GetYarnName() string {
if x != nil {
return x.YarnName
}
return ""
}
func (x *ListYarnReq) GetSupplierId() string {
if x != nil {
return x.SupplierId
}
return ""
}
func (x *ListYarnReq) GetStatus() int64 {
if x != nil {
return x.Status
}
return 0
}
type ListYarnResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
List []*YarnInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListYarnResp) Reset() {
*x = ListYarnResp{}
mi := &file_inventory_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListYarnResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListYarnResp) ProtoMessage() {}
func (x *ListYarnResp) 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 ListYarnResp.ProtoReflect.Descriptor instead.
func (*ListYarnResp) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{39}
}
func (x *ListYarnResp) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListYarnResp) GetList() []*YarnInfo {
if x != nil {
return x.List
}
return nil
}
type ProductBatchInput struct {
state protoimpl.MessageState `protogen:"open.v1"`
YarnRatio string `protobuf:"bytes,1,opt,name=yarn_ratio,json=yarnRatio,proto3" json:"yarn_ratio,omitempty"`
WarpWeightGM string `protobuf:"bytes,2,opt,name=warp_weight_g_m,json=warpWeightGM,proto3" json:"warp_weight_g_m,omitempty"`
WeftWeightGM string `protobuf:"bytes,3,opt,name=weft_weight_g_m,json=weftWeightGM,proto3" json:"weft_weight_g_m,omitempty"`
ProductionProcess string `protobuf:"bytes,4,opt,name=production_process,json=productionProcess,proto3" json:"production_process,omitempty"`
Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
BatchNo string `protobuf:"bytes,6,opt,name=batch_no,json=batchNo,proto3" json:"batch_no,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ProductBatchInput) Reset() {
*x = ProductBatchInput{}
mi := &file_inventory_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ProductBatchInput) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProductBatchInput) ProtoMessage() {}
func (x *ProductBatchInput) 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 ProductBatchInput.ProtoReflect.Descriptor instead.
func (*ProductBatchInput) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{40}
}
func (x *ProductBatchInput) GetYarnRatio() string {
if x != nil {
return x.YarnRatio
}
return ""
}
func (x *ProductBatchInput) GetWarpWeightGM() string {
if x != nil {
return x.WarpWeightGM
}
return ""
}
func (x *ProductBatchInput) GetWeftWeightGM() string {
if x != nil {
return x.WeftWeightGM
}
return ""
}
func (x *ProductBatchInput) GetProductionProcess() string {
if x != nil {
return x.ProductionProcess
}
return ""
}
func (x *ProductBatchInput) GetRemark() string {
if x != nil {
return x.Remark
}
return ""
}
func (x *ProductBatchInput) GetBatchNo() string {
if x != nil {
return x.BatchNo
}
return ""
}
type ProductBatchInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
BatchId string `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
BatchNo string `protobuf:"bytes,3,opt,name=batch_no,json=batchNo,proto3" json:"batch_no,omitempty"`
YarnRatio string `protobuf:"bytes,4,opt,name=yarn_ratio,json=yarnRatio,proto3" json:"yarn_ratio,omitempty"`
WarpWeightGM string `protobuf:"bytes,5,opt,name=warp_weight_g_m,json=warpWeightGM,proto3" json:"warp_weight_g_m,omitempty"`
WeftWeightGM string `protobuf:"bytes,6,opt,name=weft_weight_g_m,json=weftWeightGM,proto3" json:"weft_weight_g_m,omitempty"`
ProductionProcess string `protobuf:"bytes,7,opt,name=production_process,json=productionProcess,proto3" json:"production_process,omitempty"`
Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
Status int64 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt string `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ProductBatchInfo) Reset() {
*x = ProductBatchInfo{}
mi := &file_inventory_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ProductBatchInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProductBatchInfo) ProtoMessage() {}
func (x *ProductBatchInfo) 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 ProductBatchInfo.ProtoReflect.Descriptor instead.
func (*ProductBatchInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{41}
}
func (x *ProductBatchInfo) GetBatchId() string {
if x != nil {
return x.BatchId
}
return ""
}
func (x *ProductBatchInfo) GetProductId() string {
if x != nil {
return x.ProductId
}
return ""
}
func (x *ProductBatchInfo) GetBatchNo() string {
if x != nil {
return x.BatchNo
}
return ""
}
func (x *ProductBatchInfo) GetYarnRatio() string {
if x != nil {
return x.YarnRatio
}
return ""
}
func (x *ProductBatchInfo) GetWarpWeightGM() string {
if x != nil {
return x.WarpWeightGM
}
return ""
}
func (x *ProductBatchInfo) GetWeftWeightGM() string {
if x != nil {
return x.WeftWeightGM
}
return ""
}
func (x *ProductBatchInfo) GetProductionProcess() string {
if x != nil {
return x.ProductionProcess
}
return ""
}
func (x *ProductBatchInfo) GetRemark() string {
if x != nil {
return x.Remark
}
return ""
}
func (x *ProductBatchInfo) GetStatus() int64 {
if x != nil {
return x.Status
}
return 0
}
func (x *ProductBatchInfo) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *ProductBatchInfo) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
type CreateProductBatchReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
Batch *ProductBatchInput `protobuf:"bytes,2,opt,name=batch,proto3" json:"batch,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateProductBatchReq) Reset() {
*x = CreateProductBatchReq{}
mi := &file_inventory_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateProductBatchReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateProductBatchReq) ProtoMessage() {}
func (x *CreateProductBatchReq) 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 CreateProductBatchReq.ProtoReflect.Descriptor instead.
func (*CreateProductBatchReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{42}
}
func (x *CreateProductBatchReq) GetProductId() string {
if x != nil {
return x.ProductId
}
return ""
}
func (x *CreateProductBatchReq) GetBatch() *ProductBatchInput {
if x != nil {
return x.Batch
}
return nil
}
type UpdateProductBatchReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
BatchId string `protobuf:"bytes,2,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
Batch *ProductBatchInput `protobuf:"bytes,3,opt,name=batch,proto3" json:"batch,omitempty"`
Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateProductBatchReq) Reset() {
*x = UpdateProductBatchReq{}
mi := &file_inventory_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateProductBatchReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateProductBatchReq) ProtoMessage() {}
func (x *UpdateProductBatchReq) 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 UpdateProductBatchReq.ProtoReflect.Descriptor instead.
func (*UpdateProductBatchReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{43}
}
func (x *UpdateProductBatchReq) GetProductId() string {
if x != nil {
return x.ProductId
}
return ""
}
func (x *UpdateProductBatchReq) GetBatchId() string {
if x != nil {
return x.BatchId
}
return ""
}
func (x *UpdateProductBatchReq) GetBatch() *ProductBatchInput {
if x != nil {
return x.Batch
}
return nil
}
func (x *UpdateProductBatchReq) GetStatus() int64 {
if x != nil {
return x.Status
}
return 0
}
type DeleteProductBatchReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
BatchId string `protobuf:"bytes,2,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteProductBatchReq) Reset() {
*x = DeleteProductBatchReq{}
mi := &file_inventory_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteProductBatchReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteProductBatchReq) ProtoMessage() {}
func (x *DeleteProductBatchReq) 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 DeleteProductBatchReq.ProtoReflect.Descriptor instead.
func (*DeleteProductBatchReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{44}
}
func (x *DeleteProductBatchReq) GetProductId() string {
if x != nil {
return x.ProductId
}
return ""
}
func (x *DeleteProductBatchReq) GetBatchId() string {
if x != nil {
return x.BatchId
}
return ""
}
type ListProductBatchReq 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 *ListProductBatchReq) Reset() {
*x = ListProductBatchReq{}
mi := &file_inventory_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListProductBatchReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListProductBatchReq) ProtoMessage() {}
func (x *ListProductBatchReq) 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 ListProductBatchReq.ProtoReflect.Descriptor instead.
func (*ListProductBatchReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{45}
}
func (x *ListProductBatchReq) GetProductId() string {
if x != nil {
return x.ProductId
}
return ""
}
type ListProductBatchResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
List []*ProductBatchInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListProductBatchResp) Reset() {
*x = ListProductBatchResp{}
mi := &file_inventory_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListProductBatchResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListProductBatchResp) ProtoMessage() {}
func (x *ListProductBatchResp) 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 ListProductBatchResp.ProtoReflect.Descriptor instead.
func (*ListProductBatchResp) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{46}
}
func (x *ListProductBatchResp) GetList() []*ProductBatchInfo {
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[47]
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[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 ImportLogInfo.ProtoReflect.Descriptor instead.
func (*ImportLogInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{47}
}
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[48]
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[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 StockSummaryReq.ProtoReflect.Descriptor instead.
func (*StockSummaryReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{48}
}
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[49]
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[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 StockSummaryResp.ProtoReflect.Descriptor instead.
func (*StockSummaryResp) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{49}
}
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[50]
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[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 StockGroupReq.ProtoReflect.Descriptor instead.
func (*StockGroupReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{50}
}
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[51]
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[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 StockGroupItem.ProtoReflect.Descriptor instead.
func (*StockGroupItem) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{51}
}
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[52]
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[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 StockGroupResp.ProtoReflect.Descriptor instead.
func (*StockGroupResp) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{52}
}
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[53]
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[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 StockCheckInfo.ProtoReflect.Descriptor instead.
func (*StockCheckInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{53}
}
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[54]
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[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 StockCheckDetailInfo.ProtoReflect.Descriptor instead.
func (*StockCheckDetailInfo) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{54}
}
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[55]
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[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 CreateStockCheckReq.ProtoReflect.Descriptor instead.
func (*CreateStockCheckReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{55}
}
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[56]
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[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 StockCheckDetailReq.ProtoReflect.Descriptor instead.
func (*StockCheckDetailReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{56}
}
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[57]
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[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 UpdateStockCheckReq.ProtoReflect.Descriptor instead.
func (*UpdateStockCheckReq) Descriptor() ([]byte, []int) {
return file_inventory_proto_rawDescGZIP(), []int{57}
}
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[58]
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[58]
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{58}
}
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[59]
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[59]
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{59}
}
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[60]
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[60]
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{60}
}
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[61]
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[61]
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{61}
}
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[62]
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[62]
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{62}
}
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[63]
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[63]
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{63}
}
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[64]
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[64]
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{64}
}
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[65]
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[65]
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{65}
}
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[66]
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[66]
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{66}
}
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[67]
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[67]
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{67}
}
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[68]
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[68]
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{68}
}
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[69]
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[69]
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{69}
}
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[70]
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[70]
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{70}
}
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[71]
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[71]
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{71}
}
var File_inventory_proto protoreflect.FileDescriptor
const file_inventory_proto_rawDesc = "" +
"\n" +
"\x0finventory.proto\x12\tinventory\"\xe3\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\x12\x19\n" +
"\bcolor_no\x18\v \x01(\tR\acolorNo\x12!\n" +
"\fproduct_code\x18\f \x01(\tR\vproductCode\"\xdf\x02\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\x12\x19\n" +
"\bcolor_no\x18\b \x01(\tR\acolorNo\x12A\n" +
"\rinitial_batch\x18\t \x01(\v2\x1c.inventory.ProductBatchInputR\finitialBatch\x12!\n" +
"\fproduct_code\x18\n" +
" \x01(\tR\vproductCode\"\xef\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\x12\x19\n" +
"\bcolor_no\x18\b \x01(\tR\acolorNo\"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\"\xe4\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\x12\x19\n" +
"\bcolor_no\x18\a \x01(\tR\acolorNo\x12!\n" +
"\fproduct_code\x18\b \x01(\tR\vproductCode\"S\n" +
"\x0fListProductResp\x12\x14\n" +
"\x05total\x18\x01 \x01(\x03R\x05total\x12*\n" +
"\x04list\x18\x02 \x03(\v2\x16.inventory.ProductInfoR\x04list\"\xb1\x02\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\x12\x19\n" +
"\bbatch_id\x18\t \x01(\tR\abatchId\x12\x19\n" +
"\bbatch_no\x18\n" +
" \x01(\tR\abatchNo\"x\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\x12\x19\n" +
"\bbatch_id\x18\x04 \x01(\tR\abatchId\"+\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\"\x9a\x03\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\x12\x19\n" +
"\bcolor_no\x18\v \x01(\tR\acolorNo\x12!\n" +
"\fproduct_code\x18\f \x01(\tR\vproductCode\x12\x1f\n" +
"\vbatch_count\x18\r \x01(\x03R\n" +
"batchCount\"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\"\xa9\x02\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\x12\x19\n" +
"\bbatch_id\x18\t \x01(\tR\abatchId\x12\x19\n" +
"\bbatch_no\x18\n" +
" \x01(\tR\abatchNo\"\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\"\xe6\x02\n" +
"\bYarnInfo\x12\x17\n" +
"\ayarn_id\x18\x01 \x01(\tR\x06yarnId\x12\x1b\n" +
"\tyarn_name\x18\x02 \x01(\tR\byarnName\x12\x14\n" +
"\x05color\x18\x03 \x01(\tR\x05color\x12\x1c\n" +
"\n" +
"weight_g_m\x18\x04 \x01(\tR\bweightGM\x12\x1f\n" +
"\vsupplier_id\x18\x05 \x01(\tR\n" +
"supplierId\x12#\n" +
"\rsupplier_name\x18\x06 \x01(\tR\fsupplierName\x12\x1f\n" +
"\vdye_factory\x18\a \x01(\tR\n" +
"dyeFactory\x12\x1b\n" +
"\timage_url\x18\b \x01(\tR\bimageUrl\x12\x16\n" +
"\x06remark\x18\t \x01(\tR\x06remark\x12\x16\n" +
"\x06status\x18\n" +
" \x01(\x03R\x06status\x12\x1d\n" +
"\n" +
"created_at\x18\v \x01(\tR\tcreatedAt\x12\x1d\n" +
"\n" +
"updated_at\x18\f \x01(\tR\tupdatedAt\"\xd7\x01\n" +
"\rCreateYarnReq\x12\x1b\n" +
"\tyarn_name\x18\x01 \x01(\tR\byarnName\x12\x14\n" +
"\x05color\x18\x02 \x01(\tR\x05color\x12\x1c\n" +
"\n" +
"weight_g_m\x18\x03 \x01(\tR\bweightGM\x12\x1f\n" +
"\vsupplier_id\x18\x04 \x01(\tR\n" +
"supplierId\x12\x1f\n" +
"\vdye_factory\x18\x05 \x01(\tR\n" +
"dyeFactory\x12\x1b\n" +
"\timage_url\x18\x06 \x01(\tR\bimageUrl\x12\x16\n" +
"\x06remark\x18\a \x01(\tR\x06remark\"\x88\x02\n" +
"\rUpdateYarnReq\x12\x17\n" +
"\ayarn_id\x18\x01 \x01(\tR\x06yarnId\x12\x1b\n" +
"\tyarn_name\x18\x02 \x01(\tR\byarnName\x12\x14\n" +
"\x05color\x18\x03 \x01(\tR\x05color\x12\x1c\n" +
"\n" +
"weight_g_m\x18\x04 \x01(\tR\bweightGM\x12\x1f\n" +
"\vsupplier_id\x18\x05 \x01(\tR\n" +
"supplierId\x12\x1f\n" +
"\vdye_factory\x18\x06 \x01(\tR\n" +
"dyeFactory\x12\x1b\n" +
"\timage_url\x18\a \x01(\tR\bimageUrl\x12\x16\n" +
"\x06remark\x18\b \x01(\tR\x06remark\x12\x16\n" +
"\x06status\x18\t \x01(\x03R\x06status\"(\n" +
"\rDeleteYarnReq\x12\x17\n" +
"\ayarn_id\x18\x01 \x01(\tR\x06yarnId\"%\n" +
"\n" +
"GetYarnReq\x12\x17\n" +
"\ayarn_id\x18\x01 \x01(\tR\x06yarnId\"\x94\x01\n" +
"\vListYarnReq\x12\x12\n" +
"\x04page\x18\x01 \x01(\x03R\x04page\x12\x1b\n" +
"\tpage_size\x18\x02 \x01(\x03R\bpageSize\x12\x1b\n" +
"\tyarn_name\x18\x03 \x01(\tR\byarnName\x12\x1f\n" +
"\vsupplier_id\x18\x04 \x01(\tR\n" +
"supplierId\x12\x16\n" +
"\x06status\x18\x05 \x01(\x03R\x06status\"M\n" +
"\fListYarnResp\x12\x14\n" +
"\x05total\x18\x01 \x01(\x03R\x05total\x12'\n" +
"\x04list\x18\x02 \x03(\v2\x13.inventory.YarnInfoR\x04list\"\xe2\x01\n" +
"\x11ProductBatchInput\x12\x1d\n" +
"\n" +
"yarn_ratio\x18\x01 \x01(\tR\tyarnRatio\x12%\n" +
"\x0fwarp_weight_g_m\x18\x02 \x01(\tR\fwarpWeightGM\x12%\n" +
"\x0fweft_weight_g_m\x18\x03 \x01(\tR\fweftWeightGM\x12-\n" +
"\x12production_process\x18\x04 \x01(\tR\x11productionProcess\x12\x16\n" +
"\x06remark\x18\x05 \x01(\tR\x06remark\x12\x19\n" +
"\bbatch_no\x18\x06 \x01(\tR\abatchNo\"\xf1\x02\n" +
"\x10ProductBatchInfo\x12\x19\n" +
"\bbatch_id\x18\x01 \x01(\tR\abatchId\x12\x1d\n" +
"\n" +
"product_id\x18\x02 \x01(\tR\tproductId\x12\x19\n" +
"\bbatch_no\x18\x03 \x01(\tR\abatchNo\x12\x1d\n" +
"\n" +
"yarn_ratio\x18\x04 \x01(\tR\tyarnRatio\x12%\n" +
"\x0fwarp_weight_g_m\x18\x05 \x01(\tR\fwarpWeightGM\x12%\n" +
"\x0fweft_weight_g_m\x18\x06 \x01(\tR\fweftWeightGM\x12-\n" +
"\x12production_process\x18\a \x01(\tR\x11productionProcess\x12\x16\n" +
"\x06remark\x18\b \x01(\tR\x06remark\x12\x16\n" +
"\x06status\x18\t \x01(\x03R\x06status\x12\x1d\n" +
"\n" +
"created_at\x18\n" +
" \x01(\tR\tcreatedAt\x12\x1d\n" +
"\n" +
"updated_at\x18\v \x01(\tR\tupdatedAt\"j\n" +
"\x15CreateProductBatchReq\x12\x1d\n" +
"\n" +
"product_id\x18\x01 \x01(\tR\tproductId\x122\n" +
"\x05batch\x18\x02 \x01(\v2\x1c.inventory.ProductBatchInputR\x05batch\"\x9d\x01\n" +
"\x15UpdateProductBatchReq\x12\x1d\n" +
"\n" +
"product_id\x18\x01 \x01(\tR\tproductId\x12\x19\n" +
"\bbatch_id\x18\x02 \x01(\tR\abatchId\x122\n" +
"\x05batch\x18\x03 \x01(\v2\x1c.inventory.ProductBatchInputR\x05batch\x12\x16\n" +
"\x06status\x18\x04 \x01(\x03R\x06status\"Q\n" +
"\x15DeleteProductBatchReq\x12\x1d\n" +
"\n" +
"product_id\x18\x01 \x01(\tR\tproductId\x12\x19\n" +
"\bbatch_id\x18\x02 \x01(\tR\abatchId\"4\n" +
"\x13ListProductBatchReq\x12\x1d\n" +
"\n" +
"product_id\x18\x01 \x01(\tR\tproductId\"G\n" +
"\x14ListProductBatchResp\x12/\n" +
"\x04list\x18\x01 \x03(\v2\x1b.inventory.ProductBatchInfoR\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\xe4\x13\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\x129\n" +
"\n" +
"CreateYarn\x12\x18.inventory.CreateYarnReq\x1a\x11.inventory.IdResp\x128\n" +
"\n" +
"UpdateYarn\x12\x18.inventory.UpdateYarnReq\x1a\x10.inventory.Empty\x128\n" +
"\n" +
"DeleteYarn\x12\x18.inventory.DeleteYarnReq\x1a\x10.inventory.Empty\x125\n" +
"\aGetYarn\x12\x15.inventory.GetYarnReq\x1a\x13.inventory.YarnInfo\x12;\n" +
"\bListYarn\x12\x16.inventory.ListYarnReq\x1a\x17.inventory.ListYarnResp\x12I\n" +
"\x12CreateProductBatch\x12 .inventory.CreateProductBatchReq\x1a\x11.inventory.IdResp\x12H\n" +
"\x12UpdateProductBatch\x12 .inventory.UpdateProductBatchReq\x1a\x10.inventory.Empty\x12H\n" +
"\x12DeleteProductBatch\x12 .inventory.DeleteProductBatchReq\x1a\x10.inventory.Empty\x12S\n" +
"\x10ListProductBatch\x12\x1e.inventory.ListProductBatchReq\x1a\x1f.inventory.ListProductBatchResp\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, 72)
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
(*YarnInfo)(nil), // 33: inventory.YarnInfo
(*CreateYarnReq)(nil), // 34: inventory.CreateYarnReq
(*UpdateYarnReq)(nil), // 35: inventory.UpdateYarnReq
(*DeleteYarnReq)(nil), // 36: inventory.DeleteYarnReq
(*GetYarnReq)(nil), // 37: inventory.GetYarnReq
(*ListYarnReq)(nil), // 38: inventory.ListYarnReq
(*ListYarnResp)(nil), // 39: inventory.ListYarnResp
(*ProductBatchInput)(nil), // 40: inventory.ProductBatchInput
(*ProductBatchInfo)(nil), // 41: inventory.ProductBatchInfo
(*CreateProductBatchReq)(nil), // 42: inventory.CreateProductBatchReq
(*UpdateProductBatchReq)(nil), // 43: inventory.UpdateProductBatchReq
(*DeleteProductBatchReq)(nil), // 44: inventory.DeleteProductBatchReq
(*ListProductBatchReq)(nil), // 45: inventory.ListProductBatchReq
(*ListProductBatchResp)(nil), // 46: inventory.ListProductBatchResp
(*ImportLogInfo)(nil), // 47: inventory.ImportLogInfo
(*StockSummaryReq)(nil), // 48: inventory.StockSummaryReq
(*StockSummaryResp)(nil), // 49: inventory.StockSummaryResp
(*StockGroupReq)(nil), // 50: inventory.StockGroupReq
(*StockGroupItem)(nil), // 51: inventory.StockGroupItem
(*StockGroupResp)(nil), // 52: inventory.StockGroupResp
(*StockCheckInfo)(nil), // 53: inventory.StockCheckInfo
(*StockCheckDetailInfo)(nil), // 54: inventory.StockCheckDetailInfo
(*CreateStockCheckReq)(nil), // 55: inventory.CreateStockCheckReq
(*StockCheckDetailReq)(nil), // 56: inventory.StockCheckDetailReq
(*UpdateStockCheckReq)(nil), // 57: inventory.UpdateStockCheckReq
(*ConfirmStockCheckReq)(nil), // 58: inventory.ConfirmStockCheckReq
(*GetStockCheckReq)(nil), // 59: inventory.GetStockCheckReq
(*ListStockCheckReq)(nil), // 60: inventory.ListStockCheckReq
(*ListStockCheckResp)(nil), // 61: inventory.ListStockCheckResp
(*StockAdjustInfo)(nil), // 62: inventory.StockAdjustInfo
(*StockAdjustDetailInfo)(nil), // 63: inventory.StockAdjustDetailInfo
(*CreateStockAdjustReq)(nil), // 64: inventory.CreateStockAdjustReq
(*StockAdjustDetailReq)(nil), // 65: inventory.StockAdjustDetailReq
(*ApproveStockAdjustReq)(nil), // 66: inventory.ApproveStockAdjustReq
(*GetStockAdjustReq)(nil), // 67: inventory.GetStockAdjustReq
(*ListStockAdjustReq)(nil), // 68: inventory.ListStockAdjustReq
(*ListStockAdjustResp)(nil), // 69: inventory.ListStockAdjustResp
(*IdResp)(nil), // 70: inventory.IdResp
(*Empty)(nil), // 71: inventory.Empty
}
var file_inventory_proto_depIdxs = []int32{
8, // 0: inventory.CreateProductReq.pans:type_name -> inventory.PanInput
40, // 1: inventory.CreateProductReq.initial_batch:type_name -> inventory.ProductBatchInput
0, // 2: inventory.ListProductResp.list:type_name -> inventory.ProductInfo
12, // 3: inventory.PanInfo.bolts:type_name -> inventory.BoltInfo
7, // 4: inventory.ListPanResp.list:type_name -> inventory.PanInfo
8, // 5: inventory.SavePansReq.pans:type_name -> inventory.PanInput
12, // 6: inventory.ListBoltResp.list:type_name -> inventory.BoltInfo
0, // 7: inventory.ProductTreeResp.product:type_name -> inventory.ProductInfo
7, // 8: inventory.ProductTreeResp.pans:type_name -> inventory.PanInfo
17, // 9: inventory.ListProductSummaryResp.list:type_name -> inventory.ProductSummaryItem
20, // 10: inventory.ListColorDetailResp.list:type_name -> inventory.ColorDetailItem
23, // 11: inventory.ListPanViewResp.list:type_name -> inventory.PanListItem
26, // 12: inventory.ListBoltViewResp.list:type_name -> inventory.BoltListItem
1, // 13: inventory.ImportProductReq.products:type_name -> inventory.CreateProductReq
47, // 14: inventory.ListImportLogResp.list:type_name -> inventory.ImportLogInfo
33, // 15: inventory.ListYarnResp.list:type_name -> inventory.YarnInfo
40, // 16: inventory.CreateProductBatchReq.batch:type_name -> inventory.ProductBatchInput
40, // 17: inventory.UpdateProductBatchReq.batch:type_name -> inventory.ProductBatchInput
41, // 18: inventory.ListProductBatchResp.list:type_name -> inventory.ProductBatchInfo
51, // 19: inventory.StockGroupResp.list:type_name -> inventory.StockGroupItem
54, // 20: inventory.StockCheckInfo.details:type_name -> inventory.StockCheckDetailInfo
56, // 21: inventory.CreateStockCheckReq.details:type_name -> inventory.StockCheckDetailReq
56, // 22: inventory.UpdateStockCheckReq.details:type_name -> inventory.StockCheckDetailReq
53, // 23: inventory.ListStockCheckResp.list:type_name -> inventory.StockCheckInfo
63, // 24: inventory.StockAdjustInfo.details:type_name -> inventory.StockAdjustDetailInfo
65, // 25: inventory.CreateStockAdjustReq.details:type_name -> inventory.StockAdjustDetailReq
62, // 26: inventory.ListStockAdjustResp.list:type_name -> inventory.StockAdjustInfo
1, // 27: inventory.InventoryService.CreateProduct:input_type -> inventory.CreateProductReq
2, // 28: inventory.InventoryService.UpdateProduct:input_type -> inventory.UpdateProductReq
3, // 29: inventory.InventoryService.DeleteProduct:input_type -> inventory.DeleteProductReq
4, // 30: inventory.InventoryService.GetProduct:input_type -> inventory.GetProductReq
5, // 31: inventory.InventoryService.ListProduct:input_type -> inventory.ListProductReq
4, // 32: inventory.InventoryService.GetProductTree:input_type -> inventory.GetProductReq
18, // 33: inventory.InventoryService.ListProductSummary:input_type -> inventory.ListProductSummaryReq
21, // 34: inventory.InventoryService.ListColorDetail:input_type -> inventory.ListColorDetailReq
34, // 35: inventory.InventoryService.CreateYarn:input_type -> inventory.CreateYarnReq
35, // 36: inventory.InventoryService.UpdateYarn:input_type -> inventory.UpdateYarnReq
36, // 37: inventory.InventoryService.DeleteYarn:input_type -> inventory.DeleteYarnReq
37, // 38: inventory.InventoryService.GetYarn:input_type -> inventory.GetYarnReq
38, // 39: inventory.InventoryService.ListYarn:input_type -> inventory.ListYarnReq
42, // 40: inventory.InventoryService.CreateProductBatch:input_type -> inventory.CreateProductBatchReq
43, // 41: inventory.InventoryService.UpdateProductBatch:input_type -> inventory.UpdateProductBatchReq
44, // 42: inventory.InventoryService.DeleteProductBatch:input_type -> inventory.DeleteProductBatchReq
45, // 43: inventory.InventoryService.ListProductBatch:input_type -> inventory.ListProductBatchReq
24, // 44: inventory.InventoryService.ListPanView:input_type -> inventory.ListPanViewReq
27, // 45: inventory.InventoryService.ListBoltView:input_type -> inventory.ListBoltViewReq
9, // 46: inventory.InventoryService.ListPans:input_type -> inventory.ListPanReq
11, // 47: inventory.InventoryService.SavePans:input_type -> inventory.SavePansReq
13, // 48: inventory.InventoryService.ListBolts:input_type -> inventory.ListBoltReq
15, // 49: inventory.InventoryService.SaveBolts:input_type -> inventory.SaveBoltsReq
29, // 50: inventory.InventoryService.ImportProducts:input_type -> inventory.ImportProductReq
31, // 51: inventory.InventoryService.ListImportLog:input_type -> inventory.ListImportLogReq
48, // 52: inventory.InventoryService.GetStockSummary:input_type -> inventory.StockSummaryReq
50, // 53: inventory.InventoryService.GetStockGroup:input_type -> inventory.StockGroupReq
55, // 54: inventory.InventoryService.CreateStockCheck:input_type -> inventory.CreateStockCheckReq
57, // 55: inventory.InventoryService.UpdateStockCheck:input_type -> inventory.UpdateStockCheckReq
58, // 56: inventory.InventoryService.ConfirmStockCheck:input_type -> inventory.ConfirmStockCheckReq
59, // 57: inventory.InventoryService.GetStockCheck:input_type -> inventory.GetStockCheckReq
60, // 58: inventory.InventoryService.ListStockCheck:input_type -> inventory.ListStockCheckReq
64, // 59: inventory.InventoryService.CreateStockAdjust:input_type -> inventory.CreateStockAdjustReq
66, // 60: inventory.InventoryService.ApproveStockAdjust:input_type -> inventory.ApproveStockAdjustReq
67, // 61: inventory.InventoryService.GetStockAdjust:input_type -> inventory.GetStockAdjustReq
68, // 62: inventory.InventoryService.ListStockAdjust:input_type -> inventory.ListStockAdjustReq
70, // 63: inventory.InventoryService.CreateProduct:output_type -> inventory.IdResp
71, // 64: inventory.InventoryService.UpdateProduct:output_type -> inventory.Empty
71, // 65: inventory.InventoryService.DeleteProduct:output_type -> inventory.Empty
0, // 66: inventory.InventoryService.GetProduct:output_type -> inventory.ProductInfo
6, // 67: inventory.InventoryService.ListProduct:output_type -> inventory.ListProductResp
16, // 68: inventory.InventoryService.GetProductTree:output_type -> inventory.ProductTreeResp
19, // 69: inventory.InventoryService.ListProductSummary:output_type -> inventory.ListProductSummaryResp
22, // 70: inventory.InventoryService.ListColorDetail:output_type -> inventory.ListColorDetailResp
70, // 71: inventory.InventoryService.CreateYarn:output_type -> inventory.IdResp
71, // 72: inventory.InventoryService.UpdateYarn:output_type -> inventory.Empty
71, // 73: inventory.InventoryService.DeleteYarn:output_type -> inventory.Empty
33, // 74: inventory.InventoryService.GetYarn:output_type -> inventory.YarnInfo
39, // 75: inventory.InventoryService.ListYarn:output_type -> inventory.ListYarnResp
70, // 76: inventory.InventoryService.CreateProductBatch:output_type -> inventory.IdResp
71, // 77: inventory.InventoryService.UpdateProductBatch:output_type -> inventory.Empty
71, // 78: inventory.InventoryService.DeleteProductBatch:output_type -> inventory.Empty
46, // 79: inventory.InventoryService.ListProductBatch:output_type -> inventory.ListProductBatchResp
25, // 80: inventory.InventoryService.ListPanView:output_type -> inventory.ListPanViewResp
28, // 81: inventory.InventoryService.ListBoltView:output_type -> inventory.ListBoltViewResp
10, // 82: inventory.InventoryService.ListPans:output_type -> inventory.ListPanResp
71, // 83: inventory.InventoryService.SavePans:output_type -> inventory.Empty
14, // 84: inventory.InventoryService.ListBolts:output_type -> inventory.ListBoltResp
71, // 85: inventory.InventoryService.SaveBolts:output_type -> inventory.Empty
30, // 86: inventory.InventoryService.ImportProducts:output_type -> inventory.ImportProductResp
32, // 87: inventory.InventoryService.ListImportLog:output_type -> inventory.ListImportLogResp
49, // 88: inventory.InventoryService.GetStockSummary:output_type -> inventory.StockSummaryResp
52, // 89: inventory.InventoryService.GetStockGroup:output_type -> inventory.StockGroupResp
70, // 90: inventory.InventoryService.CreateStockCheck:output_type -> inventory.IdResp
71, // 91: inventory.InventoryService.UpdateStockCheck:output_type -> inventory.Empty
71, // 92: inventory.InventoryService.ConfirmStockCheck:output_type -> inventory.Empty
53, // 93: inventory.InventoryService.GetStockCheck:output_type -> inventory.StockCheckInfo
61, // 94: inventory.InventoryService.ListStockCheck:output_type -> inventory.ListStockCheckResp
70, // 95: inventory.InventoryService.CreateStockAdjust:output_type -> inventory.IdResp
71, // 96: inventory.InventoryService.ApproveStockAdjust:output_type -> inventory.Empty
62, // 97: inventory.InventoryService.GetStockAdjust:output_type -> inventory.StockAdjustInfo
69, // 98: inventory.InventoryService.ListStockAdjust:output_type -> inventory.ListStockAdjustResp
63, // [63:99] is the sub-list for method output_type
27, // [27:63] is the sub-list for method input_type
27, // [27:27] is the sub-list for extension type_name
27, // [27:27] is the sub-list for extension extendee
0, // [0:27] 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: 72,
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
}