Documentation ¶
Index ¶
- Variables
- func RegisterBrandServiceServer(s grpc.ServiceRegistrar, srv BrandServiceServer)
- func RegisterCategoryServiceServer(s grpc.ServiceRegistrar, srv CategoryServiceServer)
- func RegisterDeliveryReturnServiceServer(s grpc.ServiceRegistrar, srv DeliveryReturnServiceServer)
- func RegisterDeliveryServiceServer(s grpc.ServiceRegistrar, srv DeliveryServiceServer)
- func RegisterProductCategoryServiceServer(s grpc.ServiceRegistrar, srv ProductCategoryServiceServer)
- func RegisterProductServiceServer(s grpc.ServiceRegistrar, srv ProductServiceServer)
- func RegisterReceiveReturnServiceServer(s grpc.ServiceRegistrar, srv ReceiveReturnServiceServer)
- func RegisterReceiveServiceServer(s grpc.ServiceRegistrar, srv ReceiveServiceServer)
- func RegisterShelveServiceServer(s grpc.ServiceRegistrar, srv ShelveServiceServer)
- func RegisterStockServiceServer(s grpc.ServiceRegistrar, srv StockServiceServer)
- func RegisterWarehouseServiceServer(s grpc.ServiceRegistrar, srv WarehouseServiceServer)
- type Brand
- func (*Brand) Descriptor() ([]byte, []int)deprecated
- func (x *Brand) GetCode() string
- func (x *Brand) GetCompanyId() string
- func (x *Brand) GetCreatedAt() string
- func (x *Brand) GetCreatedBy() string
- func (x *Brand) GetId() string
- func (x *Brand) GetName() string
- func (x *Brand) GetUpdatedAt() string
- func (x *Brand) GetUpdatedBy() string
- func (*Brand) ProtoMessage()
- func (x *Brand) ProtoReflect() protoreflect.Message
- func (x *Brand) Reset()
- func (x *Brand) String() string
- type BrandServiceClient
- type BrandServiceServer
- type BrandService_ListClient
- type BrandService_ListServer
- type Category
- type CategoryServiceClient
- type CategoryServiceServer
- type CategoryService_ListClient
- type CategoryService_ListServer
- type ClosingStockRequest
- func (*ClosingStockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClosingStockRequest) GetMonth() int32
- func (x *ClosingStockRequest) GetYear() int32
- func (*ClosingStockRequest) ProtoMessage()
- func (x *ClosingStockRequest) ProtoReflect() protoreflect.Message
- func (x *ClosingStockRequest) Reset()
- func (x *ClosingStockRequest) String() string
- type Delivery
- func (*Delivery) Descriptor() ([]byte, []int)deprecated
- func (x *Delivery) GetBranchId() string
- func (x *Delivery) GetBranchName() string
- func (x *Delivery) GetCode() string
- func (x *Delivery) GetCreatedAt() string
- func (x *Delivery) GetCreatedBy() string
- func (x *Delivery) GetDeliveryDate() string
- func (x *Delivery) GetDetails() []*DeliveryDetail
- func (x *Delivery) GetId() string
- func (x *Delivery) GetRemark() string
- func (x *Delivery) GetSalesOrderId() string
- func (x *Delivery) GetUpdatedAt() string
- func (x *Delivery) GetUpdatedBy() string
- func (*Delivery) ProtoMessage()
- func (x *Delivery) ProtoReflect() protoreflect.Message
- func (x *Delivery) Reset()
- func (x *Delivery) String() string
- type DeliveryDetail
- func (*DeliveryDetail) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryDetail) GetBarcode() string
- func (x *DeliveryDetail) GetDeliveryId() string
- func (x *DeliveryDetail) GetId() string
- func (x *DeliveryDetail) GetProduct() *Product
- func (x *DeliveryDetail) GetShelve() *Shelve
- func (*DeliveryDetail) ProtoMessage()
- func (x *DeliveryDetail) ProtoReflect() protoreflect.Message
- func (x *DeliveryDetail) Reset()
- func (x *DeliveryDetail) String() string
- type DeliveryPaginationResponse
- func (*DeliveryPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryPaginationResponse) GetBranchId() string
- func (x *DeliveryPaginationResponse) GetCount() uint32
- func (x *DeliveryPaginationResponse) GetPagination() *Pagination
- func (x *DeliveryPaginationResponse) GetSalesOrderId() string
- func (*DeliveryPaginationResponse) ProtoMessage()
- func (x *DeliveryPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *DeliveryPaginationResponse) Reset()
- func (x *DeliveryPaginationResponse) String() string
- type DeliveryReturn
- func (*DeliveryReturn) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryReturn) GetBranchId() string
- func (x *DeliveryReturn) GetBranchName() string
- func (x *DeliveryReturn) GetCode() string
- func (x *DeliveryReturn) GetCompanyId() string
- func (x *DeliveryReturn) GetCreatedAt() string
- func (x *DeliveryReturn) GetCreatedBy() string
- func (x *DeliveryReturn) GetDelivery() *Delivery
- func (x *DeliveryReturn) GetDetails() []*DeliveryReturnDetail
- func (x *DeliveryReturn) GetId() string
- func (x *DeliveryReturn) GetRemark() string
- func (x *DeliveryReturn) GetReturnDate() string
- func (x *DeliveryReturn) GetUpdatedAt() string
- func (x *DeliveryReturn) GetUpdatedBy() string
- func (*DeliveryReturn) ProtoMessage()
- func (x *DeliveryReturn) ProtoReflect() protoreflect.Message
- func (x *DeliveryReturn) Reset()
- func (x *DeliveryReturn) String() string
- type DeliveryReturnDetail
- func (*DeliveryReturnDetail) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryReturnDetail) GetCode() string
- func (x *DeliveryReturnDetail) GetDeliveryReturnId() string
- func (x *DeliveryReturnDetail) GetId() string
- func (x *DeliveryReturnDetail) GetProduct() *Product
- func (x *DeliveryReturnDetail) GetQty() uint32
- func (x *DeliveryReturnDetail) GetShelve() *Shelve
- func (*DeliveryReturnDetail) ProtoMessage()
- func (x *DeliveryReturnDetail) ProtoReflect() protoreflect.Message
- func (x *DeliveryReturnDetail) Reset()
- func (x *DeliveryReturnDetail) String() string
- type DeliveryReturnPaginationResponse
- func (*DeliveryReturnPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeliveryReturnPaginationResponse) GetBranchId() string
- func (x *DeliveryReturnPaginationResponse) GetCount() uint32
- func (x *DeliveryReturnPaginationResponse) GetDeliveryId() string
- func (x *DeliveryReturnPaginationResponse) GetPagination() *Pagination
- func (*DeliveryReturnPaginationResponse) ProtoMessage()
- func (x *DeliveryReturnPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *DeliveryReturnPaginationResponse) Reset()
- func (x *DeliveryReturnPaginationResponse) String() string
- type DeliveryReturnServiceClient
- type DeliveryReturnServiceServer
- type DeliveryReturnService_ListClient
- type DeliveryReturnService_ListServer
- type DeliveryServiceClient
- type DeliveryServiceServer
- type DeliveryService_ListClient
- type DeliveryService_ListServer
- type Id
- type ListBrandResponse
- func (*ListBrandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBrandResponse) GetBrand() *Brand
- func (x *ListBrandResponse) GetPagination() *PaginationResponse
- func (*ListBrandResponse) ProtoMessage()
- func (x *ListBrandResponse) ProtoReflect() protoreflect.Message
- func (x *ListBrandResponse) Reset()
- func (x *ListBrandResponse) String() string
- type ListDeliveryRequest
- func (*ListDeliveryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeliveryRequest) GetBranchId() string
- func (x *ListDeliveryRequest) GetPagination() *Pagination
- func (x *ListDeliveryRequest) GetSalesOrderId() string
- func (*ListDeliveryRequest) ProtoMessage()
- func (x *ListDeliveryRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeliveryRequest) Reset()
- func (x *ListDeliveryRequest) String() string
- type ListDeliveryResponse
- func (*ListDeliveryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeliveryResponse) GetDelivery() *Delivery
- func (x *ListDeliveryResponse) GetPagination() *DeliveryPaginationResponse
- func (*ListDeliveryResponse) ProtoMessage()
- func (x *ListDeliveryResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeliveryResponse) Reset()
- func (x *ListDeliveryResponse) String() string
- type ListDeliveryReturnRequest
- func (*ListDeliveryReturnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeliveryReturnRequest) GetBranchId() string
- func (x *ListDeliveryReturnRequest) GetDeliveryId() string
- func (x *ListDeliveryReturnRequest) GetPagination() *Pagination
- func (*ListDeliveryReturnRequest) ProtoMessage()
- func (x *ListDeliveryReturnRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeliveryReturnRequest) Reset()
- func (x *ListDeliveryReturnRequest) String() string
- type ListDeliveryReturnResponse
- func (*ListDeliveryReturnResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeliveryReturnResponse) GetDeliveryReturn() *DeliveryReturn
- func (x *ListDeliveryReturnResponse) GetPagination() *DeliveryReturnPaginationResponse
- func (*ListDeliveryReturnResponse) ProtoMessage()
- func (x *ListDeliveryReturnResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeliveryReturnResponse) Reset()
- func (x *ListDeliveryReturnResponse) String() string
- type ListProductCategoryRequest
- func (*ListProductCategoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductCategoryRequest) GetCategoryId() string
- func (x *ListProductCategoryRequest) GetPagination() *Pagination
- func (*ListProductCategoryRequest) ProtoMessage()
- func (x *ListProductCategoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListProductCategoryRequest) Reset()
- func (x *ListProductCategoryRequest) String() string
- type ListProductCategoryResponse
- func (*ListProductCategoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductCategoryResponse) GetPagination() *ProductCategoryPaginationResponse
- func (x *ListProductCategoryResponse) GetProductCategory() *ProductCategory
- func (*ListProductCategoryResponse) ProtoMessage()
- func (x *ListProductCategoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListProductCategoryResponse) Reset()
- func (x *ListProductCategoryResponse) String() string
- type ListProductRequest
- func (*ListProductRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductRequest) GetBrandId() string
- func (x *ListProductRequest) GetIds() []string
- func (x *ListProductRequest) GetPagination() *Pagination
- func (x *ListProductRequest) GetProductCategoryId() string
- func (*ListProductRequest) ProtoMessage()
- func (x *ListProductRequest) ProtoReflect() protoreflect.Message
- func (x *ListProductRequest) Reset()
- func (x *ListProductRequest) String() string
- type ListProductResponse
- func (*ListProductResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductResponse) GetPagination() *ProductPaginationResponse
- func (x *ListProductResponse) GetProduct() *Product
- func (*ListProductResponse) ProtoMessage()
- func (x *ListProductResponse) ProtoReflect() protoreflect.Message
- func (x *ListProductResponse) Reset()
- func (x *ListProductResponse) String() string
- type ListReceiveRequest
- func (*ListReceiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReceiveRequest) GetBranchId() string
- func (x *ListReceiveRequest) GetPagination() *Pagination
- func (x *ListReceiveRequest) GetPurchaseId() string
- func (*ListReceiveRequest) ProtoMessage()
- func (x *ListReceiveRequest) ProtoReflect() protoreflect.Message
- func (x *ListReceiveRequest) Reset()
- func (x *ListReceiveRequest) String() string
- type ListReceiveResponse
- func (*ListReceiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReceiveResponse) GetPagination() *ReceivePaginationResponse
- func (x *ListReceiveResponse) GetReceive() *Receive
- func (*ListReceiveResponse) ProtoMessage()
- func (x *ListReceiveResponse) ProtoReflect() protoreflect.Message
- func (x *ListReceiveResponse) Reset()
- func (x *ListReceiveResponse) String() string
- type ListReceiveReturnRequest
- func (*ListReceiveReturnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReceiveReturnRequest) GetBranchId() string
- func (x *ListReceiveReturnRequest) GetPagination() *Pagination
- func (x *ListReceiveReturnRequest) GetReceiveId() string
- func (*ListReceiveReturnRequest) ProtoMessage()
- func (x *ListReceiveReturnRequest) ProtoReflect() protoreflect.Message
- func (x *ListReceiveReturnRequest) Reset()
- func (x *ListReceiveReturnRequest) String() string
- type ListReceiveReturnResponse
- func (*ListReceiveReturnResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReceiveReturnResponse) GetPagination() *ReceiveReturnPaginationResponse
- func (x *ListReceiveReturnResponse) GetReceiveReturn() *ReceiveReturn
- func (*ListReceiveReturnResponse) ProtoMessage()
- func (x *ListReceiveReturnResponse) ProtoReflect() protoreflect.Message
- func (x *ListReceiveReturnResponse) Reset()
- func (x *ListReceiveReturnResponse) String() string
- type ListShelveRequest
- func (*ListShelveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListShelveRequest) GetPagination() *Pagination
- func (x *ListShelveRequest) GetWarehouseId() string
- func (*ListShelveRequest) ProtoMessage()
- func (x *ListShelveRequest) ProtoReflect() protoreflect.Message
- func (x *ListShelveRequest) Reset()
- func (x *ListShelveRequest) String() string
- type ListShelveResponse
- func (*ListShelveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListShelveResponse) GetPagination() *ShelvePaginationResponse
- func (x *ListShelveResponse) GetShelve() *Shelve
- func (*ListShelveResponse) ProtoMessage()
- func (x *ListShelveResponse) ProtoReflect() protoreflect.Message
- func (x *ListShelveResponse) Reset()
- func (x *ListShelveResponse) String() string
- type ListWarehouseRequest
- func (*ListWarehouseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWarehouseRequest) GetBranchId() string
- func (x *ListWarehouseRequest) GetPagination() *Pagination
- func (*ListWarehouseRequest) ProtoMessage()
- func (x *ListWarehouseRequest) ProtoReflect() protoreflect.Message
- func (x *ListWarehouseRequest) Reset()
- func (x *ListWarehouseRequest) String() string
- type ListWarehouseResponse
- func (*ListWarehouseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWarehouseResponse) GetPagination() *WarehousePaginationResponse
- func (x *ListWarehouseResponse) GetWarehouse() *Warehouse
- func (*ListWarehouseResponse) ProtoMessage()
- func (x *ListWarehouseResponse) ProtoReflect() protoreflect.Message
- func (x *ListWarehouseResponse) Reset()
- func (x *ListWarehouseResponse) String() string
- type Message
- type MyBoolean
- type MyEmpty
- type MyString
- type Pagination
- func (*Pagination) Descriptor() ([]byte, []int)deprecated
- func (x *Pagination) GetLimit() uint32
- func (x *Pagination) GetOffset() uint32
- func (x *Pagination) GetOrderBy() string
- func (x *Pagination) GetPage() uint32
- func (x *Pagination) GetSearch() string
- func (x *Pagination) GetSort() Pagination_Sort
- func (*Pagination) ProtoMessage()
- func (x *Pagination) ProtoReflect() protoreflect.Message
- func (x *Pagination) Reset()
- func (x *Pagination) String() string
- type PaginationResponse
- func (*PaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResponse) GetCount() uint32
- func (x *PaginationResponse) GetPagination() *Pagination
- func (*PaginationResponse) ProtoMessage()
- func (x *PaginationResponse) ProtoReflect() protoreflect.Message
- func (x *PaginationResponse) Reset()
- func (x *PaginationResponse) String() string
- type Pagination_Sort
- func (Pagination_Sort) Descriptor() protoreflect.EnumDescriptor
- func (x Pagination_Sort) Enum() *Pagination_Sort
- func (Pagination_Sort) EnumDescriptor() ([]byte, []int)deprecated
- func (x Pagination_Sort) Number() protoreflect.EnumNumber
- func (x Pagination_Sort) String() string
- func (Pagination_Sort) Type() protoreflect.EnumType
- type Product
- func (*Product) Descriptor() ([]byte, []int)deprecated
- func (x *Product) GetBrand() *Brand
- func (x *Product) GetCode() string
- func (x *Product) GetCreatedAt() string
- func (x *Product) GetCreatedBy() string
- func (x *Product) GetId() string
- func (x *Product) GetMinimunStock() uint32
- func (x *Product) GetName() string
- func (x *Product) GetProductCategory() *ProductCategory
- func (x *Product) GetUpdatedAt() string
- func (x *Product) GetUpdatedBy() string
- func (*Product) ProtoMessage()
- func (x *Product) ProtoReflect() protoreflect.Message
- func (x *Product) Reset()
- func (x *Product) String() string
- type ProductCategory
- func (*ProductCategory) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCategory) GetCategory() *Category
- func (x *ProductCategory) GetCreatedAt() string
- func (x *ProductCategory) GetCreatedBy() string
- func (x *ProductCategory) GetId() string
- func (x *ProductCategory) GetName() string
- func (x *ProductCategory) GetUpdatedAt() string
- func (x *ProductCategory) GetUpdatedBy() string
- func (*ProductCategory) ProtoMessage()
- func (x *ProductCategory) ProtoReflect() protoreflect.Message
- func (x *ProductCategory) Reset()
- func (x *ProductCategory) String() string
- type ProductCategoryPaginationResponse
- func (*ProductCategoryPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCategoryPaginationResponse) GetCategoryId() string
- func (x *ProductCategoryPaginationResponse) GetCount() uint32
- func (x *ProductCategoryPaginationResponse) GetPagination() *Pagination
- func (*ProductCategoryPaginationResponse) ProtoMessage()
- func (x *ProductCategoryPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *ProductCategoryPaginationResponse) Reset()
- func (x *ProductCategoryPaginationResponse) String() string
- type ProductCategoryServiceClient
- type ProductCategoryServiceServer
- type ProductCategoryService_ListClient
- type ProductCategoryService_ListServer
- type ProductPaginationResponse
- func (*ProductPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProductPaginationResponse) GetBrandId() string
- func (x *ProductPaginationResponse) GetCount() uint32
- func (x *ProductPaginationResponse) GetIds() []string
- func (x *ProductPaginationResponse) GetPagination() *Pagination
- func (x *ProductPaginationResponse) GetProductCategoryId() string
- func (*ProductPaginationResponse) ProtoMessage()
- func (x *ProductPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *ProductPaginationResponse) Reset()
- func (x *ProductPaginationResponse) String() string
- type ProductServiceClient
- type ProductServiceServer
- type ProductService_ListClient
- type ProductService_ListServer
- type Receive
- func (*Receive) Descriptor() ([]byte, []int)deprecated
- func (x *Receive) GetBranchId() string
- func (x *Receive) GetBranchName() string
- func (x *Receive) GetCode() string
- func (x *Receive) GetCreatedAt() string
- func (x *Receive) GetCreatedBy() string
- func (x *Receive) GetDetails() []*ReceiveDetail
- func (x *Receive) GetId() string
- func (x *Receive) GetPurchaseId() string
- func (x *Receive) GetReceiveDate() string
- func (x *Receive) GetRemark() string
- func (x *Receive) GetUpdatedAt() string
- func (x *Receive) GetUpdatedBy() string
- func (*Receive) ProtoMessage()
- func (x *Receive) ProtoReflect() protoreflect.Message
- func (x *Receive) Reset()
- func (x *Receive) String() string
- type ReceiveDetail
- func (*ReceiveDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveDetail) GetExpiredDate() string
- func (x *ReceiveDetail) GetId() string
- func (x *ReceiveDetail) GetProduct() *Product
- func (x *ReceiveDetail) GetReceiveId() string
- func (x *ReceiveDetail) GetShelve() *Shelve
- func (*ReceiveDetail) ProtoMessage()
- func (x *ReceiveDetail) ProtoReflect() protoreflect.Message
- func (x *ReceiveDetail) Reset()
- func (x *ReceiveDetail) String() string
- type ReceivePaginationResponse
- func (*ReceivePaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReceivePaginationResponse) GetBranchId() string
- func (x *ReceivePaginationResponse) GetCount() uint32
- func (x *ReceivePaginationResponse) GetPagination() *Pagination
- func (x *ReceivePaginationResponse) GetPurchaseId() string
- func (*ReceivePaginationResponse) ProtoMessage()
- func (x *ReceivePaginationResponse) ProtoReflect() protoreflect.Message
- func (x *ReceivePaginationResponse) Reset()
- func (x *ReceivePaginationResponse) String() string
- type ReceiveReturn
- func (*ReceiveReturn) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveReturn) GetBranchId() string
- func (x *ReceiveReturn) GetBranchName() string
- func (x *ReceiveReturn) GetCode() string
- func (x *ReceiveReturn) GetCompanyId() string
- func (x *ReceiveReturn) GetCreatedAt() string
- func (x *ReceiveReturn) GetCreatedBy() string
- func (x *ReceiveReturn) GetDetails() []*ReceiveReturnDetail
- func (x *ReceiveReturn) GetId() string
- func (x *ReceiveReturn) GetReceive() *Receive
- func (x *ReceiveReturn) GetRemark() string
- func (x *ReceiveReturn) GetReturnDate() string
- func (x *ReceiveReturn) GetUpdatedAt() string
- func (x *ReceiveReturn) GetUpdatedBy() string
- func (*ReceiveReturn) ProtoMessage()
- func (x *ReceiveReturn) ProtoReflect() protoreflect.Message
- func (x *ReceiveReturn) Reset()
- func (x *ReceiveReturn) String() string
- type ReceiveReturnDetail
- func (*ReceiveReturnDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveReturnDetail) GetCode() string
- func (x *ReceiveReturnDetail) GetId() string
- func (x *ReceiveReturnDetail) GetProduct() *Product
- func (x *ReceiveReturnDetail) GetQty() uint32
- func (x *ReceiveReturnDetail) GetReceiveReturnId() string
- func (x *ReceiveReturnDetail) GetShelve() *Shelve
- func (*ReceiveReturnDetail) ProtoMessage()
- func (x *ReceiveReturnDetail) ProtoReflect() protoreflect.Message
- func (x *ReceiveReturnDetail) Reset()
- func (x *ReceiveReturnDetail) String() string
- type ReceiveReturnPaginationResponse
- func (*ReceiveReturnPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveReturnPaginationResponse) GetBranchId() string
- func (x *ReceiveReturnPaginationResponse) GetCount() uint32
- func (x *ReceiveReturnPaginationResponse) GetPagination() *Pagination
- func (x *ReceiveReturnPaginationResponse) GetReceiveId() string
- func (*ReceiveReturnPaginationResponse) ProtoMessage()
- func (x *ReceiveReturnPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *ReceiveReturnPaginationResponse) Reset()
- func (x *ReceiveReturnPaginationResponse) String() string
- type ReceiveReturnServiceClient
- type ReceiveReturnServiceServer
- type ReceiveReturnService_ListClient
- type ReceiveReturnService_ListServer
- type ReceiveServiceClient
- type ReceiveServiceServer
- type ReceiveService_ListClient
- type ReceiveService_ListServer
- type Shelve
- func (*Shelve) Descriptor() ([]byte, []int)deprecated
- func (x *Shelve) GetCapacity() string
- func (x *Shelve) GetCode() string
- func (x *Shelve) GetCreatedAt() string
- func (x *Shelve) GetCreatedBy() string
- func (x *Shelve) GetId() string
- func (x *Shelve) GetUpdatedAt() string
- func (x *Shelve) GetUpdatedBy() string
- func (x *Shelve) GetWarehouse() *Warehouse
- func (*Shelve) ProtoMessage()
- func (x *Shelve) ProtoReflect() protoreflect.Message
- func (x *Shelve) Reset()
- func (x *Shelve) String() string
- type ShelvePaginationResponse
- func (*ShelvePaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShelvePaginationResponse) GetCount() uint32
- func (x *ShelvePaginationResponse) GetPagination() *Pagination
- func (x *ShelvePaginationResponse) GetWarehouseId() string
- func (*ShelvePaginationResponse) ProtoMessage()
- func (x *ShelvePaginationResponse) ProtoReflect() protoreflect.Message
- func (x *ShelvePaginationResponse) Reset()
- func (x *ShelvePaginationResponse) String() string
- type ShelveServiceClient
- type ShelveServiceServer
- type ShelveService_ListClient
- type ShelveService_ListServer
- type StockInfo
- type StockInfoInput
- func (*StockInfoInput) Descriptor() ([]byte, []int)deprecated
- func (x *StockInfoInput) GetBranchId() string
- func (x *StockInfoInput) GetProductId() string
- func (*StockInfoInput) ProtoMessage()
- func (x *StockInfoInput) ProtoReflect() protoreflect.Message
- func (x *StockInfoInput) Reset()
- func (x *StockInfoInput) String() string
- type StockList
- type StockListInput
- type StockServiceClient
- type StockServiceServer
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetBarcode() string
- func (x *Transaction) GetBranchId() string
- func (x *Transaction) GetBranchName() string
- func (x *Transaction) GetIsIn() bool
- func (x *Transaction) GetProductId() string
- func (x *Transaction) GetShelveCode() string
- func (x *Transaction) GetShelveId() string
- func (x *Transaction) GetTransactionCode() string
- func (x *Transaction) GetTransactionDate() string
- func (x *Transaction) GetTransactionType() string
- func (x *Transaction) GetWarehouseId() string
- func (x *Transaction) GetWarehouseName() string
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type Transactions
- type UnimplementedBrandServiceServer
- func (UnimplementedBrandServiceServer) Create(context.Context, *Brand) (*Brand, error)
- func (UnimplementedBrandServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedBrandServiceServer) List(*Pagination, BrandService_ListServer) error
- func (UnimplementedBrandServiceServer) Update(context.Context, *Brand) (*Brand, error)
- func (UnimplementedBrandServiceServer) View(context.Context, *Id) (*Brand, error)
- type UnimplementedCategoryServiceServer
- type UnimplementedDeliveryReturnServiceServer
- func (UnimplementedDeliveryReturnServiceServer) Create(context.Context, *DeliveryReturn) (*DeliveryReturn, error)
- func (UnimplementedDeliveryReturnServiceServer) List(*ListDeliveryReturnRequest, DeliveryReturnService_ListServer) error
- func (UnimplementedDeliveryReturnServiceServer) Update(context.Context, *DeliveryReturn) (*DeliveryReturn, error)
- func (UnimplementedDeliveryReturnServiceServer) View(context.Context, *Id) (*DeliveryReturn, error)
- type UnimplementedDeliveryServiceServer
- func (UnimplementedDeliveryServiceServer) Create(context.Context, *Delivery) (*Delivery, error)
- func (UnimplementedDeliveryServiceServer) List(*ListDeliveryRequest, DeliveryService_ListServer) error
- func (UnimplementedDeliveryServiceServer) Update(context.Context, *Delivery) (*Delivery, error)
- func (UnimplementedDeliveryServiceServer) View(context.Context, *Id) (*Delivery, error)
- type UnimplementedProductCategoryServiceServer
- func (UnimplementedProductCategoryServiceServer) Create(context.Context, *ProductCategory) (*ProductCategory, error)
- func (UnimplementedProductCategoryServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedProductCategoryServiceServer) List(*ListProductCategoryRequest, ProductCategoryService_ListServer) error
- func (UnimplementedProductCategoryServiceServer) Update(context.Context, *ProductCategory) (*ProductCategory, error)
- func (UnimplementedProductCategoryServiceServer) View(context.Context, *Id) (*ProductCategory, error)
- type UnimplementedProductServiceServer
- func (UnimplementedProductServiceServer) Create(context.Context, *Product) (*Product, error)
- func (UnimplementedProductServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedProductServiceServer) List(*ListProductRequest, ProductService_ListServer) error
- func (UnimplementedProductServiceServer) Track(context.Context, *Product) (*Transactions, error)
- func (UnimplementedProductServiceServer) Update(context.Context, *Product) (*Product, error)
- func (UnimplementedProductServiceServer) View(context.Context, *Id) (*Product, error)
- type UnimplementedReceiveReturnServiceServer
- func (UnimplementedReceiveReturnServiceServer) Create(context.Context, *ReceiveReturn) (*ReceiveReturn, error)
- func (UnimplementedReceiveReturnServiceServer) List(*ListReceiveReturnRequest, ReceiveReturnService_ListServer) error
- func (UnimplementedReceiveReturnServiceServer) Update(context.Context, *ReceiveReturn) (*ReceiveReturn, error)
- func (UnimplementedReceiveReturnServiceServer) View(context.Context, *Id) (*ReceiveReturn, error)
- type UnimplementedReceiveServiceServer
- func (UnimplementedReceiveServiceServer) Create(context.Context, *Receive) (*Receive, error)
- func (UnimplementedReceiveServiceServer) List(*ListReceiveRequest, ReceiveService_ListServer) error
- func (UnimplementedReceiveServiceServer) Update(context.Context, *Receive) (*Receive, error)
- func (UnimplementedReceiveServiceServer) View(context.Context, *Id) (*Receive, error)
- type UnimplementedShelveServiceServer
- func (UnimplementedShelveServiceServer) Create(context.Context, *Shelve) (*Shelve, error)
- func (UnimplementedShelveServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedShelveServiceServer) List(*ListShelveRequest, ShelveService_ListServer) error
- func (UnimplementedShelveServiceServer) Update(context.Context, *Shelve) (*Shelve, error)
- func (UnimplementedShelveServiceServer) View(context.Context, *Id) (*Shelve, error)
- type UnimplementedStockServiceServer
- func (UnimplementedStockServiceServer) Closing(context.Context, *ClosingStockRequest) (*MyBoolean, error)
- func (UnimplementedStockServiceServer) Info(context.Context, *StockInfoInput) (*StockInfo, error)
- func (UnimplementedStockServiceServer) List(context.Context, *StockListInput) (*StockList, error)
- type UnimplementedWarehouseServiceServer
- func (UnimplementedWarehouseServiceServer) Create(context.Context, *Warehouse) (*Warehouse, error)
- func (UnimplementedWarehouseServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedWarehouseServiceServer) List(*ListWarehouseRequest, WarehouseService_ListServer) error
- func (UnimplementedWarehouseServiceServer) Update(context.Context, *Warehouse) (*Warehouse, error)
- func (UnimplementedWarehouseServiceServer) View(context.Context, *Id) (*Warehouse, error)
- type UnsafeBrandServiceServer
- type UnsafeCategoryServiceServer
- type UnsafeDeliveryReturnServiceServer
- type UnsafeDeliveryServiceServer
- type UnsafeProductCategoryServiceServer
- type UnsafeProductServiceServer
- type UnsafeReceiveReturnServiceServer
- type UnsafeReceiveServiceServer
- type UnsafeShelveServiceServer
- type UnsafeStockServiceServer
- type UnsafeWarehouseServiceServer
- type Warehouse
- func (*Warehouse) Descriptor() ([]byte, []int)deprecated
- func (x *Warehouse) GetBranchId() string
- func (x *Warehouse) GetBranchName() string
- func (x *Warehouse) GetCode() string
- func (x *Warehouse) GetCompanyId() string
- func (x *Warehouse) GetCreatedAt() string
- func (x *Warehouse) GetCreatedBy() string
- func (x *Warehouse) GetId() string
- func (x *Warehouse) GetName() string
- func (x *Warehouse) GetPicName() string
- func (x *Warehouse) GetPicPhone() string
- func (x *Warehouse) GetUpdatedAt() string
- func (x *Warehouse) GetUpdatedBy() string
- func (*Warehouse) ProtoMessage()
- func (x *Warehouse) ProtoReflect() protoreflect.Message
- func (x *Warehouse) Reset()
- func (x *Warehouse) String() string
- type WarehousePaginationResponse
- func (*WarehousePaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WarehousePaginationResponse) GetBranchId() string
- func (x *WarehousePaginationResponse) GetCount() uint32
- func (x *WarehousePaginationResponse) GetPagination() *Pagination
- func (*WarehousePaginationResponse) ProtoMessage()
- func (x *WarehousePaginationResponse) ProtoReflect() protoreflect.Message
- func (x *WarehousePaginationResponse) Reset()
- func (x *WarehousePaginationResponse) String() string
- type WarehouseServiceClient
- type WarehouseServiceServer
- type WarehouseService_ListClient
- type WarehouseService_ListServer
Constants ¶
This section is empty.
Variables ¶
var ( Pagination_Sort_name = map[int32]string{ 0: "ASC", 1: "DESC", } Pagination_Sort_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for Pagination_Sort.
var BrandService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.BrandService", HandlerType: (*BrandServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _BrandService_Create_Handler, }, { MethodName: "Update", Handler: _BrandService_Update_Handler, }, { MethodName: "View", Handler: _BrandService_View_Handler, }, { MethodName: "Delete", Handler: _BrandService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _BrandService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/brand_service.proto", }
BrandService_ServiceDesc is the grpc.ServiceDesc for BrandService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CategoryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.CategoryService", HandlerType: (*CategoryServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _CategoryService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/category_service.proto", }
CategoryService_ServiceDesc is the grpc.ServiceDesc for CategoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeliveryReturnService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.DeliveryReturnService", HandlerType: (*DeliveryReturnServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _DeliveryReturnService_Create_Handler, }, { MethodName: "Update", Handler: _DeliveryReturnService_Update_Handler, }, { MethodName: "View", Handler: _DeliveryReturnService_View_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _DeliveryReturnService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/delivery_return_service.proto", }
DeliveryReturnService_ServiceDesc is the grpc.ServiceDesc for DeliveryReturnService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeliveryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.DeliveryService", HandlerType: (*DeliveryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _DeliveryService_Create_Handler, }, { MethodName: "Update", Handler: _DeliveryService_Update_Handler, }, { MethodName: "View", Handler: _DeliveryService_View_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _DeliveryService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/delivery_service.proto", }
DeliveryService_ServiceDesc is the grpc.ServiceDesc for DeliveryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pkg_api_v1_inventories_brand_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_brand_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_category_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_category_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_delivery_detail_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_delivery_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_delivery_return_detail_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_delivery_return_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_delivery_return_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_delivery_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_generic_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_product_category_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_product_category_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_product_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_product_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_receive_detail_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_receive_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_receive_return_detail_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_receive_return_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_receive_return_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_receive_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_shelve_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_shelve_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_stock_service_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_transaction_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_warehouse_message_proto protoreflect.FileDescriptor
var File_pkg_api_v1_inventories_warehouse_service_proto protoreflect.FileDescriptor
var ProductCategoryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.ProductCategoryService", HandlerType: (*ProductCategoryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ProductCategoryService_Create_Handler, }, { MethodName: "Update", Handler: _ProductCategoryService_Update_Handler, }, { MethodName: "View", Handler: _ProductCategoryService_View_Handler, }, { MethodName: "Delete", Handler: _ProductCategoryService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _ProductCategoryService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/product_category_service.proto", }
ProductCategoryService_ServiceDesc is the grpc.ServiceDesc for ProductCategoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ProductService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.ProductService", HandlerType: (*ProductServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ProductService_Create_Handler, }, { MethodName: "Update", Handler: _ProductService_Update_Handler, }, { MethodName: "View", Handler: _ProductService_View_Handler, }, { MethodName: "Delete", Handler: _ProductService_Delete_Handler, }, { MethodName: "Track", Handler: _ProductService_Track_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _ProductService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/product_service.proto", }
ProductService_ServiceDesc is the grpc.ServiceDesc for ProductService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ReceiveReturnService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.ReceiveReturnService", HandlerType: (*ReceiveReturnServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ReceiveReturnService_Create_Handler, }, { MethodName: "Update", Handler: _ReceiveReturnService_Update_Handler, }, { MethodName: "View", Handler: _ReceiveReturnService_View_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _ReceiveReturnService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/receive_return_service.proto", }
ReceiveReturnService_ServiceDesc is the grpc.ServiceDesc for ReceiveReturnService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ReceiveService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.ReceiveService", HandlerType: (*ReceiveServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ReceiveService_Create_Handler, }, { MethodName: "Update", Handler: _ReceiveService_Update_Handler, }, { MethodName: "View", Handler: _ReceiveService_View_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _ReceiveService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/receive_service.proto", }
ReceiveService_ServiceDesc is the grpc.ServiceDesc for ReceiveService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ShelveService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.ShelveService", HandlerType: (*ShelveServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ShelveService_Create_Handler, }, { MethodName: "Update", Handler: _ShelveService_Update_Handler, }, { MethodName: "View", Handler: _ShelveService_View_Handler, }, { MethodName: "Delete", Handler: _ShelveService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _ShelveService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/shelve_service.proto", }
ShelveService_ServiceDesc is the grpc.ServiceDesc for ShelveService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var StockService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.StockService", HandlerType: (*StockServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Closing", Handler: _StockService_Closing_Handler, }, { MethodName: "List", Handler: _StockService_List_Handler, }, { MethodName: "Info", Handler: _StockService_Info_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/api/v1/inventories/stock_service.proto", }
StockService_ServiceDesc is the grpc.ServiceDesc for StockService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WarehouseService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.inventories.WarehouseService", HandlerType: (*WarehouseServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _WarehouseService_Create_Handler, }, { MethodName: "Update", Handler: _WarehouseService_Update_Handler, }, { MethodName: "View", Handler: _WarehouseService_View_Handler, }, { MethodName: "Delete", Handler: _WarehouseService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _WarehouseService_List_Handler, ServerStreams: true, }, }, Metadata: "pkg/api/v1/inventories/warehouse_service.proto", }
WarehouseService_ServiceDesc is the grpc.ServiceDesc for WarehouseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBrandServiceServer ¶
func RegisterBrandServiceServer(s grpc.ServiceRegistrar, srv BrandServiceServer)
func RegisterCategoryServiceServer ¶
func RegisterCategoryServiceServer(s grpc.ServiceRegistrar, srv CategoryServiceServer)
func RegisterDeliveryReturnServiceServer ¶
func RegisterDeliveryReturnServiceServer(s grpc.ServiceRegistrar, srv DeliveryReturnServiceServer)
func RegisterDeliveryServiceServer ¶
func RegisterDeliveryServiceServer(s grpc.ServiceRegistrar, srv DeliveryServiceServer)
func RegisterProductCategoryServiceServer ¶
func RegisterProductCategoryServiceServer(s grpc.ServiceRegistrar, srv ProductCategoryServiceServer)
func RegisterProductServiceServer ¶
func RegisterProductServiceServer(s grpc.ServiceRegistrar, srv ProductServiceServer)
func RegisterReceiveReturnServiceServer ¶
func RegisterReceiveReturnServiceServer(s grpc.ServiceRegistrar, srv ReceiveReturnServiceServer)
func RegisterReceiveServiceServer ¶
func RegisterReceiveServiceServer(s grpc.ServiceRegistrar, srv ReceiveServiceServer)
func RegisterShelveServiceServer ¶
func RegisterShelveServiceServer(s grpc.ServiceRegistrar, srv ShelveServiceServer)
func RegisterStockServiceServer ¶
func RegisterStockServiceServer(s grpc.ServiceRegistrar, srv StockServiceServer)
func RegisterWarehouseServiceServer ¶
func RegisterWarehouseServiceServer(s grpc.ServiceRegistrar, srv WarehouseServiceServer)
Types ¶
type Brand ¶
type Brand struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,8,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Brand) Descriptor
deprecated
func (*Brand) GetCompanyId ¶
func (*Brand) GetCreatedAt ¶
func (*Brand) GetCreatedBy ¶
func (*Brand) GetUpdatedAt ¶
func (*Brand) GetUpdatedBy ¶
func (*Brand) ProtoMessage ¶
func (*Brand) ProtoMessage()
func (*Brand) ProtoReflect ¶
func (x *Brand) ProtoReflect() protoreflect.Message
type BrandServiceClient ¶
type BrandServiceClient interface { Create(ctx context.Context, in *Brand, opts ...grpc.CallOption) (*Brand, error) Update(ctx context.Context, in *Brand, opts ...grpc.CallOption) (*Brand, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Brand, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (BrandService_ListClient, error) }
BrandServiceClient is the client API for BrandService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBrandServiceClient ¶
func NewBrandServiceClient(cc grpc.ClientConnInterface) BrandServiceClient
type BrandServiceServer ¶
type BrandServiceServer interface { Create(context.Context, *Brand) (*Brand, error) Update(context.Context, *Brand) (*Brand, error) View(context.Context, *Id) (*Brand, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*Pagination, BrandService_ListServer) error // contains filtered or unexported methods }
BrandServiceServer is the server API for BrandService service. All implementations must embed UnimplementedBrandServiceServer for forward compatibility
type BrandService_ListClient ¶
type BrandService_ListClient interface { Recv() (*ListBrandResponse, error) grpc.ClientStream }
type BrandService_ListServer ¶
type BrandService_ListServer interface { Send(*ListBrandResponse) error grpc.ServerStream }
type Category ¶
type Category struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Category) Descriptor
deprecated
func (*Category) ProtoMessage ¶
func (*Category) ProtoMessage()
func (*Category) ProtoReflect ¶
func (x *Category) ProtoReflect() protoreflect.Message
type CategoryServiceClient ¶
type CategoryServiceClient interface {
List(ctx context.Context, in *MyEmpty, opts ...grpc.CallOption) (CategoryService_ListClient, error)
}
CategoryServiceClient is the client API for CategoryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCategoryServiceClient ¶
func NewCategoryServiceClient(cc grpc.ClientConnInterface) CategoryServiceClient
type CategoryServiceServer ¶
type CategoryServiceServer interface { List(*MyEmpty, CategoryService_ListServer) error // contains filtered or unexported methods }
CategoryServiceServer is the server API for CategoryService service. All implementations must embed UnimplementedCategoryServiceServer for forward compatibility
type CategoryService_ListClient ¶
type CategoryService_ListClient interface { Recv() (*Category, error) grpc.ClientStream }
type CategoryService_ListServer ¶
type CategoryService_ListServer interface { Send(*Category) error grpc.ServerStream }
type ClosingStockRequest ¶
type ClosingStockRequest struct { Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` // contains filtered or unexported fields }
func (*ClosingStockRequest) Descriptor
deprecated
func (*ClosingStockRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClosingStockRequest.ProtoReflect.Descriptor instead.
func (*ClosingStockRequest) GetMonth ¶
func (x *ClosingStockRequest) GetMonth() int32
func (*ClosingStockRequest) GetYear ¶
func (x *ClosingStockRequest) GetYear() int32
func (*ClosingStockRequest) ProtoMessage ¶
func (*ClosingStockRequest) ProtoMessage()
func (*ClosingStockRequest) ProtoReflect ¶
func (x *ClosingStockRequest) ProtoReflect() protoreflect.Message
func (*ClosingStockRequest) Reset ¶
func (x *ClosingStockRequest) Reset()
func (*ClosingStockRequest) String ¶
func (x *ClosingStockRequest) String() string
type Delivery ¶
type Delivery struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` BranchName string `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` SalesOrderId string `protobuf:"bytes,5,opt,name=sales_order_id,json=salesOrderId,proto3" json:"sales_order_id,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` DeliveryDate string `protobuf:"bytes,7,opt,name=delivery_date,json=deliveryDate,proto3" json:"delivery_date,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"` CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,12,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` Details []*DeliveryDetail `protobuf:"bytes,13,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*Delivery) Descriptor
deprecated
func (*Delivery) GetBranchId ¶
func (*Delivery) GetBranchName ¶
func (*Delivery) GetCreatedAt ¶
func (*Delivery) GetCreatedBy ¶
func (*Delivery) GetDeliveryDate ¶
func (*Delivery) GetDetails ¶
func (x *Delivery) GetDetails() []*DeliveryDetail
func (*Delivery) GetSalesOrderId ¶
func (*Delivery) GetUpdatedAt ¶
func (*Delivery) GetUpdatedBy ¶
func (*Delivery) ProtoMessage ¶
func (*Delivery) ProtoMessage()
func (*Delivery) ProtoReflect ¶
func (x *Delivery) ProtoReflect() protoreflect.Message
type DeliveryDetail ¶
type DeliveryDetail struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DeliveryId string `protobuf:"bytes,2,opt,name=delivery_id,json=deliveryId,proto3" json:"delivery_id,omitempty"` Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"` Barcode string `protobuf:"bytes,4,opt,name=barcode,proto3" json:"barcode,omitempty"` Shelve *Shelve `protobuf:"bytes,5,opt,name=shelve,proto3" json:"shelve,omitempty"` // contains filtered or unexported fields }
func (*DeliveryDetail) Descriptor
deprecated
func (*DeliveryDetail) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryDetail.ProtoReflect.Descriptor instead.
func (*DeliveryDetail) GetBarcode ¶
func (x *DeliveryDetail) GetBarcode() string
func (*DeliveryDetail) GetDeliveryId ¶
func (x *DeliveryDetail) GetDeliveryId() string
func (*DeliveryDetail) GetId ¶
func (x *DeliveryDetail) GetId() string
func (*DeliveryDetail) GetProduct ¶
func (x *DeliveryDetail) GetProduct() *Product
func (*DeliveryDetail) GetShelve ¶
func (x *DeliveryDetail) GetShelve() *Shelve
func (*DeliveryDetail) ProtoMessage ¶
func (*DeliveryDetail) ProtoMessage()
func (*DeliveryDetail) ProtoReflect ¶
func (x *DeliveryDetail) ProtoReflect() protoreflect.Message
func (*DeliveryDetail) Reset ¶
func (x *DeliveryDetail) Reset()
func (*DeliveryDetail) String ¶
func (x *DeliveryDetail) String() string
type DeliveryPaginationResponse ¶
type DeliveryPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` SalesOrderId string `protobuf:"bytes,3,opt,name=sales_order_id,json=salesOrderId,proto3" json:"sales_order_id,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*DeliveryPaginationResponse) Descriptor
deprecated
func (*DeliveryPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryPaginationResponse.ProtoReflect.Descriptor instead.
func (*DeliveryPaginationResponse) GetBranchId ¶
func (x *DeliveryPaginationResponse) GetBranchId() string
func (*DeliveryPaginationResponse) GetCount ¶
func (x *DeliveryPaginationResponse) GetCount() uint32
func (*DeliveryPaginationResponse) GetPagination ¶
func (x *DeliveryPaginationResponse) GetPagination() *Pagination
func (*DeliveryPaginationResponse) GetSalesOrderId ¶
func (x *DeliveryPaginationResponse) GetSalesOrderId() string
func (*DeliveryPaginationResponse) ProtoMessage ¶
func (*DeliveryPaginationResponse) ProtoMessage()
func (*DeliveryPaginationResponse) ProtoReflect ¶
func (x *DeliveryPaginationResponse) ProtoReflect() protoreflect.Message
func (*DeliveryPaginationResponse) Reset ¶
func (x *DeliveryPaginationResponse) Reset()
func (*DeliveryPaginationResponse) String ¶
func (x *DeliveryPaginationResponse) String() string
type DeliveryReturn ¶
type DeliveryReturn struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` BranchName string `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` Delivery *Delivery `protobuf:"bytes,5,opt,name=delivery,proto3" json:"delivery,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` ReturnDate string `protobuf:"bytes,7,opt,name=return_date,json=returnDate,proto3" json:"return_date,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"` CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,12,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` Details []*DeliveryReturnDetail `protobuf:"bytes,13,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*DeliveryReturn) Descriptor
deprecated
func (*DeliveryReturn) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryReturn.ProtoReflect.Descriptor instead.
func (*DeliveryReturn) GetBranchId ¶
func (x *DeliveryReturn) GetBranchId() string
func (*DeliveryReturn) GetBranchName ¶
func (x *DeliveryReturn) GetBranchName() string
func (*DeliveryReturn) GetCode ¶
func (x *DeliveryReturn) GetCode() string
func (*DeliveryReturn) GetCompanyId ¶
func (x *DeliveryReturn) GetCompanyId() string
func (*DeliveryReturn) GetCreatedAt ¶
func (x *DeliveryReturn) GetCreatedAt() string
func (*DeliveryReturn) GetCreatedBy ¶
func (x *DeliveryReturn) GetCreatedBy() string
func (*DeliveryReturn) GetDelivery ¶
func (x *DeliveryReturn) GetDelivery() *Delivery
func (*DeliveryReturn) GetDetails ¶
func (x *DeliveryReturn) GetDetails() []*DeliveryReturnDetail
func (*DeliveryReturn) GetId ¶
func (x *DeliveryReturn) GetId() string
func (*DeliveryReturn) GetRemark ¶
func (x *DeliveryReturn) GetRemark() string
func (*DeliveryReturn) GetReturnDate ¶
func (x *DeliveryReturn) GetReturnDate() string
func (*DeliveryReturn) GetUpdatedAt ¶
func (x *DeliveryReturn) GetUpdatedAt() string
func (*DeliveryReturn) GetUpdatedBy ¶
func (x *DeliveryReturn) GetUpdatedBy() string
func (*DeliveryReturn) ProtoMessage ¶
func (*DeliveryReturn) ProtoMessage()
func (*DeliveryReturn) ProtoReflect ¶
func (x *DeliveryReturn) ProtoReflect() protoreflect.Message
func (*DeliveryReturn) Reset ¶
func (x *DeliveryReturn) Reset()
func (*DeliveryReturn) String ¶
func (x *DeliveryReturn) String() string
type DeliveryReturnDetail ¶
type DeliveryReturnDetail struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DeliveryReturnId string `protobuf:"bytes,2,opt,name=delivery_return_id,json=deliveryReturnId,proto3" json:"delivery_return_id,omitempty"` Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"` Shelve *Shelve `protobuf:"bytes,4,opt,name=shelve,proto3" json:"shelve,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` Qty uint32 `protobuf:"varint,6,opt,name=qty,proto3" json:"qty,omitempty"` // contains filtered or unexported fields }
func (*DeliveryReturnDetail) Descriptor
deprecated
func (*DeliveryReturnDetail) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryReturnDetail.ProtoReflect.Descriptor instead.
func (*DeliveryReturnDetail) GetCode ¶
func (x *DeliveryReturnDetail) GetCode() string
func (*DeliveryReturnDetail) GetDeliveryReturnId ¶
func (x *DeliveryReturnDetail) GetDeliveryReturnId() string
func (*DeliveryReturnDetail) GetId ¶
func (x *DeliveryReturnDetail) GetId() string
func (*DeliveryReturnDetail) GetProduct ¶
func (x *DeliveryReturnDetail) GetProduct() *Product
func (*DeliveryReturnDetail) GetQty ¶
func (x *DeliveryReturnDetail) GetQty() uint32
func (*DeliveryReturnDetail) GetShelve ¶
func (x *DeliveryReturnDetail) GetShelve() *Shelve
func (*DeliveryReturnDetail) ProtoMessage ¶
func (*DeliveryReturnDetail) ProtoMessage()
func (*DeliveryReturnDetail) ProtoReflect ¶
func (x *DeliveryReturnDetail) ProtoReflect() protoreflect.Message
func (*DeliveryReturnDetail) Reset ¶
func (x *DeliveryReturnDetail) Reset()
func (*DeliveryReturnDetail) String ¶
func (x *DeliveryReturnDetail) String() string
type DeliveryReturnPaginationResponse ¶
type DeliveryReturnPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` DeliveryId string `protobuf:"bytes,3,opt,name=delivery_id,json=deliveryId,proto3" json:"delivery_id,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*DeliveryReturnPaginationResponse) Descriptor
deprecated
func (*DeliveryReturnPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeliveryReturnPaginationResponse.ProtoReflect.Descriptor instead.
func (*DeliveryReturnPaginationResponse) GetBranchId ¶
func (x *DeliveryReturnPaginationResponse) GetBranchId() string
func (*DeliveryReturnPaginationResponse) GetCount ¶
func (x *DeliveryReturnPaginationResponse) GetCount() uint32
func (*DeliveryReturnPaginationResponse) GetDeliveryId ¶
func (x *DeliveryReturnPaginationResponse) GetDeliveryId() string
func (*DeliveryReturnPaginationResponse) GetPagination ¶
func (x *DeliveryReturnPaginationResponse) GetPagination() *Pagination
func (*DeliveryReturnPaginationResponse) ProtoMessage ¶
func (*DeliveryReturnPaginationResponse) ProtoMessage()
func (*DeliveryReturnPaginationResponse) ProtoReflect ¶
func (x *DeliveryReturnPaginationResponse) ProtoReflect() protoreflect.Message
func (*DeliveryReturnPaginationResponse) Reset ¶
func (x *DeliveryReturnPaginationResponse) Reset()
func (*DeliveryReturnPaginationResponse) String ¶
func (x *DeliveryReturnPaginationResponse) String() string
type DeliveryReturnServiceClient ¶
type DeliveryReturnServiceClient interface { Create(ctx context.Context, in *DeliveryReturn, opts ...grpc.CallOption) (*DeliveryReturn, error) Update(ctx context.Context, in *DeliveryReturn, opts ...grpc.CallOption) (*DeliveryReturn, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*DeliveryReturn, error) List(ctx context.Context, in *ListDeliveryReturnRequest, opts ...grpc.CallOption) (DeliveryReturnService_ListClient, error) }
DeliveryReturnServiceClient is the client API for DeliveryReturnService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeliveryReturnServiceClient ¶
func NewDeliveryReturnServiceClient(cc grpc.ClientConnInterface) DeliveryReturnServiceClient
type DeliveryReturnServiceServer ¶
type DeliveryReturnServiceServer interface { Create(context.Context, *DeliveryReturn) (*DeliveryReturn, error) Update(context.Context, *DeliveryReturn) (*DeliveryReturn, error) View(context.Context, *Id) (*DeliveryReturn, error) List(*ListDeliveryReturnRequest, DeliveryReturnService_ListServer) error // contains filtered or unexported methods }
DeliveryReturnServiceServer is the server API for DeliveryReturnService service. All implementations must embed UnimplementedDeliveryReturnServiceServer for forward compatibility
type DeliveryReturnService_ListClient ¶
type DeliveryReturnService_ListClient interface { Recv() (*ListDeliveryReturnResponse, error) grpc.ClientStream }
type DeliveryReturnService_ListServer ¶
type DeliveryReturnService_ListServer interface { Send(*ListDeliveryReturnResponse) error grpc.ServerStream }
type DeliveryServiceClient ¶
type DeliveryServiceClient interface { Create(ctx context.Context, in *Delivery, opts ...grpc.CallOption) (*Delivery, error) Update(ctx context.Context, in *Delivery, opts ...grpc.CallOption) (*Delivery, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Delivery, error) List(ctx context.Context, in *ListDeliveryRequest, opts ...grpc.CallOption) (DeliveryService_ListClient, error) }
DeliveryServiceClient is the client API for DeliveryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeliveryServiceClient ¶
func NewDeliveryServiceClient(cc grpc.ClientConnInterface) DeliveryServiceClient
type DeliveryServiceServer ¶
type DeliveryServiceServer interface { Create(context.Context, *Delivery) (*Delivery, error) Update(context.Context, *Delivery) (*Delivery, error) View(context.Context, *Id) (*Delivery, error) List(*ListDeliveryRequest, DeliveryService_ListServer) error // contains filtered or unexported methods }
DeliveryServiceServer is the server API for DeliveryService service. All implementations must embed UnimplementedDeliveryServiceServer for forward compatibility
type DeliveryService_ListClient ¶
type DeliveryService_ListClient interface { Recv() (*ListDeliveryResponse, error) grpc.ClientStream }
type DeliveryService_ListServer ¶
type DeliveryService_ListServer interface { Send(*ListDeliveryResponse) error grpc.ServerStream }
type Id ¶
type Id struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Id) Descriptor
deprecated
func (*Id) ProtoMessage ¶
func (*Id) ProtoMessage()
func (*Id) ProtoReflect ¶
func (x *Id) ProtoReflect() protoreflect.Message
type ListBrandResponse ¶
type ListBrandResponse struct { Pagination *PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Brand *Brand `protobuf:"bytes,2,opt,name=brand,proto3" json:"brand,omitempty"` // contains filtered or unexported fields }
func (*ListBrandResponse) Descriptor
deprecated
func (*ListBrandResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBrandResponse.ProtoReflect.Descriptor instead.
func (*ListBrandResponse) GetBrand ¶
func (x *ListBrandResponse) GetBrand() *Brand
func (*ListBrandResponse) GetPagination ¶
func (x *ListBrandResponse) GetPagination() *PaginationResponse
func (*ListBrandResponse) ProtoMessage ¶
func (*ListBrandResponse) ProtoMessage()
func (*ListBrandResponse) ProtoReflect ¶
func (x *ListBrandResponse) ProtoReflect() protoreflect.Message
func (*ListBrandResponse) Reset ¶
func (x *ListBrandResponse) Reset()
func (*ListBrandResponse) String ¶
func (x *ListBrandResponse) String() string
type ListDeliveryRequest ¶
type ListDeliveryRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` SalesOrderId string `protobuf:"bytes,3,opt,name=sales_order_id,json=salesOrderId,proto3" json:"sales_order_id,omitempty"` // contains filtered or unexported fields }
func (*ListDeliveryRequest) Descriptor
deprecated
func (*ListDeliveryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeliveryRequest.ProtoReflect.Descriptor instead.
func (*ListDeliveryRequest) GetBranchId ¶
func (x *ListDeliveryRequest) GetBranchId() string
func (*ListDeliveryRequest) GetPagination ¶
func (x *ListDeliveryRequest) GetPagination() *Pagination
func (*ListDeliveryRequest) GetSalesOrderId ¶
func (x *ListDeliveryRequest) GetSalesOrderId() string
func (*ListDeliveryRequest) ProtoMessage ¶
func (*ListDeliveryRequest) ProtoMessage()
func (*ListDeliveryRequest) ProtoReflect ¶
func (x *ListDeliveryRequest) ProtoReflect() protoreflect.Message
func (*ListDeliveryRequest) Reset ¶
func (x *ListDeliveryRequest) Reset()
func (*ListDeliveryRequest) String ¶
func (x *ListDeliveryRequest) String() string
type ListDeliveryResponse ¶
type ListDeliveryResponse struct { Pagination *DeliveryPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Delivery *Delivery `protobuf:"bytes,2,opt,name=Delivery,proto3" json:"Delivery,omitempty"` // contains filtered or unexported fields }
func (*ListDeliveryResponse) Descriptor
deprecated
func (*ListDeliveryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeliveryResponse.ProtoReflect.Descriptor instead.
func (*ListDeliveryResponse) GetDelivery ¶
func (x *ListDeliveryResponse) GetDelivery() *Delivery
func (*ListDeliveryResponse) GetPagination ¶
func (x *ListDeliveryResponse) GetPagination() *DeliveryPaginationResponse
func (*ListDeliveryResponse) ProtoMessage ¶
func (*ListDeliveryResponse) ProtoMessage()
func (*ListDeliveryResponse) ProtoReflect ¶
func (x *ListDeliveryResponse) ProtoReflect() protoreflect.Message
func (*ListDeliveryResponse) Reset ¶
func (x *ListDeliveryResponse) Reset()
func (*ListDeliveryResponse) String ¶
func (x *ListDeliveryResponse) String() string
type ListDeliveryReturnRequest ¶
type ListDeliveryReturnRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` DeliveryId string `protobuf:"bytes,3,opt,name=delivery_id,json=deliveryId,proto3" json:"delivery_id,omitempty"` // contains filtered or unexported fields }
func (*ListDeliveryReturnRequest) Descriptor
deprecated
func (*ListDeliveryReturnRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeliveryReturnRequest.ProtoReflect.Descriptor instead.
func (*ListDeliveryReturnRequest) GetBranchId ¶
func (x *ListDeliveryReturnRequest) GetBranchId() string
func (*ListDeliveryReturnRequest) GetDeliveryId ¶
func (x *ListDeliveryReturnRequest) GetDeliveryId() string
func (*ListDeliveryReturnRequest) GetPagination ¶
func (x *ListDeliveryReturnRequest) GetPagination() *Pagination
func (*ListDeliveryReturnRequest) ProtoMessage ¶
func (*ListDeliveryReturnRequest) ProtoMessage()
func (*ListDeliveryReturnRequest) ProtoReflect ¶
func (x *ListDeliveryReturnRequest) ProtoReflect() protoreflect.Message
func (*ListDeliveryReturnRequest) Reset ¶
func (x *ListDeliveryReturnRequest) Reset()
func (*ListDeliveryReturnRequest) String ¶
func (x *ListDeliveryReturnRequest) String() string
type ListDeliveryReturnResponse ¶
type ListDeliveryReturnResponse struct { Pagination *DeliveryReturnPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` DeliveryReturn *DeliveryReturn `protobuf:"bytes,2,opt,name=DeliveryReturn,proto3" json:"DeliveryReturn,omitempty"` // contains filtered or unexported fields }
func (*ListDeliveryReturnResponse) Descriptor
deprecated
func (*ListDeliveryReturnResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeliveryReturnResponse.ProtoReflect.Descriptor instead.
func (*ListDeliveryReturnResponse) GetDeliveryReturn ¶
func (x *ListDeliveryReturnResponse) GetDeliveryReturn() *DeliveryReturn
func (*ListDeliveryReturnResponse) GetPagination ¶
func (x *ListDeliveryReturnResponse) GetPagination() *DeliveryReturnPaginationResponse
func (*ListDeliveryReturnResponse) ProtoMessage ¶
func (*ListDeliveryReturnResponse) ProtoMessage()
func (*ListDeliveryReturnResponse) ProtoReflect ¶
func (x *ListDeliveryReturnResponse) ProtoReflect() protoreflect.Message
func (*ListDeliveryReturnResponse) Reset ¶
func (x *ListDeliveryReturnResponse) Reset()
func (*ListDeliveryReturnResponse) String ¶
func (x *ListDeliveryReturnResponse) String() string
type ListProductCategoryRequest ¶
type ListProductCategoryRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` CategoryId string `protobuf:"bytes,2,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` // contains filtered or unexported fields }
func (*ListProductCategoryRequest) Descriptor
deprecated
func (*ListProductCategoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProductCategoryRequest.ProtoReflect.Descriptor instead.
func (*ListProductCategoryRequest) GetCategoryId ¶
func (x *ListProductCategoryRequest) GetCategoryId() string
func (*ListProductCategoryRequest) GetPagination ¶
func (x *ListProductCategoryRequest) GetPagination() *Pagination
func (*ListProductCategoryRequest) ProtoMessage ¶
func (*ListProductCategoryRequest) ProtoMessage()
func (*ListProductCategoryRequest) ProtoReflect ¶
func (x *ListProductCategoryRequest) ProtoReflect() protoreflect.Message
func (*ListProductCategoryRequest) Reset ¶
func (x *ListProductCategoryRequest) Reset()
func (*ListProductCategoryRequest) String ¶
func (x *ListProductCategoryRequest) String() string
type ListProductCategoryResponse ¶
type ListProductCategoryResponse struct { Pagination *ProductCategoryPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` ProductCategory *ProductCategory `protobuf:"bytes,2,opt,name=product_category,json=productCategory,proto3" json:"product_category,omitempty"` // contains filtered or unexported fields }
func (*ListProductCategoryResponse) Descriptor
deprecated
func (*ListProductCategoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProductCategoryResponse.ProtoReflect.Descriptor instead.
func (*ListProductCategoryResponse) GetPagination ¶
func (x *ListProductCategoryResponse) GetPagination() *ProductCategoryPaginationResponse
func (*ListProductCategoryResponse) GetProductCategory ¶
func (x *ListProductCategoryResponse) GetProductCategory() *ProductCategory
func (*ListProductCategoryResponse) ProtoMessage ¶
func (*ListProductCategoryResponse) ProtoMessage()
func (*ListProductCategoryResponse) ProtoReflect ¶
func (x *ListProductCategoryResponse) ProtoReflect() protoreflect.Message
func (*ListProductCategoryResponse) Reset ¶
func (x *ListProductCategoryResponse) Reset()
func (*ListProductCategoryResponse) String ¶
func (x *ListProductCategoryResponse) String() string
type ListProductRequest ¶
type ListProductRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` ProductCategoryId string `protobuf:"bytes,2,opt,name=product_category_id,json=productCategoryId,proto3" json:"product_category_id,omitempty"` BrandId string `protobuf:"bytes,3,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"` Ids []string `protobuf:"bytes,4,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*ListProductRequest) Descriptor
deprecated
func (*ListProductRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProductRequest.ProtoReflect.Descriptor instead.
func (*ListProductRequest) GetBrandId ¶
func (x *ListProductRequest) GetBrandId() string
func (*ListProductRequest) GetIds ¶
func (x *ListProductRequest) GetIds() []string
func (*ListProductRequest) GetPagination ¶
func (x *ListProductRequest) GetPagination() *Pagination
func (*ListProductRequest) GetProductCategoryId ¶
func (x *ListProductRequest) GetProductCategoryId() string
func (*ListProductRequest) ProtoMessage ¶
func (*ListProductRequest) ProtoMessage()
func (*ListProductRequest) ProtoReflect ¶
func (x *ListProductRequest) ProtoReflect() protoreflect.Message
func (*ListProductRequest) Reset ¶
func (x *ListProductRequest) Reset()
func (*ListProductRequest) String ¶
func (x *ListProductRequest) String() string
type ListProductResponse ¶
type ListProductResponse struct { Pagination *ProductPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Product *Product `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
func (*ListProductResponse) Descriptor
deprecated
func (*ListProductResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProductResponse.ProtoReflect.Descriptor instead.
func (*ListProductResponse) GetPagination ¶
func (x *ListProductResponse) GetPagination() *ProductPaginationResponse
func (*ListProductResponse) GetProduct ¶
func (x *ListProductResponse) GetProduct() *Product
func (*ListProductResponse) ProtoMessage ¶
func (*ListProductResponse) ProtoMessage()
func (*ListProductResponse) ProtoReflect ¶
func (x *ListProductResponse) ProtoReflect() protoreflect.Message
func (*ListProductResponse) Reset ¶
func (x *ListProductResponse) Reset()
func (*ListProductResponse) String ¶
func (x *ListProductResponse) String() string
type ListReceiveRequest ¶
type ListReceiveRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` PurchaseId string `protobuf:"bytes,3,opt,name=purchase_id,json=purchaseId,proto3" json:"purchase_id,omitempty"` // contains filtered or unexported fields }
func (*ListReceiveRequest) Descriptor
deprecated
func (*ListReceiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReceiveRequest.ProtoReflect.Descriptor instead.
func (*ListReceiveRequest) GetBranchId ¶
func (x *ListReceiveRequest) GetBranchId() string
func (*ListReceiveRequest) GetPagination ¶
func (x *ListReceiveRequest) GetPagination() *Pagination
func (*ListReceiveRequest) GetPurchaseId ¶
func (x *ListReceiveRequest) GetPurchaseId() string
func (*ListReceiveRequest) ProtoMessage ¶
func (*ListReceiveRequest) ProtoMessage()
func (*ListReceiveRequest) ProtoReflect ¶
func (x *ListReceiveRequest) ProtoReflect() protoreflect.Message
func (*ListReceiveRequest) Reset ¶
func (x *ListReceiveRequest) Reset()
func (*ListReceiveRequest) String ¶
func (x *ListReceiveRequest) String() string
type ListReceiveResponse ¶
type ListReceiveResponse struct { Pagination *ReceivePaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Receive *Receive `protobuf:"bytes,2,opt,name=Receive,proto3" json:"Receive,omitempty"` // contains filtered or unexported fields }
func (*ListReceiveResponse) Descriptor
deprecated
func (*ListReceiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReceiveResponse.ProtoReflect.Descriptor instead.
func (*ListReceiveResponse) GetPagination ¶
func (x *ListReceiveResponse) GetPagination() *ReceivePaginationResponse
func (*ListReceiveResponse) GetReceive ¶
func (x *ListReceiveResponse) GetReceive() *Receive
func (*ListReceiveResponse) ProtoMessage ¶
func (*ListReceiveResponse) ProtoMessage()
func (*ListReceiveResponse) ProtoReflect ¶
func (x *ListReceiveResponse) ProtoReflect() protoreflect.Message
func (*ListReceiveResponse) Reset ¶
func (x *ListReceiveResponse) Reset()
func (*ListReceiveResponse) String ¶
func (x *ListReceiveResponse) String() string
type ListReceiveReturnRequest ¶
type ListReceiveReturnRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` ReceiveId string `protobuf:"bytes,3,opt,name=receive_id,json=receiveId,proto3" json:"receive_id,omitempty"` // contains filtered or unexported fields }
func (*ListReceiveReturnRequest) Descriptor
deprecated
func (*ListReceiveReturnRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReceiveReturnRequest.ProtoReflect.Descriptor instead.
func (*ListReceiveReturnRequest) GetBranchId ¶
func (x *ListReceiveReturnRequest) GetBranchId() string
func (*ListReceiveReturnRequest) GetPagination ¶
func (x *ListReceiveReturnRequest) GetPagination() *Pagination
func (*ListReceiveReturnRequest) GetReceiveId ¶
func (x *ListReceiveReturnRequest) GetReceiveId() string
func (*ListReceiveReturnRequest) ProtoMessage ¶
func (*ListReceiveReturnRequest) ProtoMessage()
func (*ListReceiveReturnRequest) ProtoReflect ¶
func (x *ListReceiveReturnRequest) ProtoReflect() protoreflect.Message
func (*ListReceiveReturnRequest) Reset ¶
func (x *ListReceiveReturnRequest) Reset()
func (*ListReceiveReturnRequest) String ¶
func (x *ListReceiveReturnRequest) String() string
type ListReceiveReturnResponse ¶
type ListReceiveReturnResponse struct { Pagination *ReceiveReturnPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` ReceiveReturn *ReceiveReturn `protobuf:"bytes,2,opt,name=ReceiveReturn,proto3" json:"ReceiveReturn,omitempty"` // contains filtered or unexported fields }
func (*ListReceiveReturnResponse) Descriptor
deprecated
func (*ListReceiveReturnResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReceiveReturnResponse.ProtoReflect.Descriptor instead.
func (*ListReceiveReturnResponse) GetPagination ¶
func (x *ListReceiveReturnResponse) GetPagination() *ReceiveReturnPaginationResponse
func (*ListReceiveReturnResponse) GetReceiveReturn ¶
func (x *ListReceiveReturnResponse) GetReceiveReturn() *ReceiveReturn
func (*ListReceiveReturnResponse) ProtoMessage ¶
func (*ListReceiveReturnResponse) ProtoMessage()
func (*ListReceiveReturnResponse) ProtoReflect ¶
func (x *ListReceiveReturnResponse) ProtoReflect() protoreflect.Message
func (*ListReceiveReturnResponse) Reset ¶
func (x *ListReceiveReturnResponse) Reset()
func (*ListReceiveReturnResponse) String ¶
func (x *ListReceiveReturnResponse) String() string
type ListShelveRequest ¶
type ListShelveRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` WarehouseId string `protobuf:"bytes,2,opt,name=warehouse_id,json=warehouseId,proto3" json:"warehouse_id,omitempty"` // contains filtered or unexported fields }
func (*ListShelveRequest) Descriptor
deprecated
func (*ListShelveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListShelveRequest.ProtoReflect.Descriptor instead.
func (*ListShelveRequest) GetPagination ¶
func (x *ListShelveRequest) GetPagination() *Pagination
func (*ListShelveRequest) GetWarehouseId ¶
func (x *ListShelveRequest) GetWarehouseId() string
func (*ListShelveRequest) ProtoMessage ¶
func (*ListShelveRequest) ProtoMessage()
func (*ListShelveRequest) ProtoReflect ¶
func (x *ListShelveRequest) ProtoReflect() protoreflect.Message
func (*ListShelveRequest) Reset ¶
func (x *ListShelveRequest) Reset()
func (*ListShelveRequest) String ¶
func (x *ListShelveRequest) String() string
type ListShelveResponse ¶
type ListShelveResponse struct { Pagination *ShelvePaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Shelve *Shelve `protobuf:"bytes,2,opt,name=shelve,proto3" json:"shelve,omitempty"` // contains filtered or unexported fields }
func (*ListShelveResponse) Descriptor
deprecated
func (*ListShelveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListShelveResponse.ProtoReflect.Descriptor instead.
func (*ListShelveResponse) GetPagination ¶
func (x *ListShelveResponse) GetPagination() *ShelvePaginationResponse
func (*ListShelveResponse) GetShelve ¶
func (x *ListShelveResponse) GetShelve() *Shelve
func (*ListShelveResponse) ProtoMessage ¶
func (*ListShelveResponse) ProtoMessage()
func (*ListShelveResponse) ProtoReflect ¶
func (x *ListShelveResponse) ProtoReflect() protoreflect.Message
func (*ListShelveResponse) Reset ¶
func (x *ListShelveResponse) Reset()
func (*ListShelveResponse) String ¶
func (x *ListShelveResponse) String() string
type ListWarehouseRequest ¶
type ListWarehouseRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` // contains filtered or unexported fields }
func (*ListWarehouseRequest) Descriptor
deprecated
func (*ListWarehouseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWarehouseRequest.ProtoReflect.Descriptor instead.
func (*ListWarehouseRequest) GetBranchId ¶
func (x *ListWarehouseRequest) GetBranchId() string
func (*ListWarehouseRequest) GetPagination ¶
func (x *ListWarehouseRequest) GetPagination() *Pagination
func (*ListWarehouseRequest) ProtoMessage ¶
func (*ListWarehouseRequest) ProtoMessage()
func (*ListWarehouseRequest) ProtoReflect ¶
func (x *ListWarehouseRequest) ProtoReflect() protoreflect.Message
func (*ListWarehouseRequest) Reset ¶
func (x *ListWarehouseRequest) Reset()
func (*ListWarehouseRequest) String ¶
func (x *ListWarehouseRequest) String() string
type ListWarehouseResponse ¶
type ListWarehouseResponse struct { Pagination *WarehousePaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Warehouse *Warehouse `protobuf:"bytes,2,opt,name=warehouse,proto3" json:"warehouse,omitempty"` // contains filtered or unexported fields }
func (*ListWarehouseResponse) Descriptor
deprecated
func (*ListWarehouseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWarehouseResponse.ProtoReflect.Descriptor instead.
func (*ListWarehouseResponse) GetPagination ¶
func (x *ListWarehouseResponse) GetPagination() *WarehousePaginationResponse
func (*ListWarehouseResponse) GetWarehouse ¶
func (x *ListWarehouseResponse) GetWarehouse() *Warehouse
func (*ListWarehouseResponse) ProtoMessage ¶
func (*ListWarehouseResponse) ProtoMessage()
func (*ListWarehouseResponse) ProtoReflect ¶
func (x *ListWarehouseResponse) ProtoReflect() protoreflect.Message
func (*ListWarehouseResponse) Reset ¶
func (x *ListWarehouseResponse) Reset()
func (*ListWarehouseResponse) String ¶
func (x *ListWarehouseResponse) String() string
type Message ¶
type Message struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetMessage ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MyBoolean ¶
type MyBoolean struct { Boolean bool `protobuf:"varint,1,opt,name=boolean,proto3" json:"boolean,omitempty"` // contains filtered or unexported fields }
func (*MyBoolean) Descriptor
deprecated
func (*MyBoolean) GetBoolean ¶
func (*MyBoolean) ProtoMessage ¶
func (*MyBoolean) ProtoMessage()
func (*MyBoolean) ProtoReflect ¶
func (x *MyBoolean) ProtoReflect() protoreflect.Message
type MyEmpty ¶
type MyEmpty struct {
// contains filtered or unexported fields
}
func (*MyEmpty) Descriptor
deprecated
func (*MyEmpty) ProtoMessage ¶
func (*MyEmpty) ProtoMessage()
func (*MyEmpty) ProtoReflect ¶
func (x *MyEmpty) ProtoReflect() protoreflect.Message
type MyString ¶
type MyString struct { String_ string `protobuf:"bytes,1,opt,name=string,proto3" json:"string,omitempty"` // contains filtered or unexported fields }
func (*MyString) Descriptor
deprecated
func (*MyString) GetString_ ¶
func (*MyString) ProtoMessage ¶
func (*MyString) ProtoMessage()
func (*MyString) ProtoReflect ¶
func (x *MyString) ProtoReflect() protoreflect.Message
type Pagination ¶
type Pagination struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Sort Pagination_Sort `protobuf:"varint,6,opt,name=sort,proto3,enum=v1.inventories.Pagination_Sort" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*Pagination) Descriptor
deprecated
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetLimit ¶
func (x *Pagination) GetLimit() uint32
func (*Pagination) GetOffset ¶
func (x *Pagination) GetOffset() uint32
func (*Pagination) GetOrderBy ¶
func (x *Pagination) GetOrderBy() string
func (*Pagination) GetPage ¶
func (x *Pagination) GetPage() uint32
func (*Pagination) GetSearch ¶
func (x *Pagination) GetSearch() string
func (*Pagination) GetSort ¶
func (x *Pagination) GetSort() Pagination_Sort
func (*Pagination) ProtoMessage ¶
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶
func (x *Pagination) Reset()
func (*Pagination) String ¶
func (x *Pagination) String() string
type PaginationResponse ¶
type PaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*PaginationResponse) Descriptor
deprecated
func (*PaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.
func (*PaginationResponse) GetCount ¶
func (x *PaginationResponse) GetCount() uint32
func (*PaginationResponse) GetPagination ¶
func (x *PaginationResponse) GetPagination() *Pagination
func (*PaginationResponse) ProtoMessage ¶
func (*PaginationResponse) ProtoMessage()
func (*PaginationResponse) ProtoReflect ¶
func (x *PaginationResponse) ProtoReflect() protoreflect.Message
func (*PaginationResponse) Reset ¶
func (x *PaginationResponse) Reset()
func (*PaginationResponse) String ¶
func (x *PaginationResponse) String() string
type Pagination_Sort ¶
type Pagination_Sort int32
const ( Pagination_ASC Pagination_Sort = 0 Pagination_DESC Pagination_Sort = 1 )
func (Pagination_Sort) Descriptor ¶
func (Pagination_Sort) Descriptor() protoreflect.EnumDescriptor
func (Pagination_Sort) Enum ¶
func (x Pagination_Sort) Enum() *Pagination_Sort
func (Pagination_Sort) EnumDescriptor
deprecated
func (Pagination_Sort) EnumDescriptor() ([]byte, []int)
Deprecated: Use Pagination_Sort.Descriptor instead.
func (Pagination_Sort) Number ¶
func (x Pagination_Sort) Number() protoreflect.EnumNumber
func (Pagination_Sort) String ¶
func (x Pagination_Sort) String() string
func (Pagination_Sort) Type ¶
func (Pagination_Sort) Type() protoreflect.EnumType
type Product ¶
type Product struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Brand *Brand `protobuf:"bytes,2,opt,name=brand,proto3" json:"brand,omitempty"` ProductCategory *ProductCategory `protobuf:"bytes,3,opt,name=product_category,json=productCategory,proto3" json:"product_category,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` MinimunStock uint32 `protobuf:"varint,6,opt,name=minimun_stock,json=minimunStock,proto3" json:"minimun_stock,omitempty"` CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,10,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Product) Descriptor
deprecated
func (*Product) GetCreatedAt ¶
func (*Product) GetCreatedBy ¶
func (*Product) GetMinimunStock ¶
func (*Product) GetProductCategory ¶
func (x *Product) GetProductCategory() *ProductCategory
func (*Product) GetUpdatedAt ¶
func (*Product) GetUpdatedBy ¶
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) ProtoReflect ¶
func (x *Product) ProtoReflect() protoreflect.Message
type ProductCategory ¶
type ProductCategory struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Category *Category `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,7,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*ProductCategory) Descriptor
deprecated
func (*ProductCategory) Descriptor() ([]byte, []int)
Deprecated: Use ProductCategory.ProtoReflect.Descriptor instead.
func (*ProductCategory) GetCategory ¶
func (x *ProductCategory) GetCategory() *Category
func (*ProductCategory) GetCreatedAt ¶
func (x *ProductCategory) GetCreatedAt() string
func (*ProductCategory) GetCreatedBy ¶
func (x *ProductCategory) GetCreatedBy() string
func (*ProductCategory) GetId ¶
func (x *ProductCategory) GetId() string
func (*ProductCategory) GetName ¶
func (x *ProductCategory) GetName() string
func (*ProductCategory) GetUpdatedAt ¶
func (x *ProductCategory) GetUpdatedAt() string
func (*ProductCategory) GetUpdatedBy ¶
func (x *ProductCategory) GetUpdatedBy() string
func (*ProductCategory) ProtoMessage ¶
func (*ProductCategory) ProtoMessage()
func (*ProductCategory) ProtoReflect ¶
func (x *ProductCategory) ProtoReflect() protoreflect.Message
func (*ProductCategory) Reset ¶
func (x *ProductCategory) Reset()
func (*ProductCategory) String ¶
func (x *ProductCategory) String() string
type ProductCategoryPaginationResponse ¶
type ProductCategoryPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` CategoryId string `protobuf:"bytes,2,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ProductCategoryPaginationResponse) Descriptor
deprecated
func (*ProductCategoryPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProductCategoryPaginationResponse.ProtoReflect.Descriptor instead.
func (*ProductCategoryPaginationResponse) GetCategoryId ¶
func (x *ProductCategoryPaginationResponse) GetCategoryId() string
func (*ProductCategoryPaginationResponse) GetCount ¶
func (x *ProductCategoryPaginationResponse) GetCount() uint32
func (*ProductCategoryPaginationResponse) GetPagination ¶
func (x *ProductCategoryPaginationResponse) GetPagination() *Pagination
func (*ProductCategoryPaginationResponse) ProtoMessage ¶
func (*ProductCategoryPaginationResponse) ProtoMessage()
func (*ProductCategoryPaginationResponse) ProtoReflect ¶
func (x *ProductCategoryPaginationResponse) ProtoReflect() protoreflect.Message
func (*ProductCategoryPaginationResponse) Reset ¶
func (x *ProductCategoryPaginationResponse) Reset()
func (*ProductCategoryPaginationResponse) String ¶
func (x *ProductCategoryPaginationResponse) String() string
type ProductCategoryServiceClient ¶
type ProductCategoryServiceClient interface { Create(ctx context.Context, in *ProductCategory, opts ...grpc.CallOption) (*ProductCategory, error) Update(ctx context.Context, in *ProductCategory, opts ...grpc.CallOption) (*ProductCategory, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*ProductCategory, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListProductCategoryRequest, opts ...grpc.CallOption) (ProductCategoryService_ListClient, error) }
ProductCategoryServiceClient is the client API for ProductCategoryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProductCategoryServiceClient ¶
func NewProductCategoryServiceClient(cc grpc.ClientConnInterface) ProductCategoryServiceClient
type ProductCategoryServiceServer ¶
type ProductCategoryServiceServer interface { Create(context.Context, *ProductCategory) (*ProductCategory, error) Update(context.Context, *ProductCategory) (*ProductCategory, error) View(context.Context, *Id) (*ProductCategory, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListProductCategoryRequest, ProductCategoryService_ListServer) error // contains filtered or unexported methods }
ProductCategoryServiceServer is the server API for ProductCategoryService service. All implementations must embed UnimplementedProductCategoryServiceServer for forward compatibility
type ProductCategoryService_ListClient ¶
type ProductCategoryService_ListClient interface { Recv() (*ListProductCategoryResponse, error) grpc.ClientStream }
type ProductCategoryService_ListServer ¶
type ProductCategoryService_ListServer interface { Send(*ListProductCategoryResponse) error grpc.ServerStream }
type ProductPaginationResponse ¶
type ProductPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` ProductCategoryId string `protobuf:"bytes,2,opt,name=product_category_id,json=productCategoryId,proto3" json:"product_category_id,omitempty"` BrandId string `protobuf:"bytes,3,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"` Ids []string `protobuf:"bytes,4,rep,name=ids,proto3" json:"ids,omitempty"` Count uint32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ProductPaginationResponse) Descriptor
deprecated
func (*ProductPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProductPaginationResponse.ProtoReflect.Descriptor instead.
func (*ProductPaginationResponse) GetBrandId ¶
func (x *ProductPaginationResponse) GetBrandId() string
func (*ProductPaginationResponse) GetCount ¶
func (x *ProductPaginationResponse) GetCount() uint32
func (*ProductPaginationResponse) GetIds ¶
func (x *ProductPaginationResponse) GetIds() []string
func (*ProductPaginationResponse) GetPagination ¶
func (x *ProductPaginationResponse) GetPagination() *Pagination
func (*ProductPaginationResponse) GetProductCategoryId ¶
func (x *ProductPaginationResponse) GetProductCategoryId() string
func (*ProductPaginationResponse) ProtoMessage ¶
func (*ProductPaginationResponse) ProtoMessage()
func (*ProductPaginationResponse) ProtoReflect ¶
func (x *ProductPaginationResponse) ProtoReflect() protoreflect.Message
func (*ProductPaginationResponse) Reset ¶
func (x *ProductPaginationResponse) Reset()
func (*ProductPaginationResponse) String ¶
func (x *ProductPaginationResponse) String() string
type ProductServiceClient ¶
type ProductServiceClient interface { Create(ctx context.Context, in *Product, opts ...grpc.CallOption) (*Product, error) Update(ctx context.Context, in *Product, opts ...grpc.CallOption) (*Product, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Product, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListProductRequest, opts ...grpc.CallOption) (ProductService_ListClient, error) Track(ctx context.Context, in *Product, opts ...grpc.CallOption) (*Transactions, error) }
ProductServiceClient is the client API for ProductService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProductServiceClient ¶
func NewProductServiceClient(cc grpc.ClientConnInterface) ProductServiceClient
type ProductServiceServer ¶
type ProductServiceServer interface { Create(context.Context, *Product) (*Product, error) Update(context.Context, *Product) (*Product, error) View(context.Context, *Id) (*Product, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListProductRequest, ProductService_ListServer) error Track(context.Context, *Product) (*Transactions, error) // contains filtered or unexported methods }
ProductServiceServer is the server API for ProductService service. All implementations must embed UnimplementedProductServiceServer for forward compatibility
type ProductService_ListClient ¶
type ProductService_ListClient interface { Recv() (*ListProductResponse, error) grpc.ClientStream }
type ProductService_ListServer ¶
type ProductService_ListServer interface { Send(*ListProductResponse) error grpc.ServerStream }
type Receive ¶
type Receive struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` BranchName string `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` PurchaseId string `protobuf:"bytes,5,opt,name=purchase_id,json=purchaseId,proto3" json:"purchase_id,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` ReceiveDate string `protobuf:"bytes,7,opt,name=receive_date,json=receiveDate,proto3" json:"receive_date,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"` CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,12,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` Details []*ReceiveDetail `protobuf:"bytes,13,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*Receive) Descriptor
deprecated
func (*Receive) GetBranchId ¶
func (*Receive) GetBranchName ¶
func (*Receive) GetCreatedAt ¶
func (*Receive) GetCreatedBy ¶
func (*Receive) GetDetails ¶
func (x *Receive) GetDetails() []*ReceiveDetail
func (*Receive) GetPurchaseId ¶
func (*Receive) GetReceiveDate ¶
func (*Receive) GetUpdatedAt ¶
func (*Receive) GetUpdatedBy ¶
func (*Receive) ProtoMessage ¶
func (*Receive) ProtoMessage()
func (*Receive) ProtoReflect ¶
func (x *Receive) ProtoReflect() protoreflect.Message
type ReceiveDetail ¶
type ReceiveDetail struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ReceiveId string `protobuf:"bytes,2,opt,name=receive_id,json=receiveId,proto3" json:"receive_id,omitempty"` Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"` Shelve *Shelve `protobuf:"bytes,4,opt,name=shelve,proto3" json:"shelve,omitempty"` ExpiredDate string `protobuf:"bytes,5,opt,name=expired_date,json=expiredDate,proto3" json:"expired_date,omitempty"` // contains filtered or unexported fields }
func (*ReceiveDetail) Descriptor
deprecated
func (*ReceiveDetail) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveDetail.ProtoReflect.Descriptor instead.
func (*ReceiveDetail) GetExpiredDate ¶
func (x *ReceiveDetail) GetExpiredDate() string
func (*ReceiveDetail) GetId ¶
func (x *ReceiveDetail) GetId() string
func (*ReceiveDetail) GetProduct ¶
func (x *ReceiveDetail) GetProduct() *Product
func (*ReceiveDetail) GetReceiveId ¶
func (x *ReceiveDetail) GetReceiveId() string
func (*ReceiveDetail) GetShelve ¶
func (x *ReceiveDetail) GetShelve() *Shelve
func (*ReceiveDetail) ProtoMessage ¶
func (*ReceiveDetail) ProtoMessage()
func (*ReceiveDetail) ProtoReflect ¶
func (x *ReceiveDetail) ProtoReflect() protoreflect.Message
func (*ReceiveDetail) Reset ¶
func (x *ReceiveDetail) Reset()
func (*ReceiveDetail) String ¶
func (x *ReceiveDetail) String() string
type ReceivePaginationResponse ¶
type ReceivePaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` PurchaseId string `protobuf:"bytes,3,opt,name=purchase_id,json=purchaseId,proto3" json:"purchase_id,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ReceivePaginationResponse) Descriptor
deprecated
func (*ReceivePaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePaginationResponse.ProtoReflect.Descriptor instead.
func (*ReceivePaginationResponse) GetBranchId ¶
func (x *ReceivePaginationResponse) GetBranchId() string
func (*ReceivePaginationResponse) GetCount ¶
func (x *ReceivePaginationResponse) GetCount() uint32
func (*ReceivePaginationResponse) GetPagination ¶
func (x *ReceivePaginationResponse) GetPagination() *Pagination
func (*ReceivePaginationResponse) GetPurchaseId ¶
func (x *ReceivePaginationResponse) GetPurchaseId() string
func (*ReceivePaginationResponse) ProtoMessage ¶
func (*ReceivePaginationResponse) ProtoMessage()
func (*ReceivePaginationResponse) ProtoReflect ¶
func (x *ReceivePaginationResponse) ProtoReflect() protoreflect.Message
func (*ReceivePaginationResponse) Reset ¶
func (x *ReceivePaginationResponse) Reset()
func (*ReceivePaginationResponse) String ¶
func (x *ReceivePaginationResponse) String() string
type ReceiveReturn ¶
type ReceiveReturn struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` BranchName string `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` Receive *Receive `protobuf:"bytes,5,opt,name=receive,proto3" json:"receive,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` ReturnDate string `protobuf:"bytes,7,opt,name=return_date,json=returnDate,proto3" json:"return_date,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"` CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,12,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` Details []*ReceiveReturnDetail `protobuf:"bytes,13,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*ReceiveReturn) Descriptor
deprecated
func (*ReceiveReturn) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveReturn.ProtoReflect.Descriptor instead.
func (*ReceiveReturn) GetBranchId ¶
func (x *ReceiveReturn) GetBranchId() string
func (*ReceiveReturn) GetBranchName ¶
func (x *ReceiveReturn) GetBranchName() string
func (*ReceiveReturn) GetCode ¶
func (x *ReceiveReturn) GetCode() string
func (*ReceiveReturn) GetCompanyId ¶
func (x *ReceiveReturn) GetCompanyId() string
func (*ReceiveReturn) GetCreatedAt ¶
func (x *ReceiveReturn) GetCreatedAt() string
func (*ReceiveReturn) GetCreatedBy ¶
func (x *ReceiveReturn) GetCreatedBy() string
func (*ReceiveReturn) GetDetails ¶
func (x *ReceiveReturn) GetDetails() []*ReceiveReturnDetail
func (*ReceiveReturn) GetId ¶
func (x *ReceiveReturn) GetId() string
func (*ReceiveReturn) GetReceive ¶
func (x *ReceiveReturn) GetReceive() *Receive
func (*ReceiveReturn) GetRemark ¶
func (x *ReceiveReturn) GetRemark() string
func (*ReceiveReturn) GetReturnDate ¶
func (x *ReceiveReturn) GetReturnDate() string
func (*ReceiveReturn) GetUpdatedAt ¶
func (x *ReceiveReturn) GetUpdatedAt() string
func (*ReceiveReturn) GetUpdatedBy ¶
func (x *ReceiveReturn) GetUpdatedBy() string
func (*ReceiveReturn) ProtoMessage ¶
func (*ReceiveReturn) ProtoMessage()
func (*ReceiveReturn) ProtoReflect ¶
func (x *ReceiveReturn) ProtoReflect() protoreflect.Message
func (*ReceiveReturn) Reset ¶
func (x *ReceiveReturn) Reset()
func (*ReceiveReturn) String ¶
func (x *ReceiveReturn) String() string
type ReceiveReturnDetail ¶
type ReceiveReturnDetail struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ReceiveReturnId string `protobuf:"bytes,2,opt,name=receive_return_id,json=receiveReturnId,proto3" json:"receive_return_id,omitempty"` Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"` Shelve *Shelve `protobuf:"bytes,4,opt,name=shelve,proto3" json:"shelve,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` Qty uint32 `protobuf:"varint,6,opt,name=qty,proto3" json:"qty,omitempty"` // contains filtered or unexported fields }
func (*ReceiveReturnDetail) Descriptor
deprecated
func (*ReceiveReturnDetail) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveReturnDetail.ProtoReflect.Descriptor instead.
func (*ReceiveReturnDetail) GetCode ¶
func (x *ReceiveReturnDetail) GetCode() string
func (*ReceiveReturnDetail) GetId ¶
func (x *ReceiveReturnDetail) GetId() string
func (*ReceiveReturnDetail) GetProduct ¶
func (x *ReceiveReturnDetail) GetProduct() *Product
func (*ReceiveReturnDetail) GetQty ¶
func (x *ReceiveReturnDetail) GetQty() uint32
func (*ReceiveReturnDetail) GetReceiveReturnId ¶
func (x *ReceiveReturnDetail) GetReceiveReturnId() string
func (*ReceiveReturnDetail) GetShelve ¶
func (x *ReceiveReturnDetail) GetShelve() *Shelve
func (*ReceiveReturnDetail) ProtoMessage ¶
func (*ReceiveReturnDetail) ProtoMessage()
func (*ReceiveReturnDetail) ProtoReflect ¶
func (x *ReceiveReturnDetail) ProtoReflect() protoreflect.Message
func (*ReceiveReturnDetail) Reset ¶
func (x *ReceiveReturnDetail) Reset()
func (*ReceiveReturnDetail) String ¶
func (x *ReceiveReturnDetail) String() string
type ReceiveReturnPaginationResponse ¶
type ReceiveReturnPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` ReceiveId string `protobuf:"bytes,3,opt,name=receive_id,json=receiveId,proto3" json:"receive_id,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ReceiveReturnPaginationResponse) Descriptor
deprecated
func (*ReceiveReturnPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveReturnPaginationResponse.ProtoReflect.Descriptor instead.
func (*ReceiveReturnPaginationResponse) GetBranchId ¶
func (x *ReceiveReturnPaginationResponse) GetBranchId() string
func (*ReceiveReturnPaginationResponse) GetCount ¶
func (x *ReceiveReturnPaginationResponse) GetCount() uint32
func (*ReceiveReturnPaginationResponse) GetPagination ¶
func (x *ReceiveReturnPaginationResponse) GetPagination() *Pagination
func (*ReceiveReturnPaginationResponse) GetReceiveId ¶
func (x *ReceiveReturnPaginationResponse) GetReceiveId() string
func (*ReceiveReturnPaginationResponse) ProtoMessage ¶
func (*ReceiveReturnPaginationResponse) ProtoMessage()
func (*ReceiveReturnPaginationResponse) ProtoReflect ¶
func (x *ReceiveReturnPaginationResponse) ProtoReflect() protoreflect.Message
func (*ReceiveReturnPaginationResponse) Reset ¶
func (x *ReceiveReturnPaginationResponse) Reset()
func (*ReceiveReturnPaginationResponse) String ¶
func (x *ReceiveReturnPaginationResponse) String() string
type ReceiveReturnServiceClient ¶
type ReceiveReturnServiceClient interface { Create(ctx context.Context, in *ReceiveReturn, opts ...grpc.CallOption) (*ReceiveReturn, error) Update(ctx context.Context, in *ReceiveReturn, opts ...grpc.CallOption) (*ReceiveReturn, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*ReceiveReturn, error) List(ctx context.Context, in *ListReceiveReturnRequest, opts ...grpc.CallOption) (ReceiveReturnService_ListClient, error) }
ReceiveReturnServiceClient is the client API for ReceiveReturnService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewReceiveReturnServiceClient ¶
func NewReceiveReturnServiceClient(cc grpc.ClientConnInterface) ReceiveReturnServiceClient
type ReceiveReturnServiceServer ¶
type ReceiveReturnServiceServer interface { Create(context.Context, *ReceiveReturn) (*ReceiveReturn, error) Update(context.Context, *ReceiveReturn) (*ReceiveReturn, error) View(context.Context, *Id) (*ReceiveReturn, error) List(*ListReceiveReturnRequest, ReceiveReturnService_ListServer) error // contains filtered or unexported methods }
ReceiveReturnServiceServer is the server API for ReceiveReturnService service. All implementations must embed UnimplementedReceiveReturnServiceServer for forward compatibility
type ReceiveReturnService_ListClient ¶
type ReceiveReturnService_ListClient interface { Recv() (*ListReceiveReturnResponse, error) grpc.ClientStream }
type ReceiveReturnService_ListServer ¶
type ReceiveReturnService_ListServer interface { Send(*ListReceiveReturnResponse) error grpc.ServerStream }
type ReceiveServiceClient ¶
type ReceiveServiceClient interface { Create(ctx context.Context, in *Receive, opts ...grpc.CallOption) (*Receive, error) Update(ctx context.Context, in *Receive, opts ...grpc.CallOption) (*Receive, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Receive, error) List(ctx context.Context, in *ListReceiveRequest, opts ...grpc.CallOption) (ReceiveService_ListClient, error) }
ReceiveServiceClient is the client API for ReceiveService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewReceiveServiceClient ¶
func NewReceiveServiceClient(cc grpc.ClientConnInterface) ReceiveServiceClient
type ReceiveServiceServer ¶
type ReceiveServiceServer interface { Create(context.Context, *Receive) (*Receive, error) Update(context.Context, *Receive) (*Receive, error) View(context.Context, *Id) (*Receive, error) List(*ListReceiveRequest, ReceiveService_ListServer) error // contains filtered or unexported methods }
ReceiveServiceServer is the server API for ReceiveService service. All implementations must embed UnimplementedReceiveServiceServer for forward compatibility
type ReceiveService_ListClient ¶
type ReceiveService_ListClient interface { Recv() (*ListReceiveResponse, error) grpc.ClientStream }
type ReceiveService_ListServer ¶
type ReceiveService_ListServer interface { Send(*ListReceiveResponse) error grpc.ServerStream }
type Shelve ¶
type Shelve struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Warehouse *Warehouse `protobuf:"bytes,2,opt,name=warehouse,proto3" json:"warehouse,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Capacity string `protobuf:"bytes,4,opt,name=capacity,proto3" json:"capacity,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,8,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Shelve) Descriptor
deprecated
func (*Shelve) GetCapacity ¶
func (*Shelve) GetCreatedAt ¶
func (*Shelve) GetCreatedBy ¶
func (*Shelve) GetUpdatedAt ¶
func (*Shelve) GetUpdatedBy ¶
func (*Shelve) GetWarehouse ¶
func (*Shelve) ProtoMessage ¶
func (*Shelve) ProtoMessage()
func (*Shelve) ProtoReflect ¶
func (x *Shelve) ProtoReflect() protoreflect.Message
type ShelvePaginationResponse ¶
type ShelvePaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` WarehouseId string `protobuf:"bytes,2,opt,name=warehouse_id,json=warehouseId,proto3" json:"warehouse_id,omitempty"` Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ShelvePaginationResponse) Descriptor
deprecated
func (*ShelvePaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShelvePaginationResponse.ProtoReflect.Descriptor instead.
func (*ShelvePaginationResponse) GetCount ¶
func (x *ShelvePaginationResponse) GetCount() uint32
func (*ShelvePaginationResponse) GetPagination ¶
func (x *ShelvePaginationResponse) GetPagination() *Pagination
func (*ShelvePaginationResponse) GetWarehouseId ¶
func (x *ShelvePaginationResponse) GetWarehouseId() string
func (*ShelvePaginationResponse) ProtoMessage ¶
func (*ShelvePaginationResponse) ProtoMessage()
func (*ShelvePaginationResponse) ProtoReflect ¶
func (x *ShelvePaginationResponse) ProtoReflect() protoreflect.Message
func (*ShelvePaginationResponse) Reset ¶
func (x *ShelvePaginationResponse) Reset()
func (*ShelvePaginationResponse) String ¶
func (x *ShelvePaginationResponse) String() string
type ShelveServiceClient ¶
type ShelveServiceClient interface { Create(ctx context.Context, in *Shelve, opts ...grpc.CallOption) (*Shelve, error) Update(ctx context.Context, in *Shelve, opts ...grpc.CallOption) (*Shelve, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Shelve, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListShelveRequest, opts ...grpc.CallOption) (ShelveService_ListClient, error) }
ShelveServiceClient is the client API for ShelveService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewShelveServiceClient ¶
func NewShelveServiceClient(cc grpc.ClientConnInterface) ShelveServiceClient
type ShelveServiceServer ¶
type ShelveServiceServer interface { Create(context.Context, *Shelve) (*Shelve, error) Update(context.Context, *Shelve) (*Shelve, error) View(context.Context, *Id) (*Shelve, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListShelveRequest, ShelveService_ListServer) error // contains filtered or unexported methods }
ShelveServiceServer is the server API for ShelveService service. All implementations must embed UnimplementedShelveServiceServer for forward compatibility
type ShelveService_ListClient ¶
type ShelveService_ListClient interface { Recv() (*ListShelveResponse, error) grpc.ClientStream }
type ShelveService_ListServer ¶
type ShelveService_ListServer interface { Send(*ListShelveResponse) error grpc.ServerStream }
type StockInfo ¶
type StockInfo struct { Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` Qty int32 `protobuf:"varint,2,opt,name=qty,proto3" json:"qty,omitempty"` // contains filtered or unexported fields }
func (*StockInfo) Descriptor
deprecated
func (*StockInfo) GetProduct ¶
func (*StockInfo) ProtoMessage ¶
func (*StockInfo) ProtoMessage()
func (*StockInfo) ProtoReflect ¶
func (x *StockInfo) ProtoReflect() protoreflect.Message
type StockInfoInput ¶
type StockInfoInput struct { BranchId string `protobuf:"bytes,1,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` ProductId string `protobuf:"bytes,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // contains filtered or unexported fields }
func (*StockInfoInput) Descriptor
deprecated
func (*StockInfoInput) Descriptor() ([]byte, []int)
Deprecated: Use StockInfoInput.ProtoReflect.Descriptor instead.
func (*StockInfoInput) GetBranchId ¶
func (x *StockInfoInput) GetBranchId() string
func (*StockInfoInput) GetProductId ¶
func (x *StockInfoInput) GetProductId() string
func (*StockInfoInput) ProtoMessage ¶
func (*StockInfoInput) ProtoMessage()
func (*StockInfoInput) ProtoReflect ¶
func (x *StockInfoInput) ProtoReflect() protoreflect.Message
func (*StockInfoInput) Reset ¶
func (x *StockInfoInput) Reset()
func (*StockInfoInput) String ¶
func (x *StockInfoInput) String() string
type StockList ¶
type StockList struct { StockInfos []*StockInfo `protobuf:"bytes,1,rep,name=stock_infos,json=stockInfos,proto3" json:"stock_infos,omitempty"` // contains filtered or unexported fields }
func (*StockList) Descriptor
deprecated
func (*StockList) GetStockInfos ¶
func (*StockList) ProtoMessage ¶
func (*StockList) ProtoMessage()
func (*StockList) ProtoReflect ¶
func (x *StockList) ProtoReflect() protoreflect.Message
type StockListInput ¶
type StockListInput struct { BranchId string `protobuf:"bytes,1,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` // contains filtered or unexported fields }
func (*StockListInput) Descriptor
deprecated
func (*StockListInput) Descriptor() ([]byte, []int)
Deprecated: Use StockListInput.ProtoReflect.Descriptor instead.
func (*StockListInput) GetBranchId ¶
func (x *StockListInput) GetBranchId() string
func (*StockListInput) ProtoMessage ¶
func (*StockListInput) ProtoMessage()
func (*StockListInput) ProtoReflect ¶
func (x *StockListInput) ProtoReflect() protoreflect.Message
func (*StockListInput) Reset ¶
func (x *StockListInput) Reset()
func (*StockListInput) String ¶
func (x *StockListInput) String() string
type StockServiceClient ¶
type StockServiceClient interface { Closing(ctx context.Context, in *ClosingStockRequest, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *StockListInput, opts ...grpc.CallOption) (*StockList, error) Info(ctx context.Context, in *StockInfoInput, opts ...grpc.CallOption) (*StockInfo, error) }
StockServiceClient is the client API for StockService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStockServiceClient ¶
func NewStockServiceClient(cc grpc.ClientConnInterface) StockServiceClient
type StockServiceServer ¶
type StockServiceServer interface { Closing(context.Context, *ClosingStockRequest) (*MyBoolean, error) List(context.Context, *StockListInput) (*StockList, error) Info(context.Context, *StockInfoInput) (*StockInfo, error) // contains filtered or unexported methods }
StockServiceServer is the server API for StockService service. All implementations must embed UnimplementedStockServiceServer for forward compatibility
type Transaction ¶
type Transaction struct { BranchId string `protobuf:"bytes,1,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` BranchName string `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` WarehouseId string `protobuf:"bytes,3,opt,name=warehouse_id,json=warehouseId,proto3" json:"warehouse_id,omitempty"` WarehouseName string `protobuf:"bytes,4,opt,name=warehouse_name,json=warehouseName,proto3" json:"warehouse_name,omitempty"` ShelveId string `protobuf:"bytes,5,opt,name=shelve_id,json=shelveId,proto3" json:"shelve_id,omitempty"` ShelveCode string `protobuf:"bytes,6,opt,name=shelve_code,json=shelveCode,proto3" json:"shelve_code,omitempty"` ProductId string `protobuf:"bytes,7,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` Barcode string `protobuf:"bytes,8,opt,name=barcode,proto3" json:"barcode,omitempty"` TransactionCode string `protobuf:"bytes,9,opt,name=transaction_code,json=transactionCode,proto3" json:"transaction_code,omitempty"` TransactionType string `protobuf:"bytes,10,opt,name=transaction_type,json=transactionType,proto3" json:"transaction_type,omitempty"` TransactionDate string `protobuf:"bytes,11,opt,name=transaction_date,json=transactionDate,proto3" json:"transaction_date,omitempty"` IsIn bool `protobuf:"varint,12,opt,name=is_in,json=isIn,proto3" json:"is_in,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetBarcode ¶
func (x *Transaction) GetBarcode() string
func (*Transaction) GetBranchId ¶
func (x *Transaction) GetBranchId() string
func (*Transaction) GetBranchName ¶
func (x *Transaction) GetBranchName() string
func (*Transaction) GetIsIn ¶
func (x *Transaction) GetIsIn() bool
func (*Transaction) GetProductId ¶
func (x *Transaction) GetProductId() string
func (*Transaction) GetShelveCode ¶
func (x *Transaction) GetShelveCode() string
func (*Transaction) GetShelveId ¶
func (x *Transaction) GetShelveId() string
func (*Transaction) GetTransactionCode ¶
func (x *Transaction) GetTransactionCode() string
func (*Transaction) GetTransactionDate ¶
func (x *Transaction) GetTransactionDate() string
func (*Transaction) GetTransactionType ¶
func (x *Transaction) GetTransactionType() string
func (*Transaction) GetWarehouseId ¶
func (x *Transaction) GetWarehouseId() string
func (*Transaction) GetWarehouseName ¶
func (x *Transaction) GetWarehouseName() string
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type Transactions ¶
type Transactions struct { Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*Transactions) Descriptor
deprecated
func (*Transactions) Descriptor() ([]byte, []int)
Deprecated: Use Transactions.ProtoReflect.Descriptor instead.
func (*Transactions) GetTransactions ¶
func (x *Transactions) GetTransactions() []*Transaction
func (*Transactions) ProtoMessage ¶
func (*Transactions) ProtoMessage()
func (*Transactions) ProtoReflect ¶
func (x *Transactions) ProtoReflect() protoreflect.Message
func (*Transactions) Reset ¶
func (x *Transactions) Reset()
func (*Transactions) String ¶
func (x *Transactions) String() string
type UnimplementedBrandServiceServer ¶
type UnimplementedBrandServiceServer struct { }
UnimplementedBrandServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBrandServiceServer) List ¶
func (UnimplementedBrandServiceServer) List(*Pagination, BrandService_ListServer) error
type UnimplementedCategoryServiceServer ¶
type UnimplementedCategoryServiceServer struct { }
UnimplementedCategoryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCategoryServiceServer) List ¶
func (UnimplementedCategoryServiceServer) List(*MyEmpty, CategoryService_ListServer) error
type UnimplementedDeliveryReturnServiceServer ¶
type UnimplementedDeliveryReturnServiceServer struct { }
UnimplementedDeliveryReturnServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDeliveryReturnServiceServer) Create ¶
func (UnimplementedDeliveryReturnServiceServer) Create(context.Context, *DeliveryReturn) (*DeliveryReturn, error)
func (UnimplementedDeliveryReturnServiceServer) Update ¶
func (UnimplementedDeliveryReturnServiceServer) Update(context.Context, *DeliveryReturn) (*DeliveryReturn, error)
func (UnimplementedDeliveryReturnServiceServer) View ¶
func (UnimplementedDeliveryReturnServiceServer) View(context.Context, *Id) (*DeliveryReturn, error)
type UnimplementedDeliveryServiceServer ¶
type UnimplementedDeliveryServiceServer struct { }
UnimplementedDeliveryServiceServer must be embedded to have forward compatible implementations.
type UnimplementedProductCategoryServiceServer ¶
type UnimplementedProductCategoryServiceServer struct { }
UnimplementedProductCategoryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProductCategoryServiceServer) Create ¶
func (UnimplementedProductCategoryServiceServer) Create(context.Context, *ProductCategory) (*ProductCategory, error)
func (UnimplementedProductCategoryServiceServer) Update ¶
func (UnimplementedProductCategoryServiceServer) Update(context.Context, *ProductCategory) (*ProductCategory, error)
func (UnimplementedProductCategoryServiceServer) View ¶
func (UnimplementedProductCategoryServiceServer) View(context.Context, *Id) (*ProductCategory, error)
type UnimplementedProductServiceServer ¶
type UnimplementedProductServiceServer struct { }
UnimplementedProductServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProductServiceServer) Track ¶
func (UnimplementedProductServiceServer) Track(context.Context, *Product) (*Transactions, error)
type UnimplementedReceiveReturnServiceServer ¶
type UnimplementedReceiveReturnServiceServer struct { }
UnimplementedReceiveReturnServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedReceiveReturnServiceServer) Create ¶
func (UnimplementedReceiveReturnServiceServer) Create(context.Context, *ReceiveReturn) (*ReceiveReturn, error)
func (UnimplementedReceiveReturnServiceServer) Update ¶
func (UnimplementedReceiveReturnServiceServer) Update(context.Context, *ReceiveReturn) (*ReceiveReturn, error)
func (UnimplementedReceiveReturnServiceServer) View ¶
func (UnimplementedReceiveReturnServiceServer) View(context.Context, *Id) (*ReceiveReturn, error)
type UnimplementedReceiveServiceServer ¶
type UnimplementedReceiveServiceServer struct { }
UnimplementedReceiveServiceServer must be embedded to have forward compatible implementations.
type UnimplementedShelveServiceServer ¶
type UnimplementedShelveServiceServer struct { }
UnimplementedShelveServiceServer must be embedded to have forward compatible implementations.
type UnimplementedStockServiceServer ¶
type UnimplementedStockServiceServer struct { }
UnimplementedStockServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedStockServiceServer) Closing ¶
func (UnimplementedStockServiceServer) Closing(context.Context, *ClosingStockRequest) (*MyBoolean, error)
func (UnimplementedStockServiceServer) Info ¶
func (UnimplementedStockServiceServer) Info(context.Context, *StockInfoInput) (*StockInfo, error)
func (UnimplementedStockServiceServer) List ¶
func (UnimplementedStockServiceServer) List(context.Context, *StockListInput) (*StockList, error)
type UnimplementedWarehouseServiceServer ¶
type UnimplementedWarehouseServiceServer struct { }
UnimplementedWarehouseServiceServer must be embedded to have forward compatible implementations.
type UnsafeBrandServiceServer ¶
type UnsafeBrandServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBrandServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BrandServiceServer will result in compilation errors.
type UnsafeCategoryServiceServer ¶
type UnsafeCategoryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCategoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CategoryServiceServer will result in compilation errors.
type UnsafeDeliveryReturnServiceServer ¶
type UnsafeDeliveryReturnServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeliveryReturnServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeliveryReturnServiceServer will result in compilation errors.
type UnsafeDeliveryServiceServer ¶
type UnsafeDeliveryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeliveryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeliveryServiceServer will result in compilation errors.
type UnsafeProductCategoryServiceServer ¶
type UnsafeProductCategoryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProductCategoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductCategoryServiceServer will result in compilation errors.
type UnsafeProductServiceServer ¶
type UnsafeProductServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProductServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductServiceServer will result in compilation errors.
type UnsafeReceiveReturnServiceServer ¶
type UnsafeReceiveReturnServiceServer interface {
// contains filtered or unexported methods
}
UnsafeReceiveReturnServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReceiveReturnServiceServer will result in compilation errors.
type UnsafeReceiveServiceServer ¶
type UnsafeReceiveServiceServer interface {
// contains filtered or unexported methods
}
UnsafeReceiveServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReceiveServiceServer will result in compilation errors.
type UnsafeShelveServiceServer ¶
type UnsafeShelveServiceServer interface {
// contains filtered or unexported methods
}
UnsafeShelveServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ShelveServiceServer will result in compilation errors.
type UnsafeStockServiceServer ¶
type UnsafeStockServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStockServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StockServiceServer will result in compilation errors.
type UnsafeWarehouseServiceServer ¶
type UnsafeWarehouseServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWarehouseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WarehouseServiceServer will result in compilation errors.
type Warehouse ¶
type Warehouse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` BranchName string `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` PicName string `protobuf:"bytes,7,opt,name=pic_name,json=picName,proto3" json:"pic_name,omitempty"` PicPhone string `protobuf:"bytes,8,opt,name=pic_phone,json=picPhone,proto3" json:"pic_phone,omitempty"` CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,12,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Warehouse) Descriptor
deprecated
func (*Warehouse) GetBranchId ¶
func (*Warehouse) GetBranchName ¶
func (*Warehouse) GetCompanyId ¶
func (*Warehouse) GetCreatedAt ¶
func (*Warehouse) GetCreatedBy ¶
func (*Warehouse) GetPicName ¶
func (*Warehouse) GetPicPhone ¶
func (*Warehouse) GetUpdatedAt ¶
func (*Warehouse) GetUpdatedBy ¶
func (*Warehouse) ProtoMessage ¶
func (*Warehouse) ProtoMessage()
func (*Warehouse) ProtoReflect ¶
func (x *Warehouse) ProtoReflect() protoreflect.Message
type WarehousePaginationResponse ¶
type WarehousePaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` BranchId string `protobuf:"bytes,2,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*WarehousePaginationResponse) Descriptor
deprecated
func (*WarehousePaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use WarehousePaginationResponse.ProtoReflect.Descriptor instead.
func (*WarehousePaginationResponse) GetBranchId ¶
func (x *WarehousePaginationResponse) GetBranchId() string
func (*WarehousePaginationResponse) GetCount ¶
func (x *WarehousePaginationResponse) GetCount() uint32
func (*WarehousePaginationResponse) GetPagination ¶
func (x *WarehousePaginationResponse) GetPagination() *Pagination
func (*WarehousePaginationResponse) ProtoMessage ¶
func (*WarehousePaginationResponse) ProtoMessage()
func (*WarehousePaginationResponse) ProtoReflect ¶
func (x *WarehousePaginationResponse) ProtoReflect() protoreflect.Message
func (*WarehousePaginationResponse) Reset ¶
func (x *WarehousePaginationResponse) Reset()
func (*WarehousePaginationResponse) String ¶
func (x *WarehousePaginationResponse) String() string
type WarehouseServiceClient ¶
type WarehouseServiceClient interface { Create(ctx context.Context, in *Warehouse, opts ...grpc.CallOption) (*Warehouse, error) Update(ctx context.Context, in *Warehouse, opts ...grpc.CallOption) (*Warehouse, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Warehouse, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListWarehouseRequest, opts ...grpc.CallOption) (WarehouseService_ListClient, error) }
WarehouseServiceClient is the client API for WarehouseService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWarehouseServiceClient ¶
func NewWarehouseServiceClient(cc grpc.ClientConnInterface) WarehouseServiceClient
type WarehouseServiceServer ¶
type WarehouseServiceServer interface { Create(context.Context, *Warehouse) (*Warehouse, error) Update(context.Context, *Warehouse) (*Warehouse, error) View(context.Context, *Id) (*Warehouse, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListWarehouseRequest, WarehouseService_ListServer) error // contains filtered or unexported methods }
WarehouseServiceServer is the server API for WarehouseService service. All implementations must embed UnimplementedWarehouseServiceServer for forward compatibility
type WarehouseService_ListClient ¶
type WarehouseService_ListClient interface { Recv() (*ListWarehouseResponse, error) grpc.ClientStream }
type WarehouseService_ListServer ¶
type WarehouseService_ListServer interface { Send(*ListWarehouseResponse) error grpc.ServerStream }
Source Files ¶
- brand_message.pb.go
- brand_service.pb.go
- brand_service_grpc.pb.go
- category_message.pb.go
- category_service.pb.go
- category_service_grpc.pb.go
- delivery_detail_message.pb.go
- delivery_message.pb.go
- delivery_return_detail_message.pb.go
- delivery_return_message.pb.go
- delivery_return_service.pb.go
- delivery_return_service_grpc.pb.go
- delivery_service.pb.go
- delivery_service_grpc.pb.go
- generic_message.pb.go
- product_category_message.pb.go
- product_category_service.pb.go
- product_category_service_grpc.pb.go
- product_message.pb.go
- product_service.pb.go
- product_service_grpc.pb.go
- receive_detail_message.pb.go
- receive_message.pb.go
- receive_return_detail_message.pb.go
- receive_return_message.pb.go
- receive_return_service.pb.go
- receive_return_service_grpc.pb.go
- receive_service.pb.go
- receive_service_grpc.pb.go
- shelve_message.pb.go
- shelve_service.pb.go
- shelve_service_grpc.pb.go
- stock_service.pb.go
- stock_service_grpc.pb.go
- transaction_message.pb.go
- warehouse_message.pb.go
- warehouse_service.pb.go
- warehouse_service_grpc.pb.go