v1

package
v0.0.66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product_CreateTerminal_FullMethodName         = "/api.product.v1.Product/CreateTerminal"
	Product_EditTerminal_FullMethodName           = "/api.product.v1.Product/EditTerminal"
	Product_DelTerminal_FullMethodName            = "/api.product.v1.Product/DelTerminal"
	Product_ListTerminal_FullMethodName           = "/api.product.v1.Product/ListTerminal"
	Product_PageListTerminal_FullMethodName       = "/api.product.v1.Product/PageListTerminal"
	Product_GetTerminal_FullMethodName            = "/api.product.v1.Product/GetTerminal"
	Product_CreateKind_FullMethodName             = "/api.product.v1.Product/CreateKind"
	Product_EditKind_FullMethodName               = "/api.product.v1.Product/EditKind"
	Product_DelKind_FullMethodName                = "/api.product.v1.Product/DelKind"
	Product_ListKind_FullMethodName               = "/api.product.v1.Product/ListKind"
	Product_PageListKind_FullMethodName           = "/api.product.v1.Product/PageListKind"
	Product_GetKind_FullMethodName                = "/api.product.v1.Product/GetKind"
	Product_CreateProduct_FullMethodName          = "/api.product.v1.Product/CreateProduct"
	Product_EditProduct_FullMethodName            = "/api.product.v1.Product/EditProduct"
	Product_DelProduct_FullMethodName             = "/api.product.v1.Product/DelProduct"
	Product_ListProduct_FullMethodName            = "/api.product.v1.Product/ListProduct"
	Product_PageListProduct_FullMethodName        = "/api.product.v1.Product/PageListProduct"
	Product_GetProduct_FullMethodName             = "/api.product.v1.Product/GetProduct"
	Product_CreateCategory_FullMethodName         = "/api.product.v1.Product/CreateCategory"
	Product_EditCategory_FullMethodName           = "/api.product.v1.Product/EditCategory"
	Product_DelCategory_FullMethodName            = "/api.product.v1.Product/DelCategory"
	Product_ListCategory_FullMethodName           = "/api.product.v1.Product/ListCategory"
	Product_PageListCategory_FullMethodName       = "/api.product.v1.Product/PageListCategory"
	Product_GetCategory_FullMethodName            = "/api.product.v1.Product/GetCategory"
	Product_CreateRegion_FullMethodName           = "/api.product.v1.Product/CreateRegion"
	Product_EditRegion_FullMethodName             = "/api.product.v1.Product/EditRegion"
	Product_DelRegion_FullMethodName              = "/api.product.v1.Product/DelRegion"
	Product_ListRegion_FullMethodName             = "/api.product.v1.Product/ListRegion"
	Product_PageListRegion_FullMethodName         = "/api.product.v1.Product/PageListRegion"
	Product_GetRegion_FullMethodName              = "/api.product.v1.Product/GetRegion"
	Product_CreateProductInfo_FullMethodName      = "/api.product.v1.Product/CreateProductInfo"
	Product_EditProductInfo_FullMethodName        = "/api.product.v1.Product/EditProductInfo"
	Product_DelProductInfo_FullMethodName         = "/api.product.v1.Product/DelProductInfo"
	Product_ListProductInfo_FullMethodName        = "/api.product.v1.Product/ListProductInfo"
	Product_PageListProductInfo_FullMethodName    = "/api.product.v1.Product/PageListProductInfo"
	Product_GetProductInfo_FullMethodName         = "/api.product.v1.Product/GetProductInfo"
	Product_CreateProductTerminal_FullMethodName  = "/api.product.v1.Product/CreateProductTerminal"
	Product_EditProductTerminal_FullMethodName    = "/api.product.v1.Product/EditProductTerminal"
	Product_DelProductTerminal_FullMethodName     = "/api.product.v1.Product/DelProductTerminal"
	Product_ListProductTerminal_FullMethodName    = "/api.product.v1.Product/ListProductTerminal"
	Product_PageProductTerminal_FullMethodName    = "/api.product.v1.Product/PageProductTerminal"
	Product_GetProductTerminalInfo_FullMethodName = "/api.product.v1.Product/GetProductTerminalInfo"
	Product_CreateAttribute_FullMethodName        = "/api.product.v1.Product/CreateAttribute"
	Product_EditAttribute_FullMethodName          = "/api.product.v1.Product/EditAttribute"
	Product_DelAttribute_FullMethodName           = "/api.product.v1.Product/DelAttribute"
	Product_ListAttribute_FullMethodName          = "/api.product.v1.Product/ListAttribute"
	Product_PageListAttribute_FullMethodName      = "/api.product.v1.Product/PageListAttribute"
	Product_GetAttribute_FullMethodName           = "/api.product.v1.Product/GetAttribute"
)
View Source
const OperationProductCreateAttribute = "/api.product.v1.Product/CreateAttribute"
View Source
const OperationProductCreateCategory = "/api.product.v1.Product/CreateCategory"
View Source
const OperationProductCreateKind = "/api.product.v1.Product/CreateKind"
View Source
const OperationProductCreateProduct = "/api.product.v1.Product/CreateProduct"
View Source
const OperationProductCreateProductInfo = "/api.product.v1.Product/CreateProductInfo"
View Source
const OperationProductCreateProductTerminal = "/api.product.v1.Product/CreateProductTerminal"
View Source
const OperationProductCreateRegion = "/api.product.v1.Product/CreateRegion"
View Source
const OperationProductCreateTerminal = "/api.product.v1.Product/CreateTerminal"
View Source
const OperationProductDelAttribute = "/api.product.v1.Product/DelAttribute"
View Source
const OperationProductDelCategory = "/api.product.v1.Product/DelCategory"
View Source
const OperationProductDelKind = "/api.product.v1.Product/DelKind"
View Source
const OperationProductDelProduct = "/api.product.v1.Product/DelProduct"
View Source
const OperationProductDelProductInfo = "/api.product.v1.Product/DelProductInfo"
View Source
const OperationProductDelProductTerminal = "/api.product.v1.Product/DelProductTerminal"
View Source
const OperationProductDelRegion = "/api.product.v1.Product/DelRegion"
View Source
const OperationProductDelTerminal = "/api.product.v1.Product/DelTerminal"
View Source
const OperationProductEditAttribute = "/api.product.v1.Product/EditAttribute"
View Source
const OperationProductEditCategory = "/api.product.v1.Product/EditCategory"
View Source
const OperationProductEditKind = "/api.product.v1.Product/EditKind"
View Source
const OperationProductEditProduct = "/api.product.v1.Product/EditProduct"
View Source
const OperationProductEditProductInfo = "/api.product.v1.Product/EditProductInfo"
View Source
const OperationProductEditProductTerminal = "/api.product.v1.Product/EditProductTerminal"
View Source
const OperationProductEditRegion = "/api.product.v1.Product/EditRegion"
View Source
const OperationProductEditTerminal = "/api.product.v1.Product/EditTerminal"
View Source
const OperationProductGetAttribute = "/api.product.v1.Product/GetAttribute"
View Source
const OperationProductGetCategory = "/api.product.v1.Product/GetCategory"
View Source
const OperationProductGetKind = "/api.product.v1.Product/GetKind"
View Source
const OperationProductGetProduct = "/api.product.v1.Product/GetProduct"
View Source
const OperationProductGetProductInfo = "/api.product.v1.Product/GetProductInfo"
View Source
const OperationProductGetProductTerminalInfo = "/api.product.v1.Product/GetProductTerminalInfo"
View Source
const OperationProductGetRegion = "/api.product.v1.Product/GetRegion"
View Source
const OperationProductGetTerminal = "/api.product.v1.Product/GetTerminal"
View Source
const OperationProductListAttribute = "/api.product.v1.Product/ListAttribute"
View Source
const OperationProductListCategory = "/api.product.v1.Product/ListCategory"
View Source
const OperationProductListKind = "/api.product.v1.Product/ListKind"
View Source
const OperationProductListProduct = "/api.product.v1.Product/ListProduct"
View Source
const OperationProductListProductInfo = "/api.product.v1.Product/ListProductInfo"
View Source
const OperationProductListProductTerminal = "/api.product.v1.Product/ListProductTerminal"
View Source
const OperationProductListRegion = "/api.product.v1.Product/ListRegion"
View Source
const OperationProductListTerminal = "/api.product.v1.Product/ListTerminal"
View Source
const OperationProductPageListAttribute = "/api.product.v1.Product/PageListAttribute"
View Source
const OperationProductPageListCategory = "/api.product.v1.Product/PageListCategory"
View Source
const OperationProductPageListKind = "/api.product.v1.Product/PageListKind"
View Source
const OperationProductPageListProduct = "/api.product.v1.Product/PageListProduct"
View Source
const OperationProductPageListProductInfo = "/api.product.v1.Product/PageListProductInfo"
View Source
const OperationProductPageListRegion = "/api.product.v1.Product/PageListRegion"
View Source
const OperationProductPageListTerminal = "/api.product.v1.Product/PageListTerminal"
View Source
const OperationProductPageProductTerminal = "/api.product.v1.Product/PageProductTerminal"

Variables

View Source
var File_api_product_v1_product_proto protoreflect.FileDescriptor
View Source
var Product_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.product.v1.Product",
	HandlerType: (*ProductServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTerminal",
			Handler:    _Product_CreateTerminal_Handler,
		},
		{
			MethodName: "EditTerminal",
			Handler:    _Product_EditTerminal_Handler,
		},
		{
			MethodName: "DelTerminal",
			Handler:    _Product_DelTerminal_Handler,
		},
		{
			MethodName: "ListTerminal",
			Handler:    _Product_ListTerminal_Handler,
		},
		{
			MethodName: "PageListTerminal",
			Handler:    _Product_PageListTerminal_Handler,
		},
		{
			MethodName: "GetTerminal",
			Handler:    _Product_GetTerminal_Handler,
		},
		{
			MethodName: "CreateKind",
			Handler:    _Product_CreateKind_Handler,
		},
		{
			MethodName: "EditKind",
			Handler:    _Product_EditKind_Handler,
		},
		{
			MethodName: "DelKind",
			Handler:    _Product_DelKind_Handler,
		},
		{
			MethodName: "ListKind",
			Handler:    _Product_ListKind_Handler,
		},
		{
			MethodName: "PageListKind",
			Handler:    _Product_PageListKind_Handler,
		},
		{
			MethodName: "GetKind",
			Handler:    _Product_GetKind_Handler,
		},
		{
			MethodName: "CreateProduct",
			Handler:    _Product_CreateProduct_Handler,
		},
		{
			MethodName: "EditProduct",
			Handler:    _Product_EditProduct_Handler,
		},
		{
			MethodName: "DelProduct",
			Handler:    _Product_DelProduct_Handler,
		},
		{
			MethodName: "ListProduct",
			Handler:    _Product_ListProduct_Handler,
		},
		{
			MethodName: "PageListProduct",
			Handler:    _Product_PageListProduct_Handler,
		},
		{
			MethodName: "GetProduct",
			Handler:    _Product_GetProduct_Handler,
		},
		{
			MethodName: "CreateCategory",
			Handler:    _Product_CreateCategory_Handler,
		},
		{
			MethodName: "EditCategory",
			Handler:    _Product_EditCategory_Handler,
		},
		{
			MethodName: "DelCategory",
			Handler:    _Product_DelCategory_Handler,
		},
		{
			MethodName: "ListCategory",
			Handler:    _Product_ListCategory_Handler,
		},
		{
			MethodName: "PageListCategory",
			Handler:    _Product_PageListCategory_Handler,
		},
		{
			MethodName: "GetCategory",
			Handler:    _Product_GetCategory_Handler,
		},
		{
			MethodName: "CreateRegion",
			Handler:    _Product_CreateRegion_Handler,
		},
		{
			MethodName: "EditRegion",
			Handler:    _Product_EditRegion_Handler,
		},
		{
			MethodName: "DelRegion",
			Handler:    _Product_DelRegion_Handler,
		},
		{
			MethodName: "ListRegion",
			Handler:    _Product_ListRegion_Handler,
		},
		{
			MethodName: "PageListRegion",
			Handler:    _Product_PageListRegion_Handler,
		},
		{
			MethodName: "GetRegion",
			Handler:    _Product_GetRegion_Handler,
		},
		{
			MethodName: "CreateProductInfo",
			Handler:    _Product_CreateProductInfo_Handler,
		},
		{
			MethodName: "EditProductInfo",
			Handler:    _Product_EditProductInfo_Handler,
		},
		{
			MethodName: "DelProductInfo",
			Handler:    _Product_DelProductInfo_Handler,
		},
		{
			MethodName: "ListProductInfo",
			Handler:    _Product_ListProductInfo_Handler,
		},
		{
			MethodName: "PageListProductInfo",
			Handler:    _Product_PageListProductInfo_Handler,
		},
		{
			MethodName: "GetProductInfo",
			Handler:    _Product_GetProductInfo_Handler,
		},
		{
			MethodName: "CreateProductTerminal",
			Handler:    _Product_CreateProductTerminal_Handler,
		},
		{
			MethodName: "EditProductTerminal",
			Handler:    _Product_EditProductTerminal_Handler,
		},
		{
			MethodName: "DelProductTerminal",
			Handler:    _Product_DelProductTerminal_Handler,
		},
		{
			MethodName: "ListProductTerminal",
			Handler:    _Product_ListProductTerminal_Handler,
		},
		{
			MethodName: "PageProductTerminal",
			Handler:    _Product_PageProductTerminal_Handler,
		},
		{
			MethodName: "GetProductTerminalInfo",
			Handler:    _Product_GetProductTerminalInfo_Handler,
		},
		{
			MethodName: "CreateAttribute",
			Handler:    _Product_CreateAttribute_Handler,
		},
		{
			MethodName: "EditAttribute",
			Handler:    _Product_EditAttribute_Handler,
		},
		{
			MethodName: "DelAttribute",
			Handler:    _Product_DelAttribute_Handler,
		},
		{
			MethodName: "ListAttribute",
			Handler:    _Product_ListAttribute_Handler,
		},
		{
			MethodName: "PageListAttribute",
			Handler:    _Product_PageListAttribute_Handler,
		},
		{
			MethodName: "GetAttribute",
			Handler:    _Product_GetAttribute_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "product/v1/product.proto",
}

Product_ServiceDesc is the grpc.ServiceDesc for Product service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProductHTTPServer

func RegisterProductHTTPServer(s *http.Server, srv ProductHTTPServer)

func RegisterProductServer

func RegisterProductServer(s grpc.ServiceRegistrar, srv ProductServer)

Types

type Attribute added in v0.0.64

type Attribute struct {

	// 主键
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品详情Id
	ProductInfoId uint64 `protobuf:"varint,2,opt,name=product_info_id,json=productInfoId,proto3" json:"product_info_id,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"`
	// 最后编辑时间
	UpdatedAt string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// 最后删除时间
	DeletedAt string `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Attribute) Descriptor deprecated added in v0.0.64

func (*Attribute) Descriptor() ([]byte, []int)

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetCreatedAt added in v0.0.64

func (x *Attribute) GetCreatedAt() string

func (*Attribute) GetDeletedAt added in v0.0.64

func (x *Attribute) GetDeletedAt() string

func (*Attribute) GetId added in v0.0.64

func (x *Attribute) GetId() uint64

func (*Attribute) GetName added in v0.0.64

func (x *Attribute) GetName() string

func (*Attribute) GetProductInfoId added in v0.0.66

func (x *Attribute) GetProductInfoId() uint64

func (*Attribute) GetUpdatedAt added in v0.0.64

func (x *Attribute) GetUpdatedAt() string

func (*Attribute) ProtoMessage added in v0.0.64

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect added in v0.0.64

func (x *Attribute) ProtoReflect() protoreflect.Message

func (*Attribute) Reset added in v0.0.64

func (x *Attribute) Reset()

func (*Attribute) String added in v0.0.64

func (x *Attribute) String() string

func (*Attribute) Validate added in v0.0.64

func (m *Attribute) Validate() error

Validate checks the field values on Attribute with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Attribute) ValidateAll added in v0.0.64

func (m *Attribute) ValidateAll() error

ValidateAll checks the field values on Attribute with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttributeMultiError, or nil if none found.

type AttributeMultiError added in v0.0.64

type AttributeMultiError []error

AttributeMultiError is an error wrapping multiple validation errors returned by Attribute.ValidateAll() if the designated constraints aren't met.

func (AttributeMultiError) AllErrors added in v0.0.64

func (m AttributeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AttributeMultiError) Error added in v0.0.64

func (m AttributeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AttributeValidationError added in v0.0.64

type AttributeValidationError struct {
	// contains filtered or unexported fields
}

AttributeValidationError is the validation error returned by Attribute.Validate if the designated constraints aren't met.

func (AttributeValidationError) Cause added in v0.0.64

func (e AttributeValidationError) Cause() error

Cause function returns cause value.

func (AttributeValidationError) Error added in v0.0.64

func (e AttributeValidationError) Error() string

Error satisfies the builtin error interface

func (AttributeValidationError) ErrorName added in v0.0.64

func (e AttributeValidationError) ErrorName() string

ErrorName returns error name.

func (AttributeValidationError) Field added in v0.0.64

func (e AttributeValidationError) Field() string

Field function returns field value.

func (AttributeValidationError) Key added in v0.0.64

Key function returns key value.

func (AttributeValidationError) Reason added in v0.0.64

func (e AttributeValidationError) Reason() string

Reason function returns reason value.

type CategoryInfo added in v0.0.48

type CategoryInfo struct {

	// 产品Id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 分类名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// 单位
	Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"`
	// 单价
	Price uint64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
	// 阶梯价格
	Step string `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
	// 创建时间
	CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// 最后编辑时间
	UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// 最后删除时间
	DeletedAt string `protobuf:"bytes,10,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CategoryInfo) Descriptor deprecated added in v0.0.48

func (*CategoryInfo) Descriptor() ([]byte, []int)

Deprecated: Use CategoryInfo.ProtoReflect.Descriptor instead.

func (*CategoryInfo) GetCreatedAt added in v0.0.60

func (x *CategoryInfo) GetCreatedAt() string

func (*CategoryInfo) GetDeletedAt added in v0.0.60

func (x *CategoryInfo) GetDeletedAt() string

func (*CategoryInfo) GetId added in v0.0.48

func (x *CategoryInfo) GetId() uint64

func (*CategoryInfo) GetName added in v0.0.48

func (x *CategoryInfo) GetName() string

func (*CategoryInfo) GetPrice added in v0.0.48

func (x *CategoryInfo) GetPrice() uint64

func (*CategoryInfo) GetProductId added in v0.0.48

func (x *CategoryInfo) GetProductId() uint64

func (*CategoryInfo) GetSort added in v0.0.48

func (x *CategoryInfo) GetSort() uint64

func (*CategoryInfo) GetStep added in v0.0.48

func (x *CategoryInfo) GetStep() string

func (*CategoryInfo) GetUnit added in v0.0.48

func (x *CategoryInfo) GetUnit() string

func (*CategoryInfo) GetUpdatedAt added in v0.0.60

func (x *CategoryInfo) GetUpdatedAt() string

func (*CategoryInfo) ProtoMessage added in v0.0.48

func (*CategoryInfo) ProtoMessage()

func (*CategoryInfo) ProtoReflect added in v0.0.48

func (x *CategoryInfo) ProtoReflect() protoreflect.Message

func (*CategoryInfo) Reset added in v0.0.48

func (x *CategoryInfo) Reset()

func (*CategoryInfo) String added in v0.0.48

func (x *CategoryInfo) String() string

func (*CategoryInfo) Validate added in v0.0.48

func (m *CategoryInfo) Validate() error

Validate checks the field values on CategoryInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CategoryInfo) ValidateAll added in v0.0.48

func (m *CategoryInfo) ValidateAll() error

ValidateAll checks the field values on CategoryInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CategoryInfoMultiError, or nil if none found.

type CategoryInfoMultiError added in v0.0.48

type CategoryInfoMultiError []error

CategoryInfoMultiError is an error wrapping multiple validation errors returned by CategoryInfo.ValidateAll() if the designated constraints aren't met.

func (CategoryInfoMultiError) AllErrors added in v0.0.48

func (m CategoryInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CategoryInfoMultiError) Error added in v0.0.48

func (m CategoryInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CategoryInfoValidationError added in v0.0.48

type CategoryInfoValidationError struct {
	// contains filtered or unexported fields
}

CategoryInfoValidationError is the validation error returned by CategoryInfo.Validate if the designated constraints aren't met.

func (CategoryInfoValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (CategoryInfoValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (CategoryInfoValidationError) ErrorName added in v0.0.48

func (e CategoryInfoValidationError) ErrorName() string

ErrorName returns error name.

func (CategoryInfoValidationError) Field added in v0.0.48

Field function returns field value.

func (CategoryInfoValidationError) Key added in v0.0.48

Key function returns key value.

func (CategoryInfoValidationError) Reason added in v0.0.48

Reason function returns reason value.

type CreateAttributeReq added in v0.0.64

type CreateAttributeReq struct {

	// 产品详情Id
	ProductInfoId uint64 `protobuf:"varint,1,opt,name=product_info_id,json=productInfoId,proto3" json:"product_info_id,omitempty"`
	// 产品类型名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAttributeReq) Descriptor deprecated added in v0.0.64

func (*CreateAttributeReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateAttributeReq.ProtoReflect.Descriptor instead.

func (*CreateAttributeReq) GetName added in v0.0.64

func (x *CreateAttributeReq) GetName() string

func (*CreateAttributeReq) GetProductInfoId added in v0.0.66

func (x *CreateAttributeReq) GetProductInfoId() uint64

func (*CreateAttributeReq) ProtoMessage added in v0.0.64

func (*CreateAttributeReq) ProtoMessage()

func (*CreateAttributeReq) ProtoReflect added in v0.0.64

func (x *CreateAttributeReq) ProtoReflect() protoreflect.Message

func (*CreateAttributeReq) Reset added in v0.0.64

func (x *CreateAttributeReq) Reset()

func (*CreateAttributeReq) String added in v0.0.64

func (x *CreateAttributeReq) String() string

func (*CreateAttributeReq) Validate added in v0.0.64

func (m *CreateAttributeReq) Validate() error

Validate checks the field values on CreateAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateAttributeReq) ValidateAll added in v0.0.64

func (m *CreateAttributeReq) ValidateAll() error

ValidateAll checks the field values on CreateAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateAttributeReqMultiError, or nil if none found.

type CreateAttributeReqMultiError added in v0.0.64

type CreateAttributeReqMultiError []error

CreateAttributeReqMultiError is an error wrapping multiple validation errors returned by CreateAttributeReq.ValidateAll() if the designated constraints aren't met.

func (CreateAttributeReqMultiError) AllErrors added in v0.0.64

func (m CreateAttributeReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateAttributeReqMultiError) Error added in v0.0.64

Error returns a concatenation of all the error messages it wraps.

type CreateAttributeReqValidationError added in v0.0.64

type CreateAttributeReqValidationError struct {
	// contains filtered or unexported fields
}

CreateAttributeReqValidationError is the validation error returned by CreateAttributeReq.Validate if the designated constraints aren't met.

func (CreateAttributeReqValidationError) Cause added in v0.0.64

Cause function returns cause value.

func (CreateAttributeReqValidationError) Error added in v0.0.64

Error satisfies the builtin error interface

func (CreateAttributeReqValidationError) ErrorName added in v0.0.64

ErrorName returns error name.

func (CreateAttributeReqValidationError) Field added in v0.0.64

Field function returns field value.

func (CreateAttributeReqValidationError) Key added in v0.0.64

Key function returns key value.

func (CreateAttributeReqValidationError) Reason added in v0.0.64

Reason function returns reason value.

type CreateCategoryReq added in v0.0.48

type CreateCategoryReq struct {

	// 产品Id
	ProductId uint64 `protobuf:"varint,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 分类名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 单位
	Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	// 单价
	Price uint64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"`
	// 阶梯价格
	Step string `protobuf:"bytes,5,opt,name=step,proto3" json:"step,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCategoryReq) Descriptor deprecated added in v0.0.48

func (*CreateCategoryReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateCategoryReq.ProtoReflect.Descriptor instead.

func (*CreateCategoryReq) GetName added in v0.0.48

func (x *CreateCategoryReq) GetName() string

func (*CreateCategoryReq) GetPrice added in v0.0.48

func (x *CreateCategoryReq) GetPrice() uint64

func (*CreateCategoryReq) GetProductId added in v0.0.48

func (x *CreateCategoryReq) GetProductId() uint64

func (*CreateCategoryReq) GetSort added in v0.0.48

func (x *CreateCategoryReq) GetSort() uint64

func (*CreateCategoryReq) GetStep added in v0.0.48

func (x *CreateCategoryReq) GetStep() string

func (*CreateCategoryReq) GetUnit added in v0.0.48

func (x *CreateCategoryReq) GetUnit() string

func (*CreateCategoryReq) ProtoMessage added in v0.0.48

func (*CreateCategoryReq) ProtoMessage()

func (*CreateCategoryReq) ProtoReflect added in v0.0.48

func (x *CreateCategoryReq) ProtoReflect() protoreflect.Message

func (*CreateCategoryReq) Reset added in v0.0.48

func (x *CreateCategoryReq) Reset()

func (*CreateCategoryReq) String added in v0.0.48

func (x *CreateCategoryReq) String() string

func (*CreateCategoryReq) Validate added in v0.0.48

func (m *CreateCategoryReq) Validate() error

Validate checks the field values on CreateCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateCategoryReq) ValidateAll added in v0.0.48

func (m *CreateCategoryReq) ValidateAll() error

ValidateAll checks the field values on CreateCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCategoryReqMultiError, or nil if none found.

type CreateCategoryReqMultiError added in v0.0.48

type CreateCategoryReqMultiError []error

CreateCategoryReqMultiError is an error wrapping multiple validation errors returned by CreateCategoryReq.ValidateAll() if the designated constraints aren't met.

func (CreateCategoryReqMultiError) AllErrors added in v0.0.48

func (m CreateCategoryReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateCategoryReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type CreateCategoryReqValidationError added in v0.0.48

type CreateCategoryReqValidationError struct {
	// contains filtered or unexported fields
}

CreateCategoryReqValidationError is the validation error returned by CreateCategoryReq.Validate if the designated constraints aren't met.

func (CreateCategoryReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (CreateCategoryReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (CreateCategoryReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (CreateCategoryReqValidationError) Field added in v0.0.48

Field function returns field value.

func (CreateCategoryReqValidationError) Key added in v0.0.48

Key function returns key value.

func (CreateCategoryReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type CreateKindReq

type CreateKindReq struct {

	// 产品类型名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKindReq) Descriptor deprecated

func (*CreateKindReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateKindReq.ProtoReflect.Descriptor instead.

func (*CreateKindReq) GetName

func (x *CreateKindReq) GetName() string

func (*CreateKindReq) ProtoMessage

func (*CreateKindReq) ProtoMessage()

func (*CreateKindReq) ProtoReflect

func (x *CreateKindReq) ProtoReflect() protoreflect.Message

func (*CreateKindReq) Reset

func (x *CreateKindReq) Reset()

func (*CreateKindReq) String

func (x *CreateKindReq) String() string

func (*CreateKindReq) Validate

func (m *CreateKindReq) Validate() error

Validate checks the field values on CreateKindReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateKindReq) ValidateAll

func (m *CreateKindReq) ValidateAll() error

ValidateAll checks the field values on CreateKindReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateKindReqMultiError, or nil if none found.

type CreateKindReqMultiError

type CreateKindReqMultiError []error

CreateKindReqMultiError is an error wrapping multiple validation errors returned by CreateKindReq.ValidateAll() if the designated constraints aren't met.

func (CreateKindReqMultiError) AllErrors

func (m CreateKindReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateKindReqMultiError) Error

func (m CreateKindReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CreateKindReqValidationError

type CreateKindReqValidationError struct {
	// contains filtered or unexported fields
}

CreateKindReqValidationError is the validation error returned by CreateKindReq.Validate if the designated constraints aren't met.

func (CreateKindReqValidationError) Cause

Cause function returns cause value.

func (CreateKindReqValidationError) Error

Error satisfies the builtin error interface

func (CreateKindReqValidationError) ErrorName

func (e CreateKindReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateKindReqValidationError) Field

Field function returns field value.

func (CreateKindReqValidationError) Key

Key function returns key value.

func (CreateKindReqValidationError) Reason

Reason function returns reason value.

type CreateProductInfoReq added in v0.0.48

type CreateProductInfoReq struct {

	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 产品类型id
	KindId uint64 `protobuf:"varint,3,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"`
	// 产品分类
	CategoryId uint64 `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	// 产品图片
	Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img,omitempty"`
	// 产品关键字
	Keywords string `protobuf:"bytes,6,opt,name=keywords,proto3" json:"keywords,omitempty"`
	// 产品简介
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// 自定义Url路径
	Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"`
	// 产品数量
	Num uint64 `protobuf:"varint,9,opt,name=num,proto3" json:"num,omitempty"`
	// 控制类型
	Control uint64 `protobuf:"varint,10,opt,name=control,proto3" json:"control,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProductInfoReq) Descriptor deprecated added in v0.0.48

func (*CreateProductInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateProductInfoReq.ProtoReflect.Descriptor instead.

func (*CreateProductInfoReq) GetCategoryId added in v0.0.48

func (x *CreateProductInfoReq) GetCategoryId() uint64

func (*CreateProductInfoReq) GetControl added in v0.0.48

func (x *CreateProductInfoReq) GetControl() uint64

func (*CreateProductInfoReq) GetDescription added in v0.0.48

func (x *CreateProductInfoReq) GetDescription() string

func (*CreateProductInfoReq) GetImg added in v0.0.48

func (x *CreateProductInfoReq) GetImg() string

func (*CreateProductInfoReq) GetKeywords added in v0.0.48

func (x *CreateProductInfoReq) GetKeywords() string

func (*CreateProductInfoReq) GetKindId added in v0.0.48

func (x *CreateProductInfoReq) GetKindId() uint64

func (*CreateProductInfoReq) GetNum added in v0.0.48

func (x *CreateProductInfoReq) GetNum() uint64

func (*CreateProductInfoReq) GetPath added in v0.0.48

func (x *CreateProductInfoReq) GetPath() string

func (*CreateProductInfoReq) GetProductId added in v0.0.48

func (x *CreateProductInfoReq) GetProductId() uint64

func (*CreateProductInfoReq) GetSort added in v0.0.48

func (x *CreateProductInfoReq) GetSort() uint64

func (*CreateProductInfoReq) ProtoMessage added in v0.0.48

func (*CreateProductInfoReq) ProtoMessage()

func (*CreateProductInfoReq) ProtoReflect added in v0.0.48

func (x *CreateProductInfoReq) ProtoReflect() protoreflect.Message

func (*CreateProductInfoReq) Reset added in v0.0.48

func (x *CreateProductInfoReq) Reset()

func (*CreateProductInfoReq) String added in v0.0.48

func (x *CreateProductInfoReq) String() string

func (*CreateProductInfoReq) Validate added in v0.0.48

func (m *CreateProductInfoReq) Validate() error

Validate checks the field values on CreateProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateProductInfoReq) ValidateAll added in v0.0.48

func (m *CreateProductInfoReq) ValidateAll() error

ValidateAll checks the field values on CreateProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProductInfoReqMultiError, or nil if none found.

type CreateProductInfoReqMultiError added in v0.0.48

type CreateProductInfoReqMultiError []error

CreateProductInfoReqMultiError is an error wrapping multiple validation errors returned by CreateProductInfoReq.ValidateAll() if the designated constraints aren't met.

func (CreateProductInfoReqMultiError) AllErrors added in v0.0.48

func (m CreateProductInfoReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateProductInfoReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type CreateProductInfoReqValidationError added in v0.0.48

type CreateProductInfoReqValidationError struct {
	// contains filtered or unexported fields
}

CreateProductInfoReqValidationError is the validation error returned by CreateProductInfoReq.Validate if the designated constraints aren't met.

func (CreateProductInfoReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (CreateProductInfoReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (CreateProductInfoReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (CreateProductInfoReqValidationError) Field added in v0.0.48

Field function returns field value.

func (CreateProductInfoReqValidationError) Key added in v0.0.48

Key function returns key value.

func (CreateProductInfoReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type CreateProductReq

type CreateProductReq struct {

	// 产品类型ID
	KindId uint64 `protobuf:"varint,1,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"`
	// 产品名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 关键字
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// 简介
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// 简介
	Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProductReq) Descriptor deprecated

func (*CreateProductReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateProductReq.ProtoReflect.Descriptor instead.

func (*CreateProductReq) GetDescription

func (x *CreateProductReq) GetDescription() string

func (*CreateProductReq) GetKeyword

func (x *CreateProductReq) GetKeyword() string

func (*CreateProductReq) GetKindId

func (x *CreateProductReq) GetKindId() uint64

func (*CreateProductReq) GetName

func (x *CreateProductReq) GetName() string

func (*CreateProductReq) GetPath added in v0.0.58

func (x *CreateProductReq) GetPath() string

func (*CreateProductReq) ProtoMessage

func (*CreateProductReq) ProtoMessage()

func (*CreateProductReq) ProtoReflect

func (x *CreateProductReq) ProtoReflect() protoreflect.Message

func (*CreateProductReq) Reset

func (x *CreateProductReq) Reset()

func (*CreateProductReq) String

func (x *CreateProductReq) String() string

func (*CreateProductReq) Validate

func (m *CreateProductReq) Validate() error

Validate checks the field values on CreateProductReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateProductReq) ValidateAll

func (m *CreateProductReq) ValidateAll() error

ValidateAll checks the field values on CreateProductReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProductReqMultiError, or nil if none found.

type CreateProductReqMultiError

type CreateProductReqMultiError []error

CreateProductReqMultiError is an error wrapping multiple validation errors returned by CreateProductReq.ValidateAll() if the designated constraints aren't met.

func (CreateProductReqMultiError) AllErrors

func (m CreateProductReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateProductReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateProductReqValidationError

type CreateProductReqValidationError struct {
	// contains filtered or unexported fields
}

CreateProductReqValidationError is the validation error returned by CreateProductReq.Validate if the designated constraints aren't met.

func (CreateProductReqValidationError) Cause

Cause function returns cause value.

func (CreateProductReqValidationError) Error

Error satisfies the builtin error interface

func (CreateProductReqValidationError) ErrorName

ErrorName returns error name.

func (CreateProductReqValidationError) Field

Field function returns field value.

func (CreateProductReqValidationError) Key

Key function returns key value.

func (CreateProductReqValidationError) Reason

Reason function returns reason value.

type CreateProductTerminalReq added in v0.0.48

type CreateProductTerminalReq struct {

	// 产品Id
	ProductId uint64 `protobuf:"varint,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 区域Id
	RegionId uint64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// 终端Id
	TerminalId uint64 `protobuf:"varint,3,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProductTerminalReq) Descriptor deprecated added in v0.0.48

func (*CreateProductTerminalReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateProductTerminalReq.ProtoReflect.Descriptor instead.

func (*CreateProductTerminalReq) GetProductId added in v0.0.48

func (x *CreateProductTerminalReq) GetProductId() uint64

func (*CreateProductTerminalReq) GetRegionId added in v0.0.48

func (x *CreateProductTerminalReq) GetRegionId() uint64

func (*CreateProductTerminalReq) GetTerminalId added in v0.0.48

func (x *CreateProductTerminalReq) GetTerminalId() uint64

func (*CreateProductTerminalReq) ProtoMessage added in v0.0.48

func (*CreateProductTerminalReq) ProtoMessage()

func (*CreateProductTerminalReq) ProtoReflect added in v0.0.48

func (x *CreateProductTerminalReq) ProtoReflect() protoreflect.Message

func (*CreateProductTerminalReq) Reset added in v0.0.48

func (x *CreateProductTerminalReq) Reset()

func (*CreateProductTerminalReq) String added in v0.0.48

func (x *CreateProductTerminalReq) String() string

func (*CreateProductTerminalReq) Validate added in v0.0.48

func (m *CreateProductTerminalReq) Validate() error

Validate checks the field values on CreateProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateProductTerminalReq) ValidateAll added in v0.0.48

func (m *CreateProductTerminalReq) ValidateAll() error

ValidateAll checks the field values on CreateProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProductTerminalReqMultiError, or nil if none found.

type CreateProductTerminalReqMultiError added in v0.0.48

type CreateProductTerminalReqMultiError []error

CreateProductTerminalReqMultiError is an error wrapping multiple validation errors returned by CreateProductTerminalReq.ValidateAll() if the designated constraints aren't met.

func (CreateProductTerminalReqMultiError) AllErrors added in v0.0.48

func (m CreateProductTerminalReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateProductTerminalReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type CreateProductTerminalReqValidationError added in v0.0.48

type CreateProductTerminalReqValidationError struct {
	// contains filtered or unexported fields
}

CreateProductTerminalReqValidationError is the validation error returned by CreateProductTerminalReq.Validate if the designated constraints aren't met.

func (CreateProductTerminalReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (CreateProductTerminalReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (CreateProductTerminalReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (CreateProductTerminalReqValidationError) Field added in v0.0.48

Field function returns field value.

func (CreateProductTerminalReqValidationError) Key added in v0.0.48

Key function returns key value.

func (CreateProductTerminalReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type CreateRegionReq added in v0.0.48

type CreateRegionReq struct {

	// 产品Id
	ProductId uint64 `protobuf:"varint,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 区域名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 国家代码
	Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"`
	// 单价
	Price uint64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"`
	// 阶梯价格
	Step string `protobuf:"bytes,5,opt,name=step,proto3" json:"step,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRegionReq) Descriptor deprecated added in v0.0.48

func (*CreateRegionReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateRegionReq.ProtoReflect.Descriptor instead.

func (*CreateRegionReq) GetCountry added in v0.0.48

func (x *CreateRegionReq) GetCountry() string

func (*CreateRegionReq) GetName added in v0.0.48

func (x *CreateRegionReq) GetName() string

func (*CreateRegionReq) GetPrice added in v0.0.48

func (x *CreateRegionReq) GetPrice() uint64

func (*CreateRegionReq) GetProductId added in v0.0.48

func (x *CreateRegionReq) GetProductId() uint64

func (*CreateRegionReq) GetSort added in v0.0.48

func (x *CreateRegionReq) GetSort() uint64

func (*CreateRegionReq) GetStep added in v0.0.48

func (x *CreateRegionReq) GetStep() string

func (*CreateRegionReq) ProtoMessage added in v0.0.48

func (*CreateRegionReq) ProtoMessage()

func (*CreateRegionReq) ProtoReflect added in v0.0.48

func (x *CreateRegionReq) ProtoReflect() protoreflect.Message

func (*CreateRegionReq) Reset added in v0.0.48

func (x *CreateRegionReq) Reset()

func (*CreateRegionReq) String added in v0.0.48

func (x *CreateRegionReq) String() string

func (*CreateRegionReq) Validate added in v0.0.48

func (m *CreateRegionReq) Validate() error

Validate checks the field values on CreateRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateRegionReq) ValidateAll added in v0.0.48

func (m *CreateRegionReq) ValidateAll() error

ValidateAll checks the field values on CreateRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRegionReqMultiError, or nil if none found.

type CreateRegionReqMultiError added in v0.0.48

type CreateRegionReqMultiError []error

CreateRegionReqMultiError is an error wrapping multiple validation errors returned by CreateRegionReq.ValidateAll() if the designated constraints aren't met.

func (CreateRegionReqMultiError) AllErrors added in v0.0.48

func (m CreateRegionReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateRegionReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type CreateRegionReqValidationError added in v0.0.48

type CreateRegionReqValidationError struct {
	// contains filtered or unexported fields
}

CreateRegionReqValidationError is the validation error returned by CreateRegionReq.Validate if the designated constraints aren't met.

func (CreateRegionReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (CreateRegionReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (CreateRegionReqValidationError) ErrorName added in v0.0.48

func (e CreateRegionReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRegionReqValidationError) Field added in v0.0.48

Field function returns field value.

func (CreateRegionReqValidationError) Key added in v0.0.48

Key function returns key value.

func (CreateRegionReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type CreateTerminalReq

type CreateTerminalReq struct {

	// 终端名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// 关键字
	Keywords string `protobuf:"bytes,2,opt,name=keywords,proto3" json:"keywords,omitempty"`
	// 简介
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// 图片
	Img string `protobuf:"bytes,4,opt,name=img,proto3" json:"img,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTerminalReq) Descriptor deprecated

func (*CreateTerminalReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateTerminalReq.ProtoReflect.Descriptor instead.

func (*CreateTerminalReq) GetDescription

func (x *CreateTerminalReq) GetDescription() string

func (*CreateTerminalReq) GetImg

func (x *CreateTerminalReq) GetImg() string

func (*CreateTerminalReq) GetKeywords

func (x *CreateTerminalReq) GetKeywords() string

func (*CreateTerminalReq) GetName

func (x *CreateTerminalReq) GetName() string

func (*CreateTerminalReq) GetSort

func (x *CreateTerminalReq) GetSort() uint64

func (*CreateTerminalReq) ProtoMessage

func (*CreateTerminalReq) ProtoMessage()

func (*CreateTerminalReq) ProtoReflect

func (x *CreateTerminalReq) ProtoReflect() protoreflect.Message

func (*CreateTerminalReq) Reset

func (x *CreateTerminalReq) Reset()

func (*CreateTerminalReq) String

func (x *CreateTerminalReq) String() string

func (*CreateTerminalReq) Validate

func (m *CreateTerminalReq) Validate() error

Validate checks the field values on CreateTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateTerminalReq) ValidateAll

func (m *CreateTerminalReq) ValidateAll() error

ValidateAll checks the field values on CreateTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTerminalReqMultiError, or nil if none found.

type CreateTerminalReqMultiError

type CreateTerminalReqMultiError []error

CreateTerminalReqMultiError is an error wrapping multiple validation errors returned by CreateTerminalReq.ValidateAll() if the designated constraints aren't met.

func (CreateTerminalReqMultiError) AllErrors

func (m CreateTerminalReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateTerminalReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateTerminalReqValidationError

type CreateTerminalReqValidationError struct {
	// contains filtered or unexported fields
}

CreateTerminalReqValidationError is the validation error returned by CreateTerminalReq.Validate if the designated constraints aren't met.

func (CreateTerminalReqValidationError) Cause

Cause function returns cause value.

func (CreateTerminalReqValidationError) Error

Error satisfies the builtin error interface

func (CreateTerminalReqValidationError) ErrorName

ErrorName returns error name.

func (CreateTerminalReqValidationError) Field

Field function returns field value.

func (CreateTerminalReqValidationError) Key

Key function returns key value.

func (CreateTerminalReqValidationError) Reason

Reason function returns reason value.

type DelIdReq

type DelIdReq struct {

	// 主键
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DelIdReq) Descriptor deprecated

func (*DelIdReq) Descriptor() ([]byte, []int)

Deprecated: Use DelIdReq.ProtoReflect.Descriptor instead.

func (*DelIdReq) GetId

func (x *DelIdReq) GetId() uint64

func (*DelIdReq) ProtoMessage

func (*DelIdReq) ProtoMessage()

func (*DelIdReq) ProtoReflect

func (x *DelIdReq) ProtoReflect() protoreflect.Message

func (*DelIdReq) Reset

func (x *DelIdReq) Reset()

func (*DelIdReq) String

func (x *DelIdReq) String() string

func (*DelIdReq) Validate

func (m *DelIdReq) Validate() error

Validate checks the field values on DelIdReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DelIdReq) ValidateAll

func (m *DelIdReq) ValidateAll() error

ValidateAll checks the field values on DelIdReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DelIdReqMultiError, or nil if none found.

type DelIdReqMultiError

type DelIdReqMultiError []error

DelIdReqMultiError is an error wrapping multiple validation errors returned by DelIdReq.ValidateAll() if the designated constraints aren't met.

func (DelIdReqMultiError) AllErrors

func (m DelIdReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DelIdReqMultiError) Error

func (m DelIdReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DelIdReqValidationError

type DelIdReqValidationError struct {
	// contains filtered or unexported fields
}

DelIdReqValidationError is the validation error returned by DelIdReq.Validate if the designated constraints aren't met.

func (DelIdReqValidationError) Cause

func (e DelIdReqValidationError) Cause() error

Cause function returns cause value.

func (DelIdReqValidationError) Error

func (e DelIdReqValidationError) Error() string

Error satisfies the builtin error interface

func (DelIdReqValidationError) ErrorName

func (e DelIdReqValidationError) ErrorName() string

ErrorName returns error name.

func (DelIdReqValidationError) Field

func (e DelIdReqValidationError) Field() string

Field function returns field value.

func (DelIdReqValidationError) Key

func (e DelIdReqValidationError) Key() bool

Key function returns key value.

func (DelIdReqValidationError) Reason

func (e DelIdReqValidationError) Reason() string

Reason function returns reason value.

type EditAttributeReq added in v0.0.64

type EditAttributeReq struct {

	// 主键
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品详情Id
	ProductInfoId uint64 `protobuf:"varint,2,opt,name=product_info_id,json=productInfoId,proto3" json:"product_info_id,omitempty"`
	// 产品类型名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*EditAttributeReq) Descriptor deprecated added in v0.0.64

func (*EditAttributeReq) Descriptor() ([]byte, []int)

Deprecated: Use EditAttributeReq.ProtoReflect.Descriptor instead.

func (*EditAttributeReq) GetId added in v0.0.64

func (x *EditAttributeReq) GetId() uint64

func (*EditAttributeReq) GetName added in v0.0.64

func (x *EditAttributeReq) GetName() string

func (*EditAttributeReq) GetProductInfoId added in v0.0.66

func (x *EditAttributeReq) GetProductInfoId() uint64

func (*EditAttributeReq) ProtoMessage added in v0.0.64

func (*EditAttributeReq) ProtoMessage()

func (*EditAttributeReq) ProtoReflect added in v0.0.64

func (x *EditAttributeReq) ProtoReflect() protoreflect.Message

func (*EditAttributeReq) Reset added in v0.0.64

func (x *EditAttributeReq) Reset()

func (*EditAttributeReq) String added in v0.0.64

func (x *EditAttributeReq) String() string

func (*EditAttributeReq) Validate added in v0.0.64

func (m *EditAttributeReq) Validate() error

Validate checks the field values on EditAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditAttributeReq) ValidateAll added in v0.0.64

func (m *EditAttributeReq) ValidateAll() error

ValidateAll checks the field values on EditAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditAttributeReqMultiError, or nil if none found.

type EditAttributeReqMultiError added in v0.0.64

type EditAttributeReqMultiError []error

EditAttributeReqMultiError is an error wrapping multiple validation errors returned by EditAttributeReq.ValidateAll() if the designated constraints aren't met.

func (EditAttributeReqMultiError) AllErrors added in v0.0.64

func (m EditAttributeReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditAttributeReqMultiError) Error added in v0.0.64

Error returns a concatenation of all the error messages it wraps.

type EditAttributeReqValidationError added in v0.0.64

type EditAttributeReqValidationError struct {
	// contains filtered or unexported fields
}

EditAttributeReqValidationError is the validation error returned by EditAttributeReq.Validate if the designated constraints aren't met.

func (EditAttributeReqValidationError) Cause added in v0.0.64

Cause function returns cause value.

func (EditAttributeReqValidationError) Error added in v0.0.64

Error satisfies the builtin error interface

func (EditAttributeReqValidationError) ErrorName added in v0.0.64

ErrorName returns error name.

func (EditAttributeReqValidationError) Field added in v0.0.64

Field function returns field value.

func (EditAttributeReqValidationError) Key added in v0.0.64

Key function returns key value.

func (EditAttributeReqValidationError) Reason added in v0.0.64

Reason function returns reason value.

type EditCategoryReq added in v0.0.48

type EditCategoryReq struct {

	// 分类Id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 分类名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// 单位
	Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"`
	// 单价
	Price uint64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
	// 阶梯价格
	Step string `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCategoryReq) Descriptor deprecated added in v0.0.48

func (*EditCategoryReq) Descriptor() ([]byte, []int)

Deprecated: Use EditCategoryReq.ProtoReflect.Descriptor instead.

func (*EditCategoryReq) GetId added in v0.0.48

func (x *EditCategoryReq) GetId() uint64

func (*EditCategoryReq) GetName added in v0.0.48

func (x *EditCategoryReq) GetName() string

func (*EditCategoryReq) GetPrice added in v0.0.48

func (x *EditCategoryReq) GetPrice() uint64

func (*EditCategoryReq) GetProductId added in v0.0.48

func (x *EditCategoryReq) GetProductId() uint64

func (*EditCategoryReq) GetSort added in v0.0.48

func (x *EditCategoryReq) GetSort() uint64

func (*EditCategoryReq) GetStep added in v0.0.48

func (x *EditCategoryReq) GetStep() string

func (*EditCategoryReq) GetUnit added in v0.0.48

func (x *EditCategoryReq) GetUnit() string

func (*EditCategoryReq) ProtoMessage added in v0.0.48

func (*EditCategoryReq) ProtoMessage()

func (*EditCategoryReq) ProtoReflect added in v0.0.48

func (x *EditCategoryReq) ProtoReflect() protoreflect.Message

func (*EditCategoryReq) Reset added in v0.0.48

func (x *EditCategoryReq) Reset()

func (*EditCategoryReq) String added in v0.0.48

func (x *EditCategoryReq) String() string

func (*EditCategoryReq) Validate added in v0.0.48

func (m *EditCategoryReq) Validate() error

Validate checks the field values on EditCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditCategoryReq) ValidateAll added in v0.0.48

func (m *EditCategoryReq) ValidateAll() error

ValidateAll checks the field values on EditCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditCategoryReqMultiError, or nil if none found.

type EditCategoryReqMultiError added in v0.0.48

type EditCategoryReqMultiError []error

EditCategoryReqMultiError is an error wrapping multiple validation errors returned by EditCategoryReq.ValidateAll() if the designated constraints aren't met.

func (EditCategoryReqMultiError) AllErrors added in v0.0.48

func (m EditCategoryReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditCategoryReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type EditCategoryReqValidationError added in v0.0.48

type EditCategoryReqValidationError struct {
	// contains filtered or unexported fields
}

EditCategoryReqValidationError is the validation error returned by EditCategoryReq.Validate if the designated constraints aren't met.

func (EditCategoryReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (EditCategoryReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (EditCategoryReqValidationError) ErrorName added in v0.0.48

func (e EditCategoryReqValidationError) ErrorName() string

ErrorName returns error name.

func (EditCategoryReqValidationError) Field added in v0.0.48

Field function returns field value.

func (EditCategoryReqValidationError) Key added in v0.0.48

Key function returns key value.

func (EditCategoryReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type EditKindReq

type EditKindReq struct {

	// 主键
	Id uint64 `protobuf:"varint,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 (*EditKindReq) Descriptor deprecated

func (*EditKindReq) Descriptor() ([]byte, []int)

Deprecated: Use EditKindReq.ProtoReflect.Descriptor instead.

func (*EditKindReq) GetId added in v0.0.51

func (x *EditKindReq) GetId() uint64

func (*EditKindReq) GetName

func (x *EditKindReq) GetName() string

func (*EditKindReq) ProtoMessage

func (*EditKindReq) ProtoMessage()

func (*EditKindReq) ProtoReflect

func (x *EditKindReq) ProtoReflect() protoreflect.Message

func (*EditKindReq) Reset

func (x *EditKindReq) Reset()

func (*EditKindReq) String

func (x *EditKindReq) String() string

func (*EditKindReq) Validate

func (m *EditKindReq) Validate() error

Validate checks the field values on EditKindReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditKindReq) ValidateAll

func (m *EditKindReq) ValidateAll() error

ValidateAll checks the field values on EditKindReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditKindReqMultiError, or nil if none found.

type EditKindReqMultiError

type EditKindReqMultiError []error

EditKindReqMultiError is an error wrapping multiple validation errors returned by EditKindReq.ValidateAll() if the designated constraints aren't met.

func (EditKindReqMultiError) AllErrors

func (m EditKindReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditKindReqMultiError) Error

func (m EditKindReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EditKindReqValidationError

type EditKindReqValidationError struct {
	// contains filtered or unexported fields
}

EditKindReqValidationError is the validation error returned by EditKindReq.Validate if the designated constraints aren't met.

func (EditKindReqValidationError) Cause

Cause function returns cause value.

func (EditKindReqValidationError) Error

Error satisfies the builtin error interface

func (EditKindReqValidationError) ErrorName

func (e EditKindReqValidationError) ErrorName() string

ErrorName returns error name.

func (EditKindReqValidationError) Field

Field function returns field value.

func (EditKindReqValidationError) Key

Key function returns key value.

func (EditKindReqValidationError) Reason

Reason function returns reason value.

type EditProductInfoReq added in v0.0.48

type EditProductInfoReq struct {

	// 产品详情ID
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 产品类型ID
	KindId uint64 `protobuf:"varint,3,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"`
	// 产品分类
	CategoryId uint64 `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	// 产品图片
	Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img,omitempty"`
	// 产品关键字
	Keywords string `protobuf:"bytes,6,opt,name=keywords,proto3" json:"keywords,omitempty"`
	// 产品简介
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// 自定义Url路径
	Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"`
	// 产品数量
	Num uint64 `protobuf:"varint,9,opt,name=num,proto3" json:"num,omitempty"`
	// 控制类型
	Control uint64 `protobuf:"varint,10,opt,name=control,proto3" json:"control,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*EditProductInfoReq) Descriptor deprecated added in v0.0.48

func (*EditProductInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use EditProductInfoReq.ProtoReflect.Descriptor instead.

func (*EditProductInfoReq) GetCategoryId added in v0.0.48

func (x *EditProductInfoReq) GetCategoryId() uint64

func (*EditProductInfoReq) GetControl added in v0.0.48

func (x *EditProductInfoReq) GetControl() uint64

func (*EditProductInfoReq) GetDescription added in v0.0.48

func (x *EditProductInfoReq) GetDescription() string

func (*EditProductInfoReq) GetId added in v0.0.48

func (x *EditProductInfoReq) GetId() uint64

func (*EditProductInfoReq) GetImg added in v0.0.48

func (x *EditProductInfoReq) GetImg() string

func (*EditProductInfoReq) GetKeywords added in v0.0.48

func (x *EditProductInfoReq) GetKeywords() string

func (*EditProductInfoReq) GetKindId added in v0.0.48

func (x *EditProductInfoReq) GetKindId() uint64

func (*EditProductInfoReq) GetNum added in v0.0.48

func (x *EditProductInfoReq) GetNum() uint64

func (*EditProductInfoReq) GetPath added in v0.0.48

func (x *EditProductInfoReq) GetPath() string

func (*EditProductInfoReq) GetProductId added in v0.0.48

func (x *EditProductInfoReq) GetProductId() uint64

func (*EditProductInfoReq) GetSort added in v0.0.48

func (x *EditProductInfoReq) GetSort() uint64

func (*EditProductInfoReq) ProtoMessage added in v0.0.48

func (*EditProductInfoReq) ProtoMessage()

func (*EditProductInfoReq) ProtoReflect added in v0.0.48

func (x *EditProductInfoReq) ProtoReflect() protoreflect.Message

func (*EditProductInfoReq) Reset added in v0.0.48

func (x *EditProductInfoReq) Reset()

func (*EditProductInfoReq) String added in v0.0.48

func (x *EditProductInfoReq) String() string

func (*EditProductInfoReq) Validate added in v0.0.48

func (m *EditProductInfoReq) Validate() error

Validate checks the field values on EditProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditProductInfoReq) ValidateAll added in v0.0.48

func (m *EditProductInfoReq) ValidateAll() error

ValidateAll checks the field values on EditProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditProductInfoReqMultiError, or nil if none found.

type EditProductInfoReqMultiError added in v0.0.48

type EditProductInfoReqMultiError []error

EditProductInfoReqMultiError is an error wrapping multiple validation errors returned by EditProductInfoReq.ValidateAll() if the designated constraints aren't met.

func (EditProductInfoReqMultiError) AllErrors added in v0.0.48

func (m EditProductInfoReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditProductInfoReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type EditProductInfoReqValidationError added in v0.0.48

type EditProductInfoReqValidationError struct {
	// contains filtered or unexported fields
}

EditProductInfoReqValidationError is the validation error returned by EditProductInfoReq.Validate if the designated constraints aren't met.

func (EditProductInfoReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (EditProductInfoReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (EditProductInfoReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (EditProductInfoReqValidationError) Field added in v0.0.48

Field function returns field value.

func (EditProductInfoReqValidationError) Key added in v0.0.48

Key function returns key value.

func (EditProductInfoReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type EditProductReq

type EditProductReq struct {

	// 产品ID
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品类型ID
	KindId uint64 `protobuf:"varint,2,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"`
	// 产品名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// 关键字
	Keywords string `protobuf:"bytes,4,opt,name=keywords,proto3" json:"keywords,omitempty"`
	// 简介
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// 简介
	Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*EditProductReq) Descriptor deprecated

func (*EditProductReq) Descriptor() ([]byte, []int)

Deprecated: Use EditProductReq.ProtoReflect.Descriptor instead.

func (*EditProductReq) GetDescription

func (x *EditProductReq) GetDescription() string

func (*EditProductReq) GetId

func (x *EditProductReq) GetId() uint64

func (*EditProductReq) GetKeywords

func (x *EditProductReq) GetKeywords() string

func (*EditProductReq) GetKindId

func (x *EditProductReq) GetKindId() uint64

func (*EditProductReq) GetName

func (x *EditProductReq) GetName() string

func (*EditProductReq) GetPath added in v0.0.58

func (x *EditProductReq) GetPath() string

func (*EditProductReq) ProtoMessage

func (*EditProductReq) ProtoMessage()

func (*EditProductReq) ProtoReflect

func (x *EditProductReq) ProtoReflect() protoreflect.Message

func (*EditProductReq) Reset

func (x *EditProductReq) Reset()

func (*EditProductReq) String

func (x *EditProductReq) String() string

func (*EditProductReq) Validate

func (m *EditProductReq) Validate() error

Validate checks the field values on EditProductReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditProductReq) ValidateAll

func (m *EditProductReq) ValidateAll() error

ValidateAll checks the field values on EditProductReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditProductReqMultiError, or nil if none found.

type EditProductReqMultiError

type EditProductReqMultiError []error

EditProductReqMultiError is an error wrapping multiple validation errors returned by EditProductReq.ValidateAll() if the designated constraints aren't met.

func (EditProductReqMultiError) AllErrors

func (m EditProductReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditProductReqMultiError) Error

func (m EditProductReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EditProductReqValidationError

type EditProductReqValidationError struct {
	// contains filtered or unexported fields
}

EditProductReqValidationError is the validation error returned by EditProductReq.Validate if the designated constraints aren't met.

func (EditProductReqValidationError) Cause

Cause function returns cause value.

func (EditProductReqValidationError) Error

Error satisfies the builtin error interface

func (EditProductReqValidationError) ErrorName

func (e EditProductReqValidationError) ErrorName() string

ErrorName returns error name.

func (EditProductReqValidationError) Field

Field function returns field value.

func (EditProductReqValidationError) Key

Key function returns key value.

func (EditProductReqValidationError) Reason

Reason function returns reason value.

type EditProductTerminalReq added in v0.0.48

type EditProductTerminalReq struct {

	// 产品终端Id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 区域Id
	RegionId uint64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// 终端Id
	TerminalId uint64 `protobuf:"varint,4,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EditProductTerminalReq) Descriptor deprecated added in v0.0.48

func (*EditProductTerminalReq) Descriptor() ([]byte, []int)

Deprecated: Use EditProductTerminalReq.ProtoReflect.Descriptor instead.

func (*EditProductTerminalReq) GetId added in v0.0.48

func (x *EditProductTerminalReq) GetId() uint64

func (*EditProductTerminalReq) GetProductId added in v0.0.48

func (x *EditProductTerminalReq) GetProductId() uint64

func (*EditProductTerminalReq) GetRegionId added in v0.0.48

func (x *EditProductTerminalReq) GetRegionId() uint64

func (*EditProductTerminalReq) GetTerminalId added in v0.0.48

func (x *EditProductTerminalReq) GetTerminalId() uint64

func (*EditProductTerminalReq) ProtoMessage added in v0.0.48

func (*EditProductTerminalReq) ProtoMessage()

func (*EditProductTerminalReq) ProtoReflect added in v0.0.48

func (x *EditProductTerminalReq) ProtoReflect() protoreflect.Message

func (*EditProductTerminalReq) Reset added in v0.0.48

func (x *EditProductTerminalReq) Reset()

func (*EditProductTerminalReq) String added in v0.0.48

func (x *EditProductTerminalReq) String() string

func (*EditProductTerminalReq) Validate added in v0.0.48

func (m *EditProductTerminalReq) Validate() error

Validate checks the field values on EditProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditProductTerminalReq) ValidateAll added in v0.0.48

func (m *EditProductTerminalReq) ValidateAll() error

ValidateAll checks the field values on EditProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditProductTerminalReqMultiError, or nil if none found.

type EditProductTerminalReqMultiError added in v0.0.48

type EditProductTerminalReqMultiError []error

EditProductTerminalReqMultiError is an error wrapping multiple validation errors returned by EditProductTerminalReq.ValidateAll() if the designated constraints aren't met.

func (EditProductTerminalReqMultiError) AllErrors added in v0.0.48

func (m EditProductTerminalReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditProductTerminalReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type EditProductTerminalReqValidationError added in v0.0.48

type EditProductTerminalReqValidationError struct {
	// contains filtered or unexported fields
}

EditProductTerminalReqValidationError is the validation error returned by EditProductTerminalReq.Validate if the designated constraints aren't met.

func (EditProductTerminalReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (EditProductTerminalReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (EditProductTerminalReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (EditProductTerminalReqValidationError) Field added in v0.0.48

Field function returns field value.

func (EditProductTerminalReqValidationError) Key added in v0.0.48

Key function returns key value.

func (EditProductTerminalReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type EditRegionReq added in v0.0.48

type EditRegionReq struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 区域名称
	Name    string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	// 单价
	Price uint64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
	// 阶梯价格
	Step string `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*EditRegionReq) Descriptor deprecated added in v0.0.48

func (*EditRegionReq) Descriptor() ([]byte, []int)

Deprecated: Use EditRegionReq.ProtoReflect.Descriptor instead.

func (*EditRegionReq) GetCountry added in v0.0.48

func (x *EditRegionReq) GetCountry() string

func (*EditRegionReq) GetId added in v0.0.48

func (x *EditRegionReq) GetId() uint64

func (*EditRegionReq) GetName added in v0.0.48

func (x *EditRegionReq) GetName() string

func (*EditRegionReq) GetPrice added in v0.0.48

func (x *EditRegionReq) GetPrice() uint64

func (*EditRegionReq) GetProductId added in v0.0.48

func (x *EditRegionReq) GetProductId() uint64

func (*EditRegionReq) GetSort added in v0.0.48

func (x *EditRegionReq) GetSort() uint64

func (*EditRegionReq) GetStep added in v0.0.48

func (x *EditRegionReq) GetStep() string

func (*EditRegionReq) ProtoMessage added in v0.0.48

func (*EditRegionReq) ProtoMessage()

func (*EditRegionReq) ProtoReflect added in v0.0.48

func (x *EditRegionReq) ProtoReflect() protoreflect.Message

func (*EditRegionReq) Reset added in v0.0.48

func (x *EditRegionReq) Reset()

func (*EditRegionReq) String added in v0.0.48

func (x *EditRegionReq) String() string

func (*EditRegionReq) Validate added in v0.0.48

func (m *EditRegionReq) Validate() error

Validate checks the field values on EditRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditRegionReq) ValidateAll added in v0.0.48

func (m *EditRegionReq) ValidateAll() error

ValidateAll checks the field values on EditRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditRegionReqMultiError, or nil if none found.

type EditRegionReqMultiError added in v0.0.48

type EditRegionReqMultiError []error

EditRegionReqMultiError is an error wrapping multiple validation errors returned by EditRegionReq.ValidateAll() if the designated constraints aren't met.

func (EditRegionReqMultiError) AllErrors added in v0.0.48

func (m EditRegionReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditRegionReqMultiError) Error added in v0.0.48

func (m EditRegionReqMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type EditRegionReqValidationError added in v0.0.48

type EditRegionReqValidationError struct {
	// contains filtered or unexported fields
}

EditRegionReqValidationError is the validation error returned by EditRegionReq.Validate if the designated constraints aren't met.

func (EditRegionReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (EditRegionReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (EditRegionReqValidationError) ErrorName added in v0.0.48

func (e EditRegionReqValidationError) ErrorName() string

ErrorName returns error name.

func (EditRegionReqValidationError) Field added in v0.0.48

Field function returns field value.

func (EditRegionReqValidationError) Key added in v0.0.48

Key function returns key value.

func (EditRegionReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type EditTerminalReq

type EditTerminalReq struct {

	// id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 终端名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 关键字
	Keywords string `protobuf:"bytes,3,opt,name=keywords,proto3" json:"keywords,omitempty"`
	// 简介
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// 图片
	Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*EditTerminalReq) Descriptor deprecated

func (*EditTerminalReq) Descriptor() ([]byte, []int)

Deprecated: Use EditTerminalReq.ProtoReflect.Descriptor instead.

func (*EditTerminalReq) GetDescription

func (x *EditTerminalReq) GetDescription() string

func (*EditTerminalReq) GetId

func (x *EditTerminalReq) GetId() uint64

func (*EditTerminalReq) GetImg

func (x *EditTerminalReq) GetImg() string

func (*EditTerminalReq) GetKeywords

func (x *EditTerminalReq) GetKeywords() string

func (*EditTerminalReq) GetName

func (x *EditTerminalReq) GetName() string

func (*EditTerminalReq) GetSort

func (x *EditTerminalReq) GetSort() uint64

func (*EditTerminalReq) ProtoMessage

func (*EditTerminalReq) ProtoMessage()

func (*EditTerminalReq) ProtoReflect

func (x *EditTerminalReq) ProtoReflect() protoreflect.Message

func (*EditTerminalReq) Reset

func (x *EditTerminalReq) Reset()

func (*EditTerminalReq) String

func (x *EditTerminalReq) String() string

func (*EditTerminalReq) Validate

func (m *EditTerminalReq) Validate() error

Validate checks the field values on EditTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EditTerminalReq) ValidateAll

func (m *EditTerminalReq) ValidateAll() error

ValidateAll checks the field values on EditTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditTerminalReqMultiError, or nil if none found.

type EditTerminalReqMultiError

type EditTerminalReqMultiError []error

EditTerminalReqMultiError is an error wrapping multiple validation errors returned by EditTerminalReq.ValidateAll() if the designated constraints aren't met.

func (EditTerminalReqMultiError) AllErrors

func (m EditTerminalReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditTerminalReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EditTerminalReqValidationError

type EditTerminalReqValidationError struct {
	// contains filtered or unexported fields
}

EditTerminalReqValidationError is the validation error returned by EditTerminalReq.Validate if the designated constraints aren't met.

func (EditTerminalReqValidationError) Cause

Cause function returns cause value.

func (EditTerminalReqValidationError) Error

Error satisfies the builtin error interface

func (EditTerminalReqValidationError) ErrorName

func (e EditTerminalReqValidationError) ErrorName() string

ErrorName returns error name.

func (EditTerminalReqValidationError) Field

Field function returns field value.

func (EditTerminalReqValidationError) Key

Key function returns key value.

func (EditTerminalReqValidationError) Reason

Reason function returns reason value.

type Kind

type Kind struct {

	// 主键
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品类型名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 创建时间
	CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// 最后编辑时间
	UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// 最后删除时间
	DeletedAt string `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Kind) Descriptor deprecated

func (*Kind) Descriptor() ([]byte, []int)

Deprecated: Use Kind.ProtoReflect.Descriptor instead.

func (*Kind) GetCreatedAt added in v0.0.60

func (x *Kind) GetCreatedAt() string

func (*Kind) GetDeletedAt added in v0.0.60

func (x *Kind) GetDeletedAt() string

func (*Kind) GetId added in v0.0.53

func (x *Kind) GetId() uint64

func (*Kind) GetName

func (x *Kind) GetName() string

func (*Kind) GetUpdatedAt added in v0.0.60

func (x *Kind) GetUpdatedAt() string

func (*Kind) ProtoMessage

func (*Kind) ProtoMessage()

func (*Kind) ProtoReflect

func (x *Kind) ProtoReflect() protoreflect.Message

func (*Kind) Reset

func (x *Kind) Reset()

func (*Kind) String

func (x *Kind) String() string

func (*Kind) Validate

func (m *Kind) Validate() error

Validate checks the field values on Kind with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Kind) ValidateAll

func (m *Kind) ValidateAll() error

ValidateAll checks the field values on Kind with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KindMultiError, or nil if none found.

type KindMultiError

type KindMultiError []error

KindMultiError is an error wrapping multiple validation errors returned by Kind.ValidateAll() if the designated constraints aren't met.

func (KindMultiError) AllErrors

func (m KindMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KindMultiError) Error

func (m KindMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type KindValidationError

type KindValidationError struct {
	// contains filtered or unexported fields
}

KindValidationError is the validation error returned by Kind.Validate if the designated constraints aren't met.

func (KindValidationError) Cause

func (e KindValidationError) Cause() error

Cause function returns cause value.

func (KindValidationError) Error

func (e KindValidationError) Error() string

Error satisfies the builtin error interface

func (KindValidationError) ErrorName

func (e KindValidationError) ErrorName() string

ErrorName returns error name.

func (KindValidationError) Field

func (e KindValidationError) Field() string

Field function returns field value.

func (KindValidationError) Key

func (e KindValidationError) Key() bool

Key function returns key value.

func (KindValidationError) Reason

func (e KindValidationError) Reason() string

Reason function returns reason value.

type ListAttributeRep added in v0.0.64

type ListAttributeRep struct {
	List []*Attribute `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAttributeRep) Descriptor deprecated added in v0.0.64

func (*ListAttributeRep) Descriptor() ([]byte, []int)

Deprecated: Use ListAttributeRep.ProtoReflect.Descriptor instead.

func (*ListAttributeRep) GetList added in v0.0.64

func (x *ListAttributeRep) GetList() []*Attribute

func (*ListAttributeRep) ProtoMessage added in v0.0.64

func (*ListAttributeRep) ProtoMessage()

func (*ListAttributeRep) ProtoReflect added in v0.0.64

func (x *ListAttributeRep) ProtoReflect() protoreflect.Message

func (*ListAttributeRep) Reset added in v0.0.64

func (x *ListAttributeRep) Reset()

func (*ListAttributeRep) String added in v0.0.64

func (x *ListAttributeRep) String() string

func (*ListAttributeRep) Validate added in v0.0.64

func (m *ListAttributeRep) Validate() error

Validate checks the field values on ListAttributeRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListAttributeRep) ValidateAll added in v0.0.64

func (m *ListAttributeRep) ValidateAll() error

ValidateAll checks the field values on ListAttributeRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAttributeRepMultiError, or nil if none found.

type ListAttributeRepMultiError added in v0.0.64

type ListAttributeRepMultiError []error

ListAttributeRepMultiError is an error wrapping multiple validation errors returned by ListAttributeRep.ValidateAll() if the designated constraints aren't met.

func (ListAttributeRepMultiError) AllErrors added in v0.0.64

func (m ListAttributeRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListAttributeRepMultiError) Error added in v0.0.64

Error returns a concatenation of all the error messages it wraps.

type ListAttributeRepValidationError added in v0.0.64

type ListAttributeRepValidationError struct {
	// contains filtered or unexported fields
}

ListAttributeRepValidationError is the validation error returned by ListAttributeRep.Validate if the designated constraints aren't met.

func (ListAttributeRepValidationError) Cause added in v0.0.64

Cause function returns cause value.

func (ListAttributeRepValidationError) Error added in v0.0.64

Error satisfies the builtin error interface

func (ListAttributeRepValidationError) ErrorName added in v0.0.64

ErrorName returns error name.

func (ListAttributeRepValidationError) Field added in v0.0.64

Field function returns field value.

func (ListAttributeRepValidationError) Key added in v0.0.64

Key function returns key value.

func (ListAttributeRepValidationError) Reason added in v0.0.64

Reason function returns reason value.

type ListCategoryRep added in v0.0.48

type ListCategoryRep struct {

	// 列表
	List []*CategoryInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCategoryRep) Descriptor deprecated added in v0.0.48

func (*ListCategoryRep) Descriptor() ([]byte, []int)

Deprecated: Use ListCategoryRep.ProtoReflect.Descriptor instead.

func (*ListCategoryRep) GetList added in v0.0.48

func (x *ListCategoryRep) GetList() []*CategoryInfo

func (*ListCategoryRep) ProtoMessage added in v0.0.48

func (*ListCategoryRep) ProtoMessage()

func (*ListCategoryRep) ProtoReflect added in v0.0.48

func (x *ListCategoryRep) ProtoReflect() protoreflect.Message

func (*ListCategoryRep) Reset added in v0.0.48

func (x *ListCategoryRep) Reset()

func (*ListCategoryRep) String added in v0.0.48

func (x *ListCategoryRep) String() string

func (*ListCategoryRep) Validate added in v0.0.48

func (m *ListCategoryRep) Validate() error

Validate checks the field values on ListCategoryRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListCategoryRep) ValidateAll added in v0.0.48

func (m *ListCategoryRep) ValidateAll() error

ValidateAll checks the field values on ListCategoryRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListCategoryRepMultiError, or nil if none found.

type ListCategoryRepMultiError added in v0.0.48

type ListCategoryRepMultiError []error

ListCategoryRepMultiError is an error wrapping multiple validation errors returned by ListCategoryRep.ValidateAll() if the designated constraints aren't met.

func (ListCategoryRepMultiError) AllErrors added in v0.0.48

func (m ListCategoryRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListCategoryRepMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type ListCategoryRepValidationError added in v0.0.48

type ListCategoryRepValidationError struct {
	// contains filtered or unexported fields
}

ListCategoryRepValidationError is the validation error returned by ListCategoryRep.Validate if the designated constraints aren't met.

func (ListCategoryRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (ListCategoryRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (ListCategoryRepValidationError) ErrorName added in v0.0.48

func (e ListCategoryRepValidationError) ErrorName() string

ErrorName returns error name.

func (ListCategoryRepValidationError) Field added in v0.0.48

Field function returns field value.

func (ListCategoryRepValidationError) Key added in v0.0.48

Key function returns key value.

func (ListCategoryRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type ListKindRep

type ListKindRep struct {
	List []*Kind `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKindRep) Descriptor deprecated

func (*ListKindRep) Descriptor() ([]byte, []int)

Deprecated: Use ListKindRep.ProtoReflect.Descriptor instead.

func (*ListKindRep) GetList

func (x *ListKindRep) GetList() []*Kind

func (*ListKindRep) ProtoMessage

func (*ListKindRep) ProtoMessage()

func (*ListKindRep) ProtoReflect

func (x *ListKindRep) ProtoReflect() protoreflect.Message

func (*ListKindRep) Reset

func (x *ListKindRep) Reset()

func (*ListKindRep) String

func (x *ListKindRep) String() string

func (*ListKindRep) Validate

func (m *ListKindRep) Validate() error

Validate checks the field values on ListKindRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListKindRep) ValidateAll

func (m *ListKindRep) ValidateAll() error

ValidateAll checks the field values on ListKindRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKindRepMultiError, or nil if none found.

type ListKindRepMultiError

type ListKindRepMultiError []error

ListKindRepMultiError is an error wrapping multiple validation errors returned by ListKindRep.ValidateAll() if the designated constraints aren't met.

func (ListKindRepMultiError) AllErrors

func (m ListKindRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListKindRepMultiError) Error

func (m ListKindRepMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListKindRepValidationError

type ListKindRepValidationError struct {
	// contains filtered or unexported fields
}

ListKindRepValidationError is the validation error returned by ListKindRep.Validate if the designated constraints aren't met.

func (ListKindRepValidationError) Cause

Cause function returns cause value.

func (ListKindRepValidationError) Error

Error satisfies the builtin error interface

func (ListKindRepValidationError) ErrorName

func (e ListKindRepValidationError) ErrorName() string

ErrorName returns error name.

func (ListKindRepValidationError) Field

Field function returns field value.

func (ListKindRepValidationError) Key

Key function returns key value.

func (ListKindRepValidationError) Reason

Reason function returns reason value.

type ListProductInfoRep added in v0.0.48

type ListProductInfoRep struct {

	// 列表
	List []*ProductInfoInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProductInfoRep) Descriptor deprecated added in v0.0.48

func (*ListProductInfoRep) Descriptor() ([]byte, []int)

Deprecated: Use ListProductInfoRep.ProtoReflect.Descriptor instead.

func (*ListProductInfoRep) GetList added in v0.0.48

func (x *ListProductInfoRep) GetList() []*ProductInfoInfo

func (*ListProductInfoRep) ProtoMessage added in v0.0.48

func (*ListProductInfoRep) ProtoMessage()

func (*ListProductInfoRep) ProtoReflect added in v0.0.48

func (x *ListProductInfoRep) ProtoReflect() protoreflect.Message

func (*ListProductInfoRep) Reset added in v0.0.48

func (x *ListProductInfoRep) Reset()

func (*ListProductInfoRep) String added in v0.0.48

func (x *ListProductInfoRep) String() string

func (*ListProductInfoRep) Validate added in v0.0.48

func (m *ListProductInfoRep) Validate() error

Validate checks the field values on ListProductInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListProductInfoRep) ValidateAll added in v0.0.48

func (m *ListProductInfoRep) ValidateAll() error

ValidateAll checks the field values on ListProductInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProductInfoRepMultiError, or nil if none found.

type ListProductInfoRepMultiError added in v0.0.48

type ListProductInfoRepMultiError []error

ListProductInfoRepMultiError is an error wrapping multiple validation errors returned by ListProductInfoRep.ValidateAll() if the designated constraints aren't met.

func (ListProductInfoRepMultiError) AllErrors added in v0.0.48

func (m ListProductInfoRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListProductInfoRepMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type ListProductInfoRepValidationError added in v0.0.48

type ListProductInfoRepValidationError struct {
	// contains filtered or unexported fields
}

ListProductInfoRepValidationError is the validation error returned by ListProductInfoRep.Validate if the designated constraints aren't met.

func (ListProductInfoRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (ListProductInfoRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (ListProductInfoRepValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (ListProductInfoRepValidationError) Field added in v0.0.48

Field function returns field value.

func (ListProductInfoRepValidationError) Key added in v0.0.48

Key function returns key value.

func (ListProductInfoRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type ListProductRep

type ListProductRep struct {
	List []*ProductInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProductRep) Descriptor deprecated

func (*ListProductRep) Descriptor() ([]byte, []int)

Deprecated: Use ListProductRep.ProtoReflect.Descriptor instead.

func (*ListProductRep) GetList

func (x *ListProductRep) GetList() []*ProductInfo

func (*ListProductRep) ProtoMessage

func (*ListProductRep) ProtoMessage()

func (*ListProductRep) ProtoReflect

func (x *ListProductRep) ProtoReflect() protoreflect.Message

func (*ListProductRep) Reset

func (x *ListProductRep) Reset()

func (*ListProductRep) String

func (x *ListProductRep) String() string

func (*ListProductRep) Validate

func (m *ListProductRep) Validate() error

Validate checks the field values on ListProductRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListProductRep) ValidateAll

func (m *ListProductRep) ValidateAll() error

ValidateAll checks the field values on ListProductRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProductRepMultiError, or nil if none found.

type ListProductRepMultiError

type ListProductRepMultiError []error

ListProductRepMultiError is an error wrapping multiple validation errors returned by ListProductRep.ValidateAll() if the designated constraints aren't met.

func (ListProductRepMultiError) AllErrors

func (m ListProductRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListProductRepMultiError) Error

func (m ListProductRepMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListProductRepValidationError

type ListProductRepValidationError struct {
	// contains filtered or unexported fields
}

ListProductRepValidationError is the validation error returned by ListProductRep.Validate if the designated constraints aren't met.

func (ListProductRepValidationError) Cause

Cause function returns cause value.

func (ListProductRepValidationError) Error

Error satisfies the builtin error interface

func (ListProductRepValidationError) ErrorName

func (e ListProductRepValidationError) ErrorName() string

ErrorName returns error name.

func (ListProductRepValidationError) Field

Field function returns field value.

func (ListProductRepValidationError) Key

Key function returns key value.

func (ListProductRepValidationError) Reason

Reason function returns reason value.

type ListProductTerminalInfoRep added in v0.0.48

type ListProductTerminalInfoRep struct {

	// 列表
	List []*ProductTerminalInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListProductTerminalInfoRep) Descriptor deprecated added in v0.0.48

func (*ListProductTerminalInfoRep) Descriptor() ([]byte, []int)

Deprecated: Use ListProductTerminalInfoRep.ProtoReflect.Descriptor instead.

func (*ListProductTerminalInfoRep) GetList added in v0.0.48

func (*ListProductTerminalInfoRep) ProtoMessage added in v0.0.48

func (*ListProductTerminalInfoRep) ProtoMessage()

func (*ListProductTerminalInfoRep) ProtoReflect added in v0.0.48

func (*ListProductTerminalInfoRep) Reset added in v0.0.48

func (x *ListProductTerminalInfoRep) Reset()

func (*ListProductTerminalInfoRep) String added in v0.0.48

func (x *ListProductTerminalInfoRep) String() string

func (*ListProductTerminalInfoRep) Validate added in v0.0.48

func (m *ListProductTerminalInfoRep) Validate() error

Validate checks the field values on ListProductTerminalInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListProductTerminalInfoRep) ValidateAll added in v0.0.48

func (m *ListProductTerminalInfoRep) ValidateAll() error

ValidateAll checks the field values on ListProductTerminalInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProductTerminalInfoRepMultiError, or nil if none found.

type ListProductTerminalInfoRepMultiError added in v0.0.48

type ListProductTerminalInfoRepMultiError []error

ListProductTerminalInfoRepMultiError is an error wrapping multiple validation errors returned by ListProductTerminalInfoRep.ValidateAll() if the designated constraints aren't met.

func (ListProductTerminalInfoRepMultiError) AllErrors added in v0.0.48

AllErrors returns a list of validation violation errors.

func (ListProductTerminalInfoRepMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type ListProductTerminalInfoRepValidationError added in v0.0.48

type ListProductTerminalInfoRepValidationError struct {
	// contains filtered or unexported fields
}

ListProductTerminalInfoRepValidationError is the validation error returned by ListProductTerminalInfoRep.Validate if the designated constraints aren't met.

func (ListProductTerminalInfoRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (ListProductTerminalInfoRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (ListProductTerminalInfoRepValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (ListProductTerminalInfoRepValidationError) Field added in v0.0.48

Field function returns field value.

func (ListProductTerminalInfoRepValidationError) Key added in v0.0.48

Key function returns key value.

func (ListProductTerminalInfoRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type ListRegionRep added in v0.0.48

type ListRegionRep struct {

	// 列表
	List []*RegionInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegionRep) Descriptor deprecated added in v0.0.48

func (*ListRegionRep) Descriptor() ([]byte, []int)

Deprecated: Use ListRegionRep.ProtoReflect.Descriptor instead.

func (*ListRegionRep) GetList added in v0.0.48

func (x *ListRegionRep) GetList() []*RegionInfo

func (*ListRegionRep) ProtoMessage added in v0.0.48

func (*ListRegionRep) ProtoMessage()

func (*ListRegionRep) ProtoReflect added in v0.0.48

func (x *ListRegionRep) ProtoReflect() protoreflect.Message

func (*ListRegionRep) Reset added in v0.0.48

func (x *ListRegionRep) Reset()

func (*ListRegionRep) String added in v0.0.48

func (x *ListRegionRep) String() string

func (*ListRegionRep) Validate added in v0.0.48

func (m *ListRegionRep) Validate() error

Validate checks the field values on ListRegionRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListRegionRep) ValidateAll added in v0.0.48

func (m *ListRegionRep) ValidateAll() error

ValidateAll checks the field values on ListRegionRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRegionRepMultiError, or nil if none found.

type ListRegionRepMultiError added in v0.0.48

type ListRegionRepMultiError []error

ListRegionRepMultiError is an error wrapping multiple validation errors returned by ListRegionRep.ValidateAll() if the designated constraints aren't met.

func (ListRegionRepMultiError) AllErrors added in v0.0.48

func (m ListRegionRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListRegionRepMultiError) Error added in v0.0.48

func (m ListRegionRepMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListRegionRepValidationError added in v0.0.48

type ListRegionRepValidationError struct {
	// contains filtered or unexported fields
}

ListRegionRepValidationError is the validation error returned by ListRegionRep.Validate if the designated constraints aren't met.

func (ListRegionRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (ListRegionRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (ListRegionRepValidationError) ErrorName added in v0.0.48

func (e ListRegionRepValidationError) ErrorName() string

ErrorName returns error name.

func (ListRegionRepValidationError) Field added in v0.0.48

Field function returns field value.

func (ListRegionRepValidationError) Key added in v0.0.48

Key function returns key value.

func (ListRegionRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type ListTerminalRep

type ListTerminalRep struct {
	List []*Terminal `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTerminalRep) Descriptor deprecated

func (*ListTerminalRep) Descriptor() ([]byte, []int)

Deprecated: Use ListTerminalRep.ProtoReflect.Descriptor instead.

func (*ListTerminalRep) GetList

func (x *ListTerminalRep) GetList() []*Terminal

func (*ListTerminalRep) ProtoMessage

func (*ListTerminalRep) ProtoMessage()

func (*ListTerminalRep) ProtoReflect

func (x *ListTerminalRep) ProtoReflect() protoreflect.Message

func (*ListTerminalRep) Reset

func (x *ListTerminalRep) Reset()

func (*ListTerminalRep) String

func (x *ListTerminalRep) String() string

func (*ListTerminalRep) Validate

func (m *ListTerminalRep) Validate() error

Validate checks the field values on ListTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListTerminalRep) ValidateAll

func (m *ListTerminalRep) ValidateAll() error

ValidateAll checks the field values on ListTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTerminalRepMultiError, or nil if none found.

type ListTerminalRepMultiError

type ListTerminalRepMultiError []error

ListTerminalRepMultiError is an error wrapping multiple validation errors returned by ListTerminalRep.ValidateAll() if the designated constraints aren't met.

func (ListTerminalRepMultiError) AllErrors

func (m ListTerminalRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListTerminalRepMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListTerminalRepValidationError

type ListTerminalRepValidationError struct {
	// contains filtered or unexported fields
}

ListTerminalRepValidationError is the validation error returned by ListTerminalRep.Validate if the designated constraints aren't met.

func (ListTerminalRepValidationError) Cause

Cause function returns cause value.

func (ListTerminalRepValidationError) Error

Error satisfies the builtin error interface

func (ListTerminalRepValidationError) ErrorName

func (e ListTerminalRepValidationError) ErrorName() string

ErrorName returns error name.

func (ListTerminalRepValidationError) Field

Field function returns field value.

func (ListTerminalRepValidationError) Key

Key function returns key value.

func (ListTerminalRepValidationError) Reason

Reason function returns reason value.

type PageListAttributeRep added in v0.0.64

type PageListAttributeRep struct {

	// 总条数
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// 列表
	List []*Attribute `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListAttributeRep) Descriptor deprecated added in v0.0.64

func (*PageListAttributeRep) Descriptor() ([]byte, []int)

Deprecated: Use PageListAttributeRep.ProtoReflect.Descriptor instead.

func (*PageListAttributeRep) GetList added in v0.0.64

func (x *PageListAttributeRep) GetList() []*Attribute

func (*PageListAttributeRep) GetTotal added in v0.0.64

func (x *PageListAttributeRep) GetTotal() uint64

func (*PageListAttributeRep) ProtoMessage added in v0.0.64

func (*PageListAttributeRep) ProtoMessage()

func (*PageListAttributeRep) ProtoReflect added in v0.0.64

func (x *PageListAttributeRep) ProtoReflect() protoreflect.Message

func (*PageListAttributeRep) Reset added in v0.0.64

func (x *PageListAttributeRep) Reset()

func (*PageListAttributeRep) String added in v0.0.64

func (x *PageListAttributeRep) String() string

func (*PageListAttributeRep) Validate added in v0.0.64

func (m *PageListAttributeRep) Validate() error

Validate checks the field values on PageListAttributeRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListAttributeRep) ValidateAll added in v0.0.64

func (m *PageListAttributeRep) ValidateAll() error

ValidateAll checks the field values on PageListAttributeRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListAttributeRepMultiError, or nil if none found.

type PageListAttributeRepMultiError added in v0.0.64

type PageListAttributeRepMultiError []error

PageListAttributeRepMultiError is an error wrapping multiple validation errors returned by PageListAttributeRep.ValidateAll() if the designated constraints aren't met.

func (PageListAttributeRepMultiError) AllErrors added in v0.0.64

func (m PageListAttributeRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListAttributeRepMultiError) Error added in v0.0.64

Error returns a concatenation of all the error messages it wraps.

type PageListAttributeRepValidationError added in v0.0.64

type PageListAttributeRepValidationError struct {
	// contains filtered or unexported fields
}

PageListAttributeRepValidationError is the validation error returned by PageListAttributeRep.Validate if the designated constraints aren't met.

func (PageListAttributeRepValidationError) Cause added in v0.0.64

Cause function returns cause value.

func (PageListAttributeRepValidationError) Error added in v0.0.64

Error satisfies the builtin error interface

func (PageListAttributeRepValidationError) ErrorName added in v0.0.64

ErrorName returns error name.

func (PageListAttributeRepValidationError) Field added in v0.0.64

Field function returns field value.

func (PageListAttributeRepValidationError) Key added in v0.0.64

Key function returns key value.

func (PageListAttributeRepValidationError) Reason added in v0.0.64

Reason function returns reason value.

type PageListAttributeReq added in v0.0.64

type PageListAttributeReq struct {

	// 页数
	Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	// 每页数量
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 类型名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// 产品详情Id
	ProductInfoId uint64 `protobuf:"varint,4,opt,name=product_info_id,json=productInfoId,proto3" json:"product_info_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListAttributeReq) Descriptor deprecated added in v0.0.64

func (*PageListAttributeReq) Descriptor() ([]byte, []int)

Deprecated: Use PageListAttributeReq.ProtoReflect.Descriptor instead.

func (*PageListAttributeReq) GetName added in v0.0.64

func (x *PageListAttributeReq) GetName() string

func (*PageListAttributeReq) GetPage added in v0.0.64

func (x *PageListAttributeReq) GetPage() uint64

func (*PageListAttributeReq) GetPageSize added in v0.0.64

func (x *PageListAttributeReq) GetPageSize() uint64

func (*PageListAttributeReq) GetProductInfoId added in v0.0.66

func (x *PageListAttributeReq) GetProductInfoId() uint64

func (*PageListAttributeReq) ProtoMessage added in v0.0.64

func (*PageListAttributeReq) ProtoMessage()

func (*PageListAttributeReq) ProtoReflect added in v0.0.64

func (x *PageListAttributeReq) ProtoReflect() protoreflect.Message

func (*PageListAttributeReq) Reset added in v0.0.64

func (x *PageListAttributeReq) Reset()

func (*PageListAttributeReq) String added in v0.0.64

func (x *PageListAttributeReq) String() string

func (*PageListAttributeReq) Validate added in v0.0.64

func (m *PageListAttributeReq) Validate() error

Validate checks the field values on PageListAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListAttributeReq) ValidateAll added in v0.0.64

func (m *PageListAttributeReq) ValidateAll() error

ValidateAll checks the field values on PageListAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListAttributeReqMultiError, or nil if none found.

type PageListAttributeReqMultiError added in v0.0.64

type PageListAttributeReqMultiError []error

PageListAttributeReqMultiError is an error wrapping multiple validation errors returned by PageListAttributeReq.ValidateAll() if the designated constraints aren't met.

func (PageListAttributeReqMultiError) AllErrors added in v0.0.64

func (m PageListAttributeReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListAttributeReqMultiError) Error added in v0.0.64

Error returns a concatenation of all the error messages it wraps.

type PageListAttributeReqValidationError added in v0.0.64

type PageListAttributeReqValidationError struct {
	// contains filtered or unexported fields
}

PageListAttributeReqValidationError is the validation error returned by PageListAttributeReq.Validate if the designated constraints aren't met.

func (PageListAttributeReqValidationError) Cause added in v0.0.64

Cause function returns cause value.

func (PageListAttributeReqValidationError) Error added in v0.0.64

Error satisfies the builtin error interface

func (PageListAttributeReqValidationError) ErrorName added in v0.0.64

ErrorName returns error name.

func (PageListAttributeReqValidationError) Field added in v0.0.64

Field function returns field value.

func (PageListAttributeReqValidationError) Key added in v0.0.64

Key function returns key value.

func (PageListAttributeReqValidationError) Reason added in v0.0.64

Reason function returns reason value.

type PageListCategoryRep added in v0.0.48

type PageListCategoryRep struct {

	// 总条数
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// 列表
	List []*CategoryInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListCategoryRep) Descriptor deprecated added in v0.0.48

func (*PageListCategoryRep) Descriptor() ([]byte, []int)

Deprecated: Use PageListCategoryRep.ProtoReflect.Descriptor instead.

func (*PageListCategoryRep) GetList added in v0.0.48

func (x *PageListCategoryRep) GetList() []*CategoryInfo

func (*PageListCategoryRep) GetTotal added in v0.0.48

func (x *PageListCategoryRep) GetTotal() uint64

func (*PageListCategoryRep) ProtoMessage added in v0.0.48

func (*PageListCategoryRep) ProtoMessage()

func (*PageListCategoryRep) ProtoReflect added in v0.0.48

func (x *PageListCategoryRep) ProtoReflect() protoreflect.Message

func (*PageListCategoryRep) Reset added in v0.0.48

func (x *PageListCategoryRep) Reset()

func (*PageListCategoryRep) String added in v0.0.48

func (x *PageListCategoryRep) String() string

func (*PageListCategoryRep) Validate added in v0.0.48

func (m *PageListCategoryRep) Validate() error

Validate checks the field values on PageListCategoryRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListCategoryRep) ValidateAll added in v0.0.48

func (m *PageListCategoryRep) ValidateAll() error

ValidateAll checks the field values on PageListCategoryRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListCategoryRepMultiError, or nil if none found.

type PageListCategoryRepMultiError added in v0.0.48

type PageListCategoryRepMultiError []error

PageListCategoryRepMultiError is an error wrapping multiple validation errors returned by PageListCategoryRep.ValidateAll() if the designated constraints aren't met.

func (PageListCategoryRepMultiError) AllErrors added in v0.0.48

func (m PageListCategoryRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListCategoryRepMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListCategoryRepValidationError added in v0.0.48

type PageListCategoryRepValidationError struct {
	// contains filtered or unexported fields
}

PageListCategoryRepValidationError is the validation error returned by PageListCategoryRep.Validate if the designated constraints aren't met.

func (PageListCategoryRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListCategoryRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListCategoryRepValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListCategoryRepValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListCategoryRepValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListCategoryRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListCategoryReq added in v0.0.48

type PageListCategoryReq struct {

	// 页数
	Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	// 每页数量
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 分类名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListCategoryReq) Descriptor deprecated added in v0.0.48

func (*PageListCategoryReq) Descriptor() ([]byte, []int)

Deprecated: Use PageListCategoryReq.ProtoReflect.Descriptor instead.

func (*PageListCategoryReq) GetName added in v0.0.48

func (x *PageListCategoryReq) GetName() string

func (*PageListCategoryReq) GetPage added in v0.0.48

func (x *PageListCategoryReq) GetPage() uint64

func (*PageListCategoryReq) GetPageSize added in v0.0.48

func (x *PageListCategoryReq) GetPageSize() uint64

func (*PageListCategoryReq) ProtoMessage added in v0.0.48

func (*PageListCategoryReq) ProtoMessage()

func (*PageListCategoryReq) ProtoReflect added in v0.0.48

func (x *PageListCategoryReq) ProtoReflect() protoreflect.Message

func (*PageListCategoryReq) Reset added in v0.0.48

func (x *PageListCategoryReq) Reset()

func (*PageListCategoryReq) String added in v0.0.48

func (x *PageListCategoryReq) String() string

func (*PageListCategoryReq) Validate added in v0.0.48

func (m *PageListCategoryReq) Validate() error

Validate checks the field values on PageListCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListCategoryReq) ValidateAll added in v0.0.48

func (m *PageListCategoryReq) ValidateAll() error

ValidateAll checks the field values on PageListCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListCategoryReqMultiError, or nil if none found.

type PageListCategoryReqMultiError added in v0.0.48

type PageListCategoryReqMultiError []error

PageListCategoryReqMultiError is an error wrapping multiple validation errors returned by PageListCategoryReq.ValidateAll() if the designated constraints aren't met.

func (PageListCategoryReqMultiError) AllErrors added in v0.0.48

func (m PageListCategoryReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListCategoryReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListCategoryReqValidationError added in v0.0.48

type PageListCategoryReqValidationError struct {
	// contains filtered or unexported fields
}

PageListCategoryReqValidationError is the validation error returned by PageListCategoryReq.Validate if the designated constraints aren't met.

func (PageListCategoryReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListCategoryReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListCategoryReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListCategoryReqValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListCategoryReqValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListCategoryReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListKindRep

type PageListKindRep struct {

	// 总条数
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// 列表
	List []*Kind `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListKindRep) Descriptor deprecated

func (*PageListKindRep) Descriptor() ([]byte, []int)

Deprecated: Use PageListKindRep.ProtoReflect.Descriptor instead.

func (*PageListKindRep) GetList

func (x *PageListKindRep) GetList() []*Kind

func (*PageListKindRep) GetTotal

func (x *PageListKindRep) GetTotal() uint64

func (*PageListKindRep) ProtoMessage

func (*PageListKindRep) ProtoMessage()

func (*PageListKindRep) ProtoReflect

func (x *PageListKindRep) ProtoReflect() protoreflect.Message

func (*PageListKindRep) Reset

func (x *PageListKindRep) Reset()

func (*PageListKindRep) String

func (x *PageListKindRep) String() string

func (*PageListKindRep) Validate

func (m *PageListKindRep) Validate() error

Validate checks the field values on PageListKindRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListKindRep) ValidateAll

func (m *PageListKindRep) ValidateAll() error

ValidateAll checks the field values on PageListKindRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListKindRepMultiError, or nil if none found.

type PageListKindRepMultiError

type PageListKindRepMultiError []error

PageListKindRepMultiError is an error wrapping multiple validation errors returned by PageListKindRep.ValidateAll() if the designated constraints aren't met.

func (PageListKindRepMultiError) AllErrors

func (m PageListKindRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListKindRepMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PageListKindRepValidationError

type PageListKindRepValidationError struct {
	// contains filtered or unexported fields
}

PageListKindRepValidationError is the validation error returned by PageListKindRep.Validate if the designated constraints aren't met.

func (PageListKindRepValidationError) Cause

Cause function returns cause value.

func (PageListKindRepValidationError) Error

Error satisfies the builtin error interface

func (PageListKindRepValidationError) ErrorName

func (e PageListKindRepValidationError) ErrorName() string

ErrorName returns error name.

func (PageListKindRepValidationError) Field

Field function returns field value.

func (PageListKindRepValidationError) Key

Key function returns key value.

func (PageListKindRepValidationError) Reason

Reason function returns reason value.

type PageListKindReq

type PageListKindReq struct {

	// 页数
	Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	// 每页数量
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 类型名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListKindReq) Descriptor deprecated

func (*PageListKindReq) Descriptor() ([]byte, []int)

Deprecated: Use PageListKindReq.ProtoReflect.Descriptor instead.

func (*PageListKindReq) GetName

func (x *PageListKindReq) GetName() string

func (*PageListKindReq) GetPage

func (x *PageListKindReq) GetPage() uint64

func (*PageListKindReq) GetPageSize

func (x *PageListKindReq) GetPageSize() uint64

func (*PageListKindReq) ProtoMessage

func (*PageListKindReq) ProtoMessage()

func (*PageListKindReq) ProtoReflect

func (x *PageListKindReq) ProtoReflect() protoreflect.Message

func (*PageListKindReq) Reset

func (x *PageListKindReq) Reset()

func (*PageListKindReq) String

func (x *PageListKindReq) String() string

func (*PageListKindReq) Validate

func (m *PageListKindReq) Validate() error

Validate checks the field values on PageListKindReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListKindReq) ValidateAll

func (m *PageListKindReq) ValidateAll() error

ValidateAll checks the field values on PageListKindReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListKindReqMultiError, or nil if none found.

type PageListKindReqMultiError

type PageListKindReqMultiError []error

PageListKindReqMultiError is an error wrapping multiple validation errors returned by PageListKindReq.ValidateAll() if the designated constraints aren't met.

func (PageListKindReqMultiError) AllErrors

func (m PageListKindReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListKindReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PageListKindReqValidationError

type PageListKindReqValidationError struct {
	// contains filtered or unexported fields
}

PageListKindReqValidationError is the validation error returned by PageListKindReq.Validate if the designated constraints aren't met.

func (PageListKindReqValidationError) Cause

Cause function returns cause value.

func (PageListKindReqValidationError) Error

Error satisfies the builtin error interface

func (PageListKindReqValidationError) ErrorName

func (e PageListKindReqValidationError) ErrorName() string

ErrorName returns error name.

func (PageListKindReqValidationError) Field

Field function returns field value.

func (PageListKindReqValidationError) Key

Key function returns key value.

func (PageListKindReqValidationError) Reason

Reason function returns reason value.

type PageListProductInfoRep added in v0.0.48

type PageListProductInfoRep struct {

	// 总条数
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// 列表
	List []*ProductInfoInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListProductInfoRep) Descriptor deprecated added in v0.0.48

func (*PageListProductInfoRep) Descriptor() ([]byte, []int)

Deprecated: Use PageListProductInfoRep.ProtoReflect.Descriptor instead.

func (*PageListProductInfoRep) GetList added in v0.0.48

func (x *PageListProductInfoRep) GetList() []*ProductInfoInfo

func (*PageListProductInfoRep) GetTotal added in v0.0.48

func (x *PageListProductInfoRep) GetTotal() uint64

func (*PageListProductInfoRep) ProtoMessage added in v0.0.48

func (*PageListProductInfoRep) ProtoMessage()

func (*PageListProductInfoRep) ProtoReflect added in v0.0.48

func (x *PageListProductInfoRep) ProtoReflect() protoreflect.Message

func (*PageListProductInfoRep) Reset added in v0.0.48

func (x *PageListProductInfoRep) Reset()

func (*PageListProductInfoRep) String added in v0.0.48

func (x *PageListProductInfoRep) String() string

func (*PageListProductInfoRep) Validate added in v0.0.48

func (m *PageListProductInfoRep) Validate() error

Validate checks the field values on PageListProductInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListProductInfoRep) ValidateAll added in v0.0.48

func (m *PageListProductInfoRep) ValidateAll() error

ValidateAll checks the field values on PageListProductInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductInfoRepMultiError, or nil if none found.

type PageListProductInfoRepMultiError added in v0.0.48

type PageListProductInfoRepMultiError []error

PageListProductInfoRepMultiError is an error wrapping multiple validation errors returned by PageListProductInfoRep.ValidateAll() if the designated constraints aren't met.

func (PageListProductInfoRepMultiError) AllErrors added in v0.0.48

func (m PageListProductInfoRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListProductInfoRepMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListProductInfoRepValidationError added in v0.0.48

type PageListProductInfoRepValidationError struct {
	// contains filtered or unexported fields
}

PageListProductInfoRepValidationError is the validation error returned by PageListProductInfoRep.Validate if the designated constraints aren't met.

func (PageListProductInfoRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListProductInfoRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListProductInfoRepValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListProductInfoRepValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListProductInfoRepValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListProductInfoRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListProductInfoReq added in v0.0.48

type PageListProductInfoReq struct {

	// 页数
	Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	// 每页数量
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListProductInfoReq) Descriptor deprecated added in v0.0.48

func (*PageListProductInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use PageListProductInfoReq.ProtoReflect.Descriptor instead.

func (*PageListProductInfoReq) GetPage added in v0.0.48

func (x *PageListProductInfoReq) GetPage() uint64

func (*PageListProductInfoReq) GetPageSize added in v0.0.48

func (x *PageListProductInfoReq) GetPageSize() uint64

func (*PageListProductInfoReq) ProtoMessage added in v0.0.48

func (*PageListProductInfoReq) ProtoMessage()

func (*PageListProductInfoReq) ProtoReflect added in v0.0.48

func (x *PageListProductInfoReq) ProtoReflect() protoreflect.Message

func (*PageListProductInfoReq) Reset added in v0.0.48

func (x *PageListProductInfoReq) Reset()

func (*PageListProductInfoReq) String added in v0.0.48

func (x *PageListProductInfoReq) String() string

func (*PageListProductInfoReq) Validate added in v0.0.48

func (m *PageListProductInfoReq) Validate() error

Validate checks the field values on PageListProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListProductInfoReq) ValidateAll added in v0.0.48

func (m *PageListProductInfoReq) ValidateAll() error

ValidateAll checks the field values on PageListProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductInfoReqMultiError, or nil if none found.

type PageListProductInfoReqMultiError added in v0.0.48

type PageListProductInfoReqMultiError []error

PageListProductInfoReqMultiError is an error wrapping multiple validation errors returned by PageListProductInfoReq.ValidateAll() if the designated constraints aren't met.

func (PageListProductInfoReqMultiError) AllErrors added in v0.0.48

func (m PageListProductInfoReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListProductInfoReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListProductInfoReqValidationError added in v0.0.48

type PageListProductInfoReqValidationError struct {
	// contains filtered or unexported fields
}

PageListProductInfoReqValidationError is the validation error returned by PageListProductInfoReq.Validate if the designated constraints aren't met.

func (PageListProductInfoReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListProductInfoReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListProductInfoReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListProductInfoReqValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListProductInfoReqValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListProductInfoReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListProductRep added in v0.0.48

type PageListProductRep struct {

	// 总条数
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// 列表
	List []*ProductInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListProductRep) Descriptor deprecated added in v0.0.48

func (*PageListProductRep) Descriptor() ([]byte, []int)

Deprecated: Use PageListProductRep.ProtoReflect.Descriptor instead.

func (*PageListProductRep) GetList added in v0.0.48

func (x *PageListProductRep) GetList() []*ProductInfo

func (*PageListProductRep) GetTotal added in v0.0.48

func (x *PageListProductRep) GetTotal() uint64

func (*PageListProductRep) ProtoMessage added in v0.0.48

func (*PageListProductRep) ProtoMessage()

func (*PageListProductRep) ProtoReflect added in v0.0.48

func (x *PageListProductRep) ProtoReflect() protoreflect.Message

func (*PageListProductRep) Reset added in v0.0.48

func (x *PageListProductRep) Reset()

func (*PageListProductRep) String added in v0.0.48

func (x *PageListProductRep) String() string

func (*PageListProductRep) Validate added in v0.0.48

func (m *PageListProductRep) Validate() error

Validate checks the field values on PageListProductRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListProductRep) ValidateAll added in v0.0.48

func (m *PageListProductRep) ValidateAll() error

ValidateAll checks the field values on PageListProductRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductRepMultiError, or nil if none found.

type PageListProductRepMultiError added in v0.0.48

type PageListProductRepMultiError []error

PageListProductRepMultiError is an error wrapping multiple validation errors returned by PageListProductRep.ValidateAll() if the designated constraints aren't met.

func (PageListProductRepMultiError) AllErrors added in v0.0.48

func (m PageListProductRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListProductRepMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListProductRepValidationError added in v0.0.48

type PageListProductRepValidationError struct {
	// contains filtered or unexported fields
}

PageListProductRepValidationError is the validation error returned by PageListProductRep.Validate if the designated constraints aren't met.

func (PageListProductRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListProductRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListProductRepValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListProductRepValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListProductRepValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListProductRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListProductReq added in v0.0.48

type PageListProductReq struct {

	// 页数
	Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	// 每页数量
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 产品名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListProductReq) Descriptor deprecated added in v0.0.48

func (*PageListProductReq) Descriptor() ([]byte, []int)

Deprecated: Use PageListProductReq.ProtoReflect.Descriptor instead.

func (*PageListProductReq) GetName added in v0.0.48

func (x *PageListProductReq) GetName() string

func (*PageListProductReq) GetPage added in v0.0.48

func (x *PageListProductReq) GetPage() uint64

func (*PageListProductReq) GetPageSize added in v0.0.48

func (x *PageListProductReq) GetPageSize() uint64

func (*PageListProductReq) ProtoMessage added in v0.0.48

func (*PageListProductReq) ProtoMessage()

func (*PageListProductReq) ProtoReflect added in v0.0.48

func (x *PageListProductReq) ProtoReflect() protoreflect.Message

func (*PageListProductReq) Reset added in v0.0.48

func (x *PageListProductReq) Reset()

func (*PageListProductReq) String added in v0.0.48

func (x *PageListProductReq) String() string

func (*PageListProductReq) Validate added in v0.0.48

func (m *PageListProductReq) Validate() error

Validate checks the field values on PageListProductReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListProductReq) ValidateAll added in v0.0.48

func (m *PageListProductReq) ValidateAll() error

ValidateAll checks the field values on PageListProductReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductReqMultiError, or nil if none found.

type PageListProductReqMultiError added in v0.0.48

type PageListProductReqMultiError []error

PageListProductReqMultiError is an error wrapping multiple validation errors returned by PageListProductReq.ValidateAll() if the designated constraints aren't met.

func (PageListProductReqMultiError) AllErrors added in v0.0.48

func (m PageListProductReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListProductReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListProductReqValidationError added in v0.0.48

type PageListProductReqValidationError struct {
	// contains filtered or unexported fields
}

PageListProductReqValidationError is the validation error returned by PageListProductReq.Validate if the designated constraints aren't met.

func (PageListProductReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListProductReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListProductReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListProductReqValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListProductReqValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListProductReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListProductTerminalRep added in v0.0.48

type PageListProductTerminalRep struct {

	// 总条数
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// 列表
	List []*ProductTerminalInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListProductTerminalRep) Descriptor deprecated added in v0.0.48

func (*PageListProductTerminalRep) Descriptor() ([]byte, []int)

Deprecated: Use PageListProductTerminalRep.ProtoReflect.Descriptor instead.

func (*PageListProductTerminalRep) GetList added in v0.0.48

func (*PageListProductTerminalRep) GetTotal added in v0.0.48

func (x *PageListProductTerminalRep) GetTotal() uint64

func (*PageListProductTerminalRep) ProtoMessage added in v0.0.48

func (*PageListProductTerminalRep) ProtoMessage()

func (*PageListProductTerminalRep) ProtoReflect added in v0.0.48

func (*PageListProductTerminalRep) Reset added in v0.0.48

func (x *PageListProductTerminalRep) Reset()

func (*PageListProductTerminalRep) String added in v0.0.48

func (x *PageListProductTerminalRep) String() string

func (*PageListProductTerminalRep) Validate added in v0.0.48

func (m *PageListProductTerminalRep) Validate() error

Validate checks the field values on PageListProductTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListProductTerminalRep) ValidateAll added in v0.0.48

func (m *PageListProductTerminalRep) ValidateAll() error

ValidateAll checks the field values on PageListProductTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductTerminalRepMultiError, or nil if none found.

type PageListProductTerminalRepMultiError added in v0.0.48

type PageListProductTerminalRepMultiError []error

PageListProductTerminalRepMultiError is an error wrapping multiple validation errors returned by PageListProductTerminalRep.ValidateAll() if the designated constraints aren't met.

func (PageListProductTerminalRepMultiError) AllErrors added in v0.0.48

AllErrors returns a list of validation violation errors.

func (PageListProductTerminalRepMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListProductTerminalRepValidationError added in v0.0.48

type PageListProductTerminalRepValidationError struct {
	// contains filtered or unexported fields
}

PageListProductTerminalRepValidationError is the validation error returned by PageListProductTerminalRep.Validate if the designated constraints aren't met.

func (PageListProductTerminalRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListProductTerminalRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListProductTerminalRepValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListProductTerminalRepValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListProductTerminalRepValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListProductTerminalRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListProductTerminalReq added in v0.0.48

type PageListProductTerminalReq struct {

	// 页数
	Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	// 每页数量
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListProductTerminalReq) Descriptor deprecated added in v0.0.48

func (*PageListProductTerminalReq) Descriptor() ([]byte, []int)

Deprecated: Use PageListProductTerminalReq.ProtoReflect.Descriptor instead.

func (*PageListProductTerminalReq) GetPage added in v0.0.48

func (x *PageListProductTerminalReq) GetPage() uint64

func (*PageListProductTerminalReq) GetPageSize added in v0.0.48

func (x *PageListProductTerminalReq) GetPageSize() uint64

func (*PageListProductTerminalReq) ProtoMessage added in v0.0.48

func (*PageListProductTerminalReq) ProtoMessage()

func (*PageListProductTerminalReq) ProtoReflect added in v0.0.48

func (*PageListProductTerminalReq) Reset added in v0.0.48

func (x *PageListProductTerminalReq) Reset()

func (*PageListProductTerminalReq) String added in v0.0.48

func (x *PageListProductTerminalReq) String() string

func (*PageListProductTerminalReq) Validate added in v0.0.48

func (m *PageListProductTerminalReq) Validate() error

Validate checks the field values on PageListProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListProductTerminalReq) ValidateAll added in v0.0.48

func (m *PageListProductTerminalReq) ValidateAll() error

ValidateAll checks the field values on PageListProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductTerminalReqMultiError, or nil if none found.

type PageListProductTerminalReqMultiError added in v0.0.48

type PageListProductTerminalReqMultiError []error

PageListProductTerminalReqMultiError is an error wrapping multiple validation errors returned by PageListProductTerminalReq.ValidateAll() if the designated constraints aren't met.

func (PageListProductTerminalReqMultiError) AllErrors added in v0.0.48

AllErrors returns a list of validation violation errors.

func (PageListProductTerminalReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListProductTerminalReqValidationError added in v0.0.48

type PageListProductTerminalReqValidationError struct {
	// contains filtered or unexported fields
}

PageListProductTerminalReqValidationError is the validation error returned by PageListProductTerminalReq.Validate if the designated constraints aren't met.

func (PageListProductTerminalReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListProductTerminalReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListProductTerminalReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListProductTerminalReqValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListProductTerminalReqValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListProductTerminalReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListRegionRep added in v0.0.48

type PageListRegionRep struct {

	// 总条数
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// 列表
	List []*RegionInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListRegionRep) Descriptor deprecated added in v0.0.48

func (*PageListRegionRep) Descriptor() ([]byte, []int)

Deprecated: Use PageListRegionRep.ProtoReflect.Descriptor instead.

func (*PageListRegionRep) GetList added in v0.0.48

func (x *PageListRegionRep) GetList() []*RegionInfo

func (*PageListRegionRep) GetTotal added in v0.0.48

func (x *PageListRegionRep) GetTotal() uint64

func (*PageListRegionRep) ProtoMessage added in v0.0.48

func (*PageListRegionRep) ProtoMessage()

func (*PageListRegionRep) ProtoReflect added in v0.0.48

func (x *PageListRegionRep) ProtoReflect() protoreflect.Message

func (*PageListRegionRep) Reset added in v0.0.48

func (x *PageListRegionRep) Reset()

func (*PageListRegionRep) String added in v0.0.48

func (x *PageListRegionRep) String() string

func (*PageListRegionRep) Validate added in v0.0.48

func (m *PageListRegionRep) Validate() error

Validate checks the field values on PageListRegionRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListRegionRep) ValidateAll added in v0.0.48

func (m *PageListRegionRep) ValidateAll() error

ValidateAll checks the field values on PageListRegionRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListRegionRepMultiError, or nil if none found.

type PageListRegionRepMultiError added in v0.0.48

type PageListRegionRepMultiError []error

PageListRegionRepMultiError is an error wrapping multiple validation errors returned by PageListRegionRep.ValidateAll() if the designated constraints aren't met.

func (PageListRegionRepMultiError) AllErrors added in v0.0.48

func (m PageListRegionRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListRegionRepMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListRegionRepValidationError added in v0.0.48

type PageListRegionRepValidationError struct {
	// contains filtered or unexported fields
}

PageListRegionRepValidationError is the validation error returned by PageListRegionRep.Validate if the designated constraints aren't met.

func (PageListRegionRepValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListRegionRepValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListRegionRepValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListRegionRepValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListRegionRepValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListRegionRepValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListRegionReq added in v0.0.48

type PageListRegionReq struct {

	// 页数
	Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	// 每页数量
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 区域名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListRegionReq) Descriptor deprecated added in v0.0.48

func (*PageListRegionReq) Descriptor() ([]byte, []int)

Deprecated: Use PageListRegionReq.ProtoReflect.Descriptor instead.

func (*PageListRegionReq) GetName added in v0.0.48

func (x *PageListRegionReq) GetName() string

func (*PageListRegionReq) GetPage added in v0.0.48

func (x *PageListRegionReq) GetPage() uint64

func (*PageListRegionReq) GetPageSize added in v0.0.48

func (x *PageListRegionReq) GetPageSize() uint64

func (*PageListRegionReq) ProtoMessage added in v0.0.48

func (*PageListRegionReq) ProtoMessage()

func (*PageListRegionReq) ProtoReflect added in v0.0.48

func (x *PageListRegionReq) ProtoReflect() protoreflect.Message

func (*PageListRegionReq) Reset added in v0.0.48

func (x *PageListRegionReq) Reset()

func (*PageListRegionReq) String added in v0.0.48

func (x *PageListRegionReq) String() string

func (*PageListRegionReq) Validate added in v0.0.48

func (m *PageListRegionReq) Validate() error

Validate checks the field values on PageListRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListRegionReq) ValidateAll added in v0.0.48

func (m *PageListRegionReq) ValidateAll() error

ValidateAll checks the field values on PageListRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListRegionReqMultiError, or nil if none found.

type PageListRegionReqMultiError added in v0.0.48

type PageListRegionReqMultiError []error

PageListRegionReqMultiError is an error wrapping multiple validation errors returned by PageListRegionReq.ValidateAll() if the designated constraints aren't met.

func (PageListRegionReqMultiError) AllErrors added in v0.0.48

func (m PageListRegionReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListRegionReqMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type PageListRegionReqValidationError added in v0.0.48

type PageListRegionReqValidationError struct {
	// contains filtered or unexported fields
}

PageListRegionReqValidationError is the validation error returned by PageListRegionReq.Validate if the designated constraints aren't met.

func (PageListRegionReqValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (PageListRegionReqValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (PageListRegionReqValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (PageListRegionReqValidationError) Field added in v0.0.48

Field function returns field value.

func (PageListRegionReqValidationError) Key added in v0.0.48

Key function returns key value.

func (PageListRegionReqValidationError) Reason added in v0.0.48

Reason function returns reason value.

type PageListTerminalRep

type PageListTerminalRep struct {

	// 总记录数
	Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// 列表
	List []*Terminal `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListTerminalRep) Descriptor deprecated

func (*PageListTerminalRep) Descriptor() ([]byte, []int)

Deprecated: Use PageListTerminalRep.ProtoReflect.Descriptor instead.

func (*PageListTerminalRep) GetList

func (x *PageListTerminalRep) GetList() []*Terminal

func (*PageListTerminalRep) GetTotal

func (x *PageListTerminalRep) GetTotal() uint64

func (*PageListTerminalRep) ProtoMessage

func (*PageListTerminalRep) ProtoMessage()

func (*PageListTerminalRep) ProtoReflect

func (x *PageListTerminalRep) ProtoReflect() protoreflect.Message

func (*PageListTerminalRep) Reset

func (x *PageListTerminalRep) Reset()

func (*PageListTerminalRep) String

func (x *PageListTerminalRep) String() string

func (*PageListTerminalRep) Validate

func (m *PageListTerminalRep) Validate() error

Validate checks the field values on PageListTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListTerminalRep) ValidateAll

func (m *PageListTerminalRep) ValidateAll() error

ValidateAll checks the field values on PageListTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListTerminalRepMultiError, or nil if none found.

type PageListTerminalRepMultiError

type PageListTerminalRepMultiError []error

PageListTerminalRepMultiError is an error wrapping multiple validation errors returned by PageListTerminalRep.ValidateAll() if the designated constraints aren't met.

func (PageListTerminalRepMultiError) AllErrors

func (m PageListTerminalRepMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListTerminalRepMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PageListTerminalRepValidationError

type PageListTerminalRepValidationError struct {
	// contains filtered or unexported fields
}

PageListTerminalRepValidationError is the validation error returned by PageListTerminalRep.Validate if the designated constraints aren't met.

func (PageListTerminalRepValidationError) Cause

Cause function returns cause value.

func (PageListTerminalRepValidationError) Error

Error satisfies the builtin error interface

func (PageListTerminalRepValidationError) ErrorName

ErrorName returns error name.

func (PageListTerminalRepValidationError) Field

Field function returns field value.

func (PageListTerminalRepValidationError) Key

Key function returns key value.

func (PageListTerminalRepValidationError) Reason

Reason function returns reason value.

type PageListTerminalReq

type PageListTerminalReq struct {

	// 页码
	Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	// 页记录数
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 用户名
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PageListTerminalReq) Descriptor deprecated

func (*PageListTerminalReq) Descriptor() ([]byte, []int)

Deprecated: Use PageListTerminalReq.ProtoReflect.Descriptor instead.

func (*PageListTerminalReq) GetName

func (x *PageListTerminalReq) GetName() string

func (*PageListTerminalReq) GetPage

func (x *PageListTerminalReq) GetPage() uint64

func (*PageListTerminalReq) GetPageSize

func (x *PageListTerminalReq) GetPageSize() uint64

func (*PageListTerminalReq) ProtoMessage

func (*PageListTerminalReq) ProtoMessage()

func (*PageListTerminalReq) ProtoReflect

func (x *PageListTerminalReq) ProtoReflect() protoreflect.Message

func (*PageListTerminalReq) Reset

func (x *PageListTerminalReq) Reset()

func (*PageListTerminalReq) String

func (x *PageListTerminalReq) String() string

func (*PageListTerminalReq) Validate

func (m *PageListTerminalReq) Validate() error

Validate checks the field values on PageListTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageListTerminalReq) ValidateAll

func (m *PageListTerminalReq) ValidateAll() error

ValidateAll checks the field values on PageListTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListTerminalReqMultiError, or nil if none found.

type PageListTerminalReqMultiError

type PageListTerminalReqMultiError []error

PageListTerminalReqMultiError is an error wrapping multiple validation errors returned by PageListTerminalReq.ValidateAll() if the designated constraints aren't met.

func (PageListTerminalReqMultiError) AllErrors

func (m PageListTerminalReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageListTerminalReqMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PageListTerminalReqValidationError

type PageListTerminalReqValidationError struct {
	// contains filtered or unexported fields
}

PageListTerminalReqValidationError is the validation error returned by PageListTerminalReq.Validate if the designated constraints aren't met.

func (PageListTerminalReqValidationError) Cause

Cause function returns cause value.

func (PageListTerminalReqValidationError) Error

Error satisfies the builtin error interface

func (PageListTerminalReqValidationError) ErrorName

ErrorName returns error name.

func (PageListTerminalReqValidationError) Field

Field function returns field value.

func (PageListTerminalReqValidationError) Key

Key function returns key value.

func (PageListTerminalReqValidationError) Reason

Reason function returns reason value.

type ProductClient

type ProductClient interface {
	// 创建终端
	CreateTerminal(ctx context.Context, in *CreateTerminalReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 编辑终端
	EditTerminal(ctx context.Context, in *EditTerminalReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 删除终端
	DelTerminal(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 获取终端列表
	ListTerminal(ctx context.Context, in *Terminal, opts ...grpc.CallOption) (*ListTerminalRep, error)
	// 分页获取终端列表
	PageListTerminal(ctx context.Context, in *PageListTerminalReq, opts ...grpc.CallOption) (*PageListTerminalRep, error)
	// 查询单条终端信息
	GetTerminal(ctx context.Context, in *Terminal, opts ...grpc.CallOption) (*Terminal, error)
	// 创建产品类型
	CreateKind(ctx context.Context, in *CreateKindReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 编辑产品类型
	EditKind(ctx context.Context, in *EditKindReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 删除产品类型
	DelKind(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 获取产品类型列表
	ListKind(ctx context.Context, in *Kind, opts ...grpc.CallOption) (*ListKindRep, error)
	// 分页获取产品类型列表
	PageListKind(ctx context.Context, in *PageListKindReq, opts ...grpc.CallOption) (*PageListKindRep, error)
	// 查询单条产品类型
	GetKind(ctx context.Context, in *Kind, opts ...grpc.CallOption) (*Kind, error)
	// 创建产品
	CreateProduct(ctx context.Context, in *CreateProductReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 编辑产品
	EditProduct(ctx context.Context, in *EditProductReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 删除产品
	DelProduct(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 获取产品类型列表
	ListProduct(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*ListProductRep, error)
	// 分页获取产品类型列表
	PageListProduct(ctx context.Context, in *PageListProductReq, opts ...grpc.CallOption) (*PageListProductRep, error)
	// 查询单条产品类型
	GetProduct(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*ProductInfo, error)
	// 创建产品分类
	CreateCategory(ctx context.Context, in *CreateCategoryReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 编辑产品分类
	EditCategory(ctx context.Context, in *EditCategoryReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 删除产品分类
	DelCategory(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 获取产品分类列表
	ListCategory(ctx context.Context, in *CategoryInfo, opts ...grpc.CallOption) (*ListCategoryRep, error)
	// 分页获取产品分类列表
	PageListCategory(ctx context.Context, in *PageListCategoryReq, opts ...grpc.CallOption) (*PageListCategoryRep, error)
	// 查询单条产品分类
	GetCategory(ctx context.Context, in *CategoryInfo, opts ...grpc.CallOption) (*CategoryInfo, error)
	// 创建区域
	CreateRegion(ctx context.Context, in *CreateRegionReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 编辑区域
	EditRegion(ctx context.Context, in *EditRegionReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 删除区域
	DelRegion(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 获取区域列表
	ListRegion(ctx context.Context, in *RegionInfo, opts ...grpc.CallOption) (*ListRegionRep, error)
	// 分页获取区域列表
	PageListRegion(ctx context.Context, in *PageListRegionReq, opts ...grpc.CallOption) (*PageListRegionRep, error)
	// 查询单条区域
	GetRegion(ctx context.Context, in *RegionInfo, opts ...grpc.CallOption) (*RegionInfo, error)
	// 创建产品详情
	CreateProductInfo(ctx context.Context, in *CreateProductInfoReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 编辑产品详情
	EditProductInfo(ctx context.Context, in *EditProductInfoReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 删除产品详情
	DelProductInfo(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 获取产品详情列表
	ListProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...grpc.CallOption) (*ListProductInfoRep, error)
	// 分页获取产品详情列表
	PageListProductInfo(ctx context.Context, in *PageListProductInfoReq, opts ...grpc.CallOption) (*PageListProductInfoRep, error)
	// 获取单挑产品详情
	GetProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...grpc.CallOption) (*ProductInfoInfo, error)
	// 添加产品终端
	CreateProductTerminal(ctx context.Context, in *CreateProductTerminalReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 编辑产品终端
	EditProductTerminal(ctx context.Context, in *EditProductTerminalReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 删除产品终端
	DelProductTerminal(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 获取产品终端列表
	ListProductTerminal(ctx context.Context, in *ProductTerminalInfo, opts ...grpc.CallOption) (*ListProductTerminalInfoRep, error)
	// 分页获取产品终端列表
	PageProductTerminal(ctx context.Context, in *PageListProductTerminalReq, opts ...grpc.CallOption) (*PageListProductTerminalRep, error)
	// 获取单挑产品终端
	GetProductTerminalInfo(ctx context.Context, in *ProductTerminalInfo, opts ...grpc.CallOption) (*ProductTerminalInfo, error)
	// 创建产品属性
	CreateAttribute(ctx context.Context, in *CreateAttributeReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 编辑产品属性
	EditAttribute(ctx context.Context, in *EditAttributeReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 删除产品属性
	DelAttribute(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error)
	// 获取产品属性列表
	ListAttribute(ctx context.Context, in *Attribute, opts ...grpc.CallOption) (*ListAttributeRep, error)
	// 分页获取产品属性列表
	PageListAttribute(ctx context.Context, in *PageListAttributeReq, opts ...grpc.CallOption) (*PageListAttributeRep, error)
	// 查询单条产品属性
	GetAttribute(ctx context.Context, in *Attribute, opts ...grpc.CallOption) (*Attribute, error)
}

ProductClient is the client API for Product 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 NewProductClient

func NewProductClient(cc grpc.ClientConnInterface) ProductClient

type ProductHTTPClient

type ProductHTTPClient interface {
	CreateAttribute(ctx context.Context, req *CreateAttributeReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	CreateCategory(ctx context.Context, req *CreateCategoryReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	CreateKind(ctx context.Context, req *CreateKindReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	CreateProduct(ctx context.Context, req *CreateProductReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	CreateProductInfo(ctx context.Context, req *CreateProductInfoReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	CreateProductTerminal(ctx context.Context, req *CreateProductTerminalReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	CreateRegion(ctx context.Context, req *CreateRegionReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	CreateTerminal(ctx context.Context, req *CreateTerminalReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	DelAttribute(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	DelCategory(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	DelKind(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	DelProduct(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	DelProductInfo(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	DelProductTerminal(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	DelRegion(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	DelTerminal(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	EditAttribute(ctx context.Context, req *EditAttributeReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	EditCategory(ctx context.Context, req *EditCategoryReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	EditKind(ctx context.Context, req *EditKindReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	EditProduct(ctx context.Context, req *EditProductReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	EditProductInfo(ctx context.Context, req *EditProductInfoReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	EditProductTerminal(ctx context.Context, req *EditProductTerminalReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	EditRegion(ctx context.Context, req *EditRegionReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	EditTerminal(ctx context.Context, req *EditTerminalReq, opts ...http.CallOption) (rsp *ProductStatus, err error)
	GetAttribute(ctx context.Context, req *Attribute, opts ...http.CallOption) (rsp *Attribute, err error)
	GetCategory(ctx context.Context, req *CategoryInfo, opts ...http.CallOption) (rsp *CategoryInfo, err error)
	GetKind(ctx context.Context, req *Kind, opts ...http.CallOption) (rsp *Kind, err error)
	GetProduct(ctx context.Context, req *ProductInfo, opts ...http.CallOption) (rsp *ProductInfo, err error)
	GetProductInfo(ctx context.Context, req *ProductInfoInfo, opts ...http.CallOption) (rsp *ProductInfoInfo, err error)
	GetProductTerminalInfo(ctx context.Context, req *ProductTerminalInfo, opts ...http.CallOption) (rsp *ProductTerminalInfo, err error)
	GetRegion(ctx context.Context, req *RegionInfo, opts ...http.CallOption) (rsp *RegionInfo, err error)
	GetTerminal(ctx context.Context, req *Terminal, opts ...http.CallOption) (rsp *Terminal, err error)
	ListAttribute(ctx context.Context, req *Attribute, opts ...http.CallOption) (rsp *ListAttributeRep, err error)
	ListCategory(ctx context.Context, req *CategoryInfo, opts ...http.CallOption) (rsp *ListCategoryRep, err error)
	ListKind(ctx context.Context, req *Kind, opts ...http.CallOption) (rsp *ListKindRep, err error)
	ListProduct(ctx context.Context, req *ProductInfo, opts ...http.CallOption) (rsp *ListProductRep, err error)
	ListProductInfo(ctx context.Context, req *ProductInfoInfo, opts ...http.CallOption) (rsp *ListProductInfoRep, err error)
	ListProductTerminal(ctx context.Context, req *ProductTerminalInfo, opts ...http.CallOption) (rsp *ListProductTerminalInfoRep, err error)
	ListRegion(ctx context.Context, req *RegionInfo, opts ...http.CallOption) (rsp *ListRegionRep, err error)
	ListTerminal(ctx context.Context, req *Terminal, opts ...http.CallOption) (rsp *ListTerminalRep, err error)
	PageListAttribute(ctx context.Context, req *PageListAttributeReq, opts ...http.CallOption) (rsp *PageListAttributeRep, err error)
	PageListCategory(ctx context.Context, req *PageListCategoryReq, opts ...http.CallOption) (rsp *PageListCategoryRep, err error)
	PageListKind(ctx context.Context, req *PageListKindReq, opts ...http.CallOption) (rsp *PageListKindRep, err error)
	PageListProduct(ctx context.Context, req *PageListProductReq, opts ...http.CallOption) (rsp *PageListProductRep, err error)
	PageListProductInfo(ctx context.Context, req *PageListProductInfoReq, opts ...http.CallOption) (rsp *PageListProductInfoRep, err error)
	PageListRegion(ctx context.Context, req *PageListRegionReq, opts ...http.CallOption) (rsp *PageListRegionRep, err error)
	PageListTerminal(ctx context.Context, req *PageListTerminalReq, opts ...http.CallOption) (rsp *PageListTerminalRep, err error)
	PageProductTerminal(ctx context.Context, req *PageListProductTerminalReq, opts ...http.CallOption) (rsp *PageListProductTerminalRep, err error)
}

func NewProductHTTPClient

func NewProductHTTPClient(client *http.Client) ProductHTTPClient

type ProductHTTPClientImpl

type ProductHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*ProductHTTPClientImpl) CreateAttribute added in v0.0.64

func (c *ProductHTTPClientImpl) CreateAttribute(ctx context.Context, in *CreateAttributeReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) CreateCategory added in v0.0.48

func (c *ProductHTTPClientImpl) CreateCategory(ctx context.Context, in *CreateCategoryReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) CreateKind

func (*ProductHTTPClientImpl) CreateProduct

func (c *ProductHTTPClientImpl) CreateProduct(ctx context.Context, in *CreateProductReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) CreateProductInfo added in v0.0.48

func (c *ProductHTTPClientImpl) CreateProductInfo(ctx context.Context, in *CreateProductInfoReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) CreateProductTerminal added in v0.0.48

func (c *ProductHTTPClientImpl) CreateProductTerminal(ctx context.Context, in *CreateProductTerminalReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) CreateRegion added in v0.0.48

func (c *ProductHTTPClientImpl) CreateRegion(ctx context.Context, in *CreateRegionReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) CreateTerminal

func (c *ProductHTTPClientImpl) CreateTerminal(ctx context.Context, in *CreateTerminalReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) DelAttribute added in v0.0.64

func (c *ProductHTTPClientImpl) DelAttribute(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) DelCategory added in v0.0.48

func (c *ProductHTTPClientImpl) DelCategory(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) DelKind

func (c *ProductHTTPClientImpl) DelKind(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) DelProduct

func (c *ProductHTTPClientImpl) DelProduct(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) DelProductInfo added in v0.0.48

func (c *ProductHTTPClientImpl) DelProductInfo(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) DelProductTerminal added in v0.0.48

func (c *ProductHTTPClientImpl) DelProductTerminal(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) DelRegion added in v0.0.48

func (c *ProductHTTPClientImpl) DelRegion(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) DelTerminal

func (c *ProductHTTPClientImpl) DelTerminal(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) EditAttribute added in v0.0.64

func (c *ProductHTTPClientImpl) EditAttribute(ctx context.Context, in *EditAttributeReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) EditCategory added in v0.0.48

func (c *ProductHTTPClientImpl) EditCategory(ctx context.Context, in *EditCategoryReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) EditKind

func (*ProductHTTPClientImpl) EditProduct

func (c *ProductHTTPClientImpl) EditProduct(ctx context.Context, in *EditProductReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) EditProductInfo added in v0.0.48

func (c *ProductHTTPClientImpl) EditProductInfo(ctx context.Context, in *EditProductInfoReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) EditProductTerminal added in v0.0.48

func (c *ProductHTTPClientImpl) EditProductTerminal(ctx context.Context, in *EditProductTerminalReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) EditRegion added in v0.0.48

func (*ProductHTTPClientImpl) EditTerminal

func (c *ProductHTTPClientImpl) EditTerminal(ctx context.Context, in *EditTerminalReq, opts ...http.CallOption) (*ProductStatus, error)

func (*ProductHTTPClientImpl) GetAttribute added in v0.0.64

func (c *ProductHTTPClientImpl) GetAttribute(ctx context.Context, in *Attribute, opts ...http.CallOption) (*Attribute, error)

func (*ProductHTTPClientImpl) GetCategory added in v0.0.48

func (c *ProductHTTPClientImpl) GetCategory(ctx context.Context, in *CategoryInfo, opts ...http.CallOption) (*CategoryInfo, error)

func (*ProductHTTPClientImpl) GetKind

func (c *ProductHTTPClientImpl) GetKind(ctx context.Context, in *Kind, opts ...http.CallOption) (*Kind, error)

func (*ProductHTTPClientImpl) GetProduct added in v0.0.48

func (c *ProductHTTPClientImpl) GetProduct(ctx context.Context, in *ProductInfo, opts ...http.CallOption) (*ProductInfo, error)

func (*ProductHTTPClientImpl) GetProductInfo added in v0.0.48

func (c *ProductHTTPClientImpl) GetProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...http.CallOption) (*ProductInfoInfo, error)

func (*ProductHTTPClientImpl) GetProductTerminalInfo added in v0.0.48

func (c *ProductHTTPClientImpl) GetProductTerminalInfo(ctx context.Context, in *ProductTerminalInfo, opts ...http.CallOption) (*ProductTerminalInfo, error)

func (*ProductHTTPClientImpl) GetRegion added in v0.0.48

func (c *ProductHTTPClientImpl) GetRegion(ctx context.Context, in *RegionInfo, opts ...http.CallOption) (*RegionInfo, error)

func (*ProductHTTPClientImpl) GetTerminal

func (c *ProductHTTPClientImpl) GetTerminal(ctx context.Context, in *Terminal, opts ...http.CallOption) (*Terminal, error)

func (*ProductHTTPClientImpl) ListAttribute added in v0.0.64

func (c *ProductHTTPClientImpl) ListAttribute(ctx context.Context, in *Attribute, opts ...http.CallOption) (*ListAttributeRep, error)

func (*ProductHTTPClientImpl) ListCategory added in v0.0.48

func (c *ProductHTTPClientImpl) ListCategory(ctx context.Context, in *CategoryInfo, opts ...http.CallOption) (*ListCategoryRep, error)

func (*ProductHTTPClientImpl) ListKind

func (c *ProductHTTPClientImpl) ListKind(ctx context.Context, in *Kind, opts ...http.CallOption) (*ListKindRep, error)

func (*ProductHTTPClientImpl) ListProduct

func (c *ProductHTTPClientImpl) ListProduct(ctx context.Context, in *ProductInfo, opts ...http.CallOption) (*ListProductRep, error)

func (*ProductHTTPClientImpl) ListProductInfo added in v0.0.48

func (c *ProductHTTPClientImpl) ListProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...http.CallOption) (*ListProductInfoRep, error)

func (*ProductHTTPClientImpl) ListProductTerminal added in v0.0.48

func (*ProductHTTPClientImpl) ListRegion added in v0.0.48

func (c *ProductHTTPClientImpl) ListRegion(ctx context.Context, in *RegionInfo, opts ...http.CallOption) (*ListRegionRep, error)

func (*ProductHTTPClientImpl) ListTerminal

func (c *ProductHTTPClientImpl) ListTerminal(ctx context.Context, in *Terminal, opts ...http.CallOption) (*ListTerminalRep, error)

func (*ProductHTTPClientImpl) PageListAttribute added in v0.0.64

func (*ProductHTTPClientImpl) PageListCategory added in v0.0.48

func (*ProductHTTPClientImpl) PageListKind

func (*ProductHTTPClientImpl) PageListProduct added in v0.0.48

func (*ProductHTTPClientImpl) PageListProductInfo added in v0.0.48

func (*ProductHTTPClientImpl) PageListRegion added in v0.0.48

func (*ProductHTTPClientImpl) PageListTerminal

func (*ProductHTTPClientImpl) PageProductTerminal added in v0.0.48

type ProductHTTPServer

type ProductHTTPServer interface {
	// CreateAttribute 创建产品属性
	CreateAttribute(context.Context, *CreateAttributeReq) (*ProductStatus, error)
	// CreateCategory 创建产品分类
	CreateCategory(context.Context, *CreateCategoryReq) (*ProductStatus, error)
	// CreateKind 创建产品类型
	CreateKind(context.Context, *CreateKindReq) (*ProductStatus, error)
	// CreateProduct 创建产品
	CreateProduct(context.Context, *CreateProductReq) (*ProductStatus, error)
	// CreateProductInfo 创建产品详情
	CreateProductInfo(context.Context, *CreateProductInfoReq) (*ProductStatus, error)
	// CreateProductTerminal 添加产品终端
	CreateProductTerminal(context.Context, *CreateProductTerminalReq) (*ProductStatus, error)
	// CreateRegion 创建区域
	CreateRegion(context.Context, *CreateRegionReq) (*ProductStatus, error)
	// CreateTerminal 创建终端
	CreateTerminal(context.Context, *CreateTerminalReq) (*ProductStatus, error)
	// DelAttribute 删除产品属性
	DelAttribute(context.Context, *DelIdReq) (*ProductStatus, error)
	// DelCategory 删除产品分类
	DelCategory(context.Context, *DelIdReq) (*ProductStatus, error)
	// DelKind 删除产品类型
	DelKind(context.Context, *DelIdReq) (*ProductStatus, error)
	// DelProduct 删除产品
	DelProduct(context.Context, *DelIdReq) (*ProductStatus, error)
	// DelProductInfo 删除产品详情
	DelProductInfo(context.Context, *DelIdReq) (*ProductStatus, error)
	// DelProductTerminal 删除产品终端
	DelProductTerminal(context.Context, *DelIdReq) (*ProductStatus, error)
	// DelRegion 删除区域
	DelRegion(context.Context, *DelIdReq) (*ProductStatus, error)
	// DelTerminal 删除终端
	DelTerminal(context.Context, *DelIdReq) (*ProductStatus, error)
	// EditAttribute 编辑产品属性
	EditAttribute(context.Context, *EditAttributeReq) (*ProductStatus, error)
	// EditCategory 编辑产品分类
	EditCategory(context.Context, *EditCategoryReq) (*ProductStatus, error)
	// EditKind 编辑产品类型
	EditKind(context.Context, *EditKindReq) (*ProductStatus, error)
	// EditProduct 编辑产品
	EditProduct(context.Context, *EditProductReq) (*ProductStatus, error)
	// EditProductInfo 编辑产品详情
	EditProductInfo(context.Context, *EditProductInfoReq) (*ProductStatus, error)
	// EditProductTerminal 编辑产品终端
	EditProductTerminal(context.Context, *EditProductTerminalReq) (*ProductStatus, error)
	// EditRegion 编辑区域
	EditRegion(context.Context, *EditRegionReq) (*ProductStatus, error)
	// EditTerminal 编辑终端
	EditTerminal(context.Context, *EditTerminalReq) (*ProductStatus, error)
	// GetAttribute 查询单条产品属性
	GetAttribute(context.Context, *Attribute) (*Attribute, error)
	// GetCategory 查询单条产品分类
	GetCategory(context.Context, *CategoryInfo) (*CategoryInfo, error)
	// GetKind 查询单条产品类型
	GetKind(context.Context, *Kind) (*Kind, error)
	// GetProduct 查询单条产品类型
	GetProduct(context.Context, *ProductInfo) (*ProductInfo, error)
	// GetProductInfo 获取单挑产品详情
	GetProductInfo(context.Context, *ProductInfoInfo) (*ProductInfoInfo, error)
	// GetProductTerminalInfo 获取单挑产品终端
	GetProductTerminalInfo(context.Context, *ProductTerminalInfo) (*ProductTerminalInfo, error)
	// GetRegion 查询单条区域
	GetRegion(context.Context, *RegionInfo) (*RegionInfo, error)
	// GetTerminal 查询单条终端信息
	GetTerminal(context.Context, *Terminal) (*Terminal, error)
	// ListAttribute 获取产品属性列表
	ListAttribute(context.Context, *Attribute) (*ListAttributeRep, error)
	// ListCategory 获取产品分类列表
	ListCategory(context.Context, *CategoryInfo) (*ListCategoryRep, error)
	// ListKind 获取产品类型列表
	ListKind(context.Context, *Kind) (*ListKindRep, error)
	// ListProduct 获取产品类型列表
	ListProduct(context.Context, *ProductInfo) (*ListProductRep, error)
	// ListProductInfo 获取产品详情列表
	ListProductInfo(context.Context, *ProductInfoInfo) (*ListProductInfoRep, error)
	// ListProductTerminal 获取产品终端列表
	ListProductTerminal(context.Context, *ProductTerminalInfo) (*ListProductTerminalInfoRep, error)
	// ListRegion 获取区域列表
	ListRegion(context.Context, *RegionInfo) (*ListRegionRep, error)
	// ListTerminal 获取终端列表
	ListTerminal(context.Context, *Terminal) (*ListTerminalRep, error)
	// PageListAttribute 分页获取产品属性列表
	PageListAttribute(context.Context, *PageListAttributeReq) (*PageListAttributeRep, error)
	// PageListCategory 分页获取产品分类列表
	PageListCategory(context.Context, *PageListCategoryReq) (*PageListCategoryRep, error)
	// PageListKind 分页获取产品类型列表
	PageListKind(context.Context, *PageListKindReq) (*PageListKindRep, error)
	// PageListProduct 分页获取产品类型列表
	PageListProduct(context.Context, *PageListProductReq) (*PageListProductRep, error)
	// PageListProductInfo 分页获取产品详情列表
	PageListProductInfo(context.Context, *PageListProductInfoReq) (*PageListProductInfoRep, error)
	// PageListRegion 分页获取区域列表
	PageListRegion(context.Context, *PageListRegionReq) (*PageListRegionRep, error)
	// PageListTerminal 分页获取终端列表
	PageListTerminal(context.Context, *PageListTerminalReq) (*PageListTerminalRep, error)
	// PageProductTerminal 分页获取产品终端列表
	PageProductTerminal(context.Context, *PageListProductTerminalReq) (*PageListProductTerminalRep, error)
}

type ProductInfo

type ProductInfo struct {

	// 逐渐
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品类型Id
	KindId uint64 `protobuf:"varint,2,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"`
	// 产品名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// 关键词
	Keywords string `protobuf:"bytes,4,opt,name=keywords,proto3" json:"keywords,omitempty"`
	// 简介
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// 创建时间
	CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// 最后编辑时间
	UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// 最后删除时间
	DeletedAt string `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductInfo) Descriptor deprecated

func (*ProductInfo) Descriptor() ([]byte, []int)

Deprecated: Use ProductInfo.ProtoReflect.Descriptor instead.

func (*ProductInfo) GetCreatedAt

func (x *ProductInfo) GetCreatedAt() string

func (*ProductInfo) GetDeletedAt

func (x *ProductInfo) GetDeletedAt() string

func (*ProductInfo) GetDescription

func (x *ProductInfo) GetDescription() string

func (*ProductInfo) GetId

func (x *ProductInfo) GetId() uint64

func (*ProductInfo) GetKeywords

func (x *ProductInfo) GetKeywords() string

func (*ProductInfo) GetKindId

func (x *ProductInfo) GetKindId() uint64

func (*ProductInfo) GetName

func (x *ProductInfo) GetName() string

func (*ProductInfo) GetUpdatedAt

func (x *ProductInfo) GetUpdatedAt() string

func (*ProductInfo) ProtoMessage

func (*ProductInfo) ProtoMessage()

func (*ProductInfo) ProtoReflect

func (x *ProductInfo) ProtoReflect() protoreflect.Message

func (*ProductInfo) Reset

func (x *ProductInfo) Reset()

func (*ProductInfo) String

func (x *ProductInfo) String() string

func (*ProductInfo) Validate

func (m *ProductInfo) Validate() error

Validate checks the field values on ProductInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProductInfo) ValidateAll

func (m *ProductInfo) ValidateAll() error

ValidateAll checks the field values on ProductInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProductInfoMultiError, or nil if none found.

type ProductInfoInfo added in v0.0.48

type ProductInfoInfo struct {

	// 产品详情ID
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 产品类型ID
	KindId uint64 `protobuf:"varint,3,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"`
	// 产品分类
	CategoryId uint64 `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
	// 产品图片
	Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img,omitempty"`
	// 产品关键字
	Keywords string `protobuf:"bytes,6,opt,name=keywords,proto3" json:"keywords,omitempty"`
	// 产品简介
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// 自定义Url路径
	Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"`
	// 产品数量
	Num uint64 `protobuf:"varint,9,opt,name=num,proto3" json:"num,omitempty"`
	// 控制类型
	Control uint64 `protobuf:"varint,10,opt,name=control,proto3" json:"control,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductInfoInfo) Descriptor deprecated added in v0.0.48

func (*ProductInfoInfo) Descriptor() ([]byte, []int)

Deprecated: Use ProductInfoInfo.ProtoReflect.Descriptor instead.

func (*ProductInfoInfo) GetCategoryId added in v0.0.48

func (x *ProductInfoInfo) GetCategoryId() uint64

func (*ProductInfoInfo) GetControl added in v0.0.48

func (x *ProductInfoInfo) GetControl() uint64

func (*ProductInfoInfo) GetDescription added in v0.0.48

func (x *ProductInfoInfo) GetDescription() string

func (*ProductInfoInfo) GetId added in v0.0.48

func (x *ProductInfoInfo) GetId() uint64

func (*ProductInfoInfo) GetImg added in v0.0.48

func (x *ProductInfoInfo) GetImg() string

func (*ProductInfoInfo) GetKeywords added in v0.0.48

func (x *ProductInfoInfo) GetKeywords() string

func (*ProductInfoInfo) GetKindId added in v0.0.48

func (x *ProductInfoInfo) GetKindId() uint64

func (*ProductInfoInfo) GetNum added in v0.0.48

func (x *ProductInfoInfo) GetNum() uint64

func (*ProductInfoInfo) GetPath added in v0.0.48

func (x *ProductInfoInfo) GetPath() string

func (*ProductInfoInfo) GetProductId added in v0.0.48

func (x *ProductInfoInfo) GetProductId() uint64

func (*ProductInfoInfo) GetSort added in v0.0.48

func (x *ProductInfoInfo) GetSort() uint64

func (*ProductInfoInfo) ProtoMessage added in v0.0.48

func (*ProductInfoInfo) ProtoMessage()

func (*ProductInfoInfo) ProtoReflect added in v0.0.48

func (x *ProductInfoInfo) ProtoReflect() protoreflect.Message

func (*ProductInfoInfo) Reset added in v0.0.48

func (x *ProductInfoInfo) Reset()

func (*ProductInfoInfo) String added in v0.0.48

func (x *ProductInfoInfo) String() string

func (*ProductInfoInfo) Validate added in v0.0.48

func (m *ProductInfoInfo) Validate() error

Validate checks the field values on ProductInfoInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProductInfoInfo) ValidateAll added in v0.0.48

func (m *ProductInfoInfo) ValidateAll() error

ValidateAll checks the field values on ProductInfoInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProductInfoInfoMultiError, or nil if none found.

type ProductInfoInfoMultiError added in v0.0.48

type ProductInfoInfoMultiError []error

ProductInfoInfoMultiError is an error wrapping multiple validation errors returned by ProductInfoInfo.ValidateAll() if the designated constraints aren't met.

func (ProductInfoInfoMultiError) AllErrors added in v0.0.48

func (m ProductInfoInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProductInfoInfoMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type ProductInfoInfoValidationError added in v0.0.48

type ProductInfoInfoValidationError struct {
	// contains filtered or unexported fields
}

ProductInfoInfoValidationError is the validation error returned by ProductInfoInfo.Validate if the designated constraints aren't met.

func (ProductInfoInfoValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (ProductInfoInfoValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (ProductInfoInfoValidationError) ErrorName added in v0.0.48

func (e ProductInfoInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ProductInfoInfoValidationError) Field added in v0.0.48

Field function returns field value.

func (ProductInfoInfoValidationError) Key added in v0.0.48

Key function returns key value.

func (ProductInfoInfoValidationError) Reason added in v0.0.48

Reason function returns reason value.

type ProductInfoMultiError

type ProductInfoMultiError []error

ProductInfoMultiError is an error wrapping multiple validation errors returned by ProductInfo.ValidateAll() if the designated constraints aren't met.

func (ProductInfoMultiError) AllErrors

func (m ProductInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProductInfoMultiError) Error

func (m ProductInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ProductInfoValidationError

type ProductInfoValidationError struct {
	// contains filtered or unexported fields
}

ProductInfoValidationError is the validation error returned by ProductInfo.Validate if the designated constraints aren't met.

func (ProductInfoValidationError) Cause

Cause function returns cause value.

func (ProductInfoValidationError) Error

Error satisfies the builtin error interface

func (ProductInfoValidationError) ErrorName

func (e ProductInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ProductInfoValidationError) Field

Field function returns field value.

func (ProductInfoValidationError) Key

Key function returns key value.

func (ProductInfoValidationError) Reason

Reason function returns reason value.

type ProductServer

type ProductServer interface {
	// 创建终端
	CreateTerminal(context.Context, *CreateTerminalReq) (*ProductStatus, error)
	// 编辑终端
	EditTerminal(context.Context, *EditTerminalReq) (*ProductStatus, error)
	// 删除终端
	DelTerminal(context.Context, *DelIdReq) (*ProductStatus, error)
	// 获取终端列表
	ListTerminal(context.Context, *Terminal) (*ListTerminalRep, error)
	// 分页获取终端列表
	PageListTerminal(context.Context, *PageListTerminalReq) (*PageListTerminalRep, error)
	// 查询单条终端信息
	GetTerminal(context.Context, *Terminal) (*Terminal, error)
	// 创建产品类型
	CreateKind(context.Context, *CreateKindReq) (*ProductStatus, error)
	// 编辑产品类型
	EditKind(context.Context, *EditKindReq) (*ProductStatus, error)
	// 删除产品类型
	DelKind(context.Context, *DelIdReq) (*ProductStatus, error)
	// 获取产品类型列表
	ListKind(context.Context, *Kind) (*ListKindRep, error)
	// 分页获取产品类型列表
	PageListKind(context.Context, *PageListKindReq) (*PageListKindRep, error)
	// 查询单条产品类型
	GetKind(context.Context, *Kind) (*Kind, error)
	// 创建产品
	CreateProduct(context.Context, *CreateProductReq) (*ProductStatus, error)
	// 编辑产品
	EditProduct(context.Context, *EditProductReq) (*ProductStatus, error)
	// 删除产品
	DelProduct(context.Context, *DelIdReq) (*ProductStatus, error)
	// 获取产品类型列表
	ListProduct(context.Context, *ProductInfo) (*ListProductRep, error)
	// 分页获取产品类型列表
	PageListProduct(context.Context, *PageListProductReq) (*PageListProductRep, error)
	// 查询单条产品类型
	GetProduct(context.Context, *ProductInfo) (*ProductInfo, error)
	// 创建产品分类
	CreateCategory(context.Context, *CreateCategoryReq) (*ProductStatus, error)
	// 编辑产品分类
	EditCategory(context.Context, *EditCategoryReq) (*ProductStatus, error)
	// 删除产品分类
	DelCategory(context.Context, *DelIdReq) (*ProductStatus, error)
	// 获取产品分类列表
	ListCategory(context.Context, *CategoryInfo) (*ListCategoryRep, error)
	// 分页获取产品分类列表
	PageListCategory(context.Context, *PageListCategoryReq) (*PageListCategoryRep, error)
	// 查询单条产品分类
	GetCategory(context.Context, *CategoryInfo) (*CategoryInfo, error)
	// 创建区域
	CreateRegion(context.Context, *CreateRegionReq) (*ProductStatus, error)
	// 编辑区域
	EditRegion(context.Context, *EditRegionReq) (*ProductStatus, error)
	// 删除区域
	DelRegion(context.Context, *DelIdReq) (*ProductStatus, error)
	// 获取区域列表
	ListRegion(context.Context, *RegionInfo) (*ListRegionRep, error)
	// 分页获取区域列表
	PageListRegion(context.Context, *PageListRegionReq) (*PageListRegionRep, error)
	// 查询单条区域
	GetRegion(context.Context, *RegionInfo) (*RegionInfo, error)
	// 创建产品详情
	CreateProductInfo(context.Context, *CreateProductInfoReq) (*ProductStatus, error)
	// 编辑产品详情
	EditProductInfo(context.Context, *EditProductInfoReq) (*ProductStatus, error)
	// 删除产品详情
	DelProductInfo(context.Context, *DelIdReq) (*ProductStatus, error)
	// 获取产品详情列表
	ListProductInfo(context.Context, *ProductInfoInfo) (*ListProductInfoRep, error)
	// 分页获取产品详情列表
	PageListProductInfo(context.Context, *PageListProductInfoReq) (*PageListProductInfoRep, error)
	// 获取单挑产品详情
	GetProductInfo(context.Context, *ProductInfoInfo) (*ProductInfoInfo, error)
	// 添加产品终端
	CreateProductTerminal(context.Context, *CreateProductTerminalReq) (*ProductStatus, error)
	// 编辑产品终端
	EditProductTerminal(context.Context, *EditProductTerminalReq) (*ProductStatus, error)
	// 删除产品终端
	DelProductTerminal(context.Context, *DelIdReq) (*ProductStatus, error)
	// 获取产品终端列表
	ListProductTerminal(context.Context, *ProductTerminalInfo) (*ListProductTerminalInfoRep, error)
	// 分页获取产品终端列表
	PageProductTerminal(context.Context, *PageListProductTerminalReq) (*PageListProductTerminalRep, error)
	// 获取单挑产品终端
	GetProductTerminalInfo(context.Context, *ProductTerminalInfo) (*ProductTerminalInfo, error)
	// 创建产品属性
	CreateAttribute(context.Context, *CreateAttributeReq) (*ProductStatus, error)
	// 编辑产品属性
	EditAttribute(context.Context, *EditAttributeReq) (*ProductStatus, error)
	// 删除产品属性
	DelAttribute(context.Context, *DelIdReq) (*ProductStatus, error)
	// 获取产品属性列表
	ListAttribute(context.Context, *Attribute) (*ListAttributeRep, error)
	// 分页获取产品属性列表
	PageListAttribute(context.Context, *PageListAttributeReq) (*PageListAttributeRep, error)
	// 查询单条产品属性
	GetAttribute(context.Context, *Attribute) (*Attribute, error)
	// contains filtered or unexported methods
}

ProductServer is the server API for Product service. All implementations must embed UnimplementedProductServer for forward compatibility

type ProductStatus

type ProductStatus struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductStatus) Descriptor deprecated

func (*ProductStatus) Descriptor() ([]byte, []int)

Deprecated: Use ProductStatus.ProtoReflect.Descriptor instead.

func (*ProductStatus) GetSuccess

func (x *ProductStatus) GetSuccess() bool

func (*ProductStatus) ProtoMessage

func (*ProductStatus) ProtoMessage()

func (*ProductStatus) ProtoReflect

func (x *ProductStatus) ProtoReflect() protoreflect.Message

func (*ProductStatus) Reset

func (x *ProductStatus) Reset()

func (*ProductStatus) String

func (x *ProductStatus) String() string

func (*ProductStatus) Validate

func (m *ProductStatus) Validate() error

Validate checks the field values on ProductStatus with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProductStatus) ValidateAll

func (m *ProductStatus) ValidateAll() error

ValidateAll checks the field values on ProductStatus with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProductStatusMultiError, or nil if none found.

type ProductStatusMultiError

type ProductStatusMultiError []error

ProductStatusMultiError is an error wrapping multiple validation errors returned by ProductStatus.ValidateAll() if the designated constraints aren't met.

func (ProductStatusMultiError) AllErrors

func (m ProductStatusMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProductStatusMultiError) Error

func (m ProductStatusMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ProductStatusValidationError

type ProductStatusValidationError struct {
	// contains filtered or unexported fields
}

ProductStatusValidationError is the validation error returned by ProductStatus.Validate if the designated constraints aren't met.

func (ProductStatusValidationError) Cause

Cause function returns cause value.

func (ProductStatusValidationError) Error

Error satisfies the builtin error interface

func (ProductStatusValidationError) ErrorName

func (e ProductStatusValidationError) ErrorName() string

ErrorName returns error name.

func (ProductStatusValidationError) Field

Field function returns field value.

func (ProductStatusValidationError) Key

Key function returns key value.

func (ProductStatusValidationError) Reason

Reason function returns reason value.

type ProductTerminalInfo added in v0.0.48

type ProductTerminalInfo struct {

	// 产品终端Id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 区域Id
	RegionId uint64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// 终端ID
	TerminalId uint64 `protobuf:"varint,4,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"`
	// 创建时间
	CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// 最后编辑时间
	UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// 最后删除时间
	DeletedAt string `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductTerminalInfo) Descriptor deprecated added in v0.0.48

func (*ProductTerminalInfo) Descriptor() ([]byte, []int)

Deprecated: Use ProductTerminalInfo.ProtoReflect.Descriptor instead.

func (*ProductTerminalInfo) GetCreatedAt added in v0.0.60

func (x *ProductTerminalInfo) GetCreatedAt() string

func (*ProductTerminalInfo) GetDeletedAt added in v0.0.60

func (x *ProductTerminalInfo) GetDeletedAt() string

func (*ProductTerminalInfo) GetId added in v0.0.48

func (x *ProductTerminalInfo) GetId() uint64

func (*ProductTerminalInfo) GetProductId added in v0.0.48

func (x *ProductTerminalInfo) GetProductId() uint64

func (*ProductTerminalInfo) GetRegionId added in v0.0.48

func (x *ProductTerminalInfo) GetRegionId() uint64

func (*ProductTerminalInfo) GetTerminalId added in v0.0.48

func (x *ProductTerminalInfo) GetTerminalId() uint64

func (*ProductTerminalInfo) GetUpdatedAt added in v0.0.60

func (x *ProductTerminalInfo) GetUpdatedAt() string

func (*ProductTerminalInfo) ProtoMessage added in v0.0.48

func (*ProductTerminalInfo) ProtoMessage()

func (*ProductTerminalInfo) ProtoReflect added in v0.0.48

func (x *ProductTerminalInfo) ProtoReflect() protoreflect.Message

func (*ProductTerminalInfo) Reset added in v0.0.48

func (x *ProductTerminalInfo) Reset()

func (*ProductTerminalInfo) String added in v0.0.48

func (x *ProductTerminalInfo) String() string

func (*ProductTerminalInfo) Validate added in v0.0.48

func (m *ProductTerminalInfo) Validate() error

Validate checks the field values on ProductTerminalInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ProductTerminalInfo) ValidateAll added in v0.0.48

func (m *ProductTerminalInfo) ValidateAll() error

ValidateAll checks the field values on ProductTerminalInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProductTerminalInfoMultiError, or nil if none found.

type ProductTerminalInfoMultiError added in v0.0.48

type ProductTerminalInfoMultiError []error

ProductTerminalInfoMultiError is an error wrapping multiple validation errors returned by ProductTerminalInfo.ValidateAll() if the designated constraints aren't met.

func (ProductTerminalInfoMultiError) AllErrors added in v0.0.48

func (m ProductTerminalInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ProductTerminalInfoMultiError) Error added in v0.0.48

Error returns a concatenation of all the error messages it wraps.

type ProductTerminalInfoValidationError added in v0.0.48

type ProductTerminalInfoValidationError struct {
	// contains filtered or unexported fields
}

ProductTerminalInfoValidationError is the validation error returned by ProductTerminalInfo.Validate if the designated constraints aren't met.

func (ProductTerminalInfoValidationError) Cause added in v0.0.48

Cause function returns cause value.

func (ProductTerminalInfoValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (ProductTerminalInfoValidationError) ErrorName added in v0.0.48

ErrorName returns error name.

func (ProductTerminalInfoValidationError) Field added in v0.0.48

Field function returns field value.

func (ProductTerminalInfoValidationError) Key added in v0.0.48

Key function returns key value.

func (ProductTerminalInfoValidationError) Reason added in v0.0.48

Reason function returns reason value.

type RegionInfo added in v0.0.48

type RegionInfo struct {

	// 区域Id
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 产品Id
	ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	// 区域名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// 国家编码
	Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	// 单价
	Price uint64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
	// 阶梯价格
	Step string `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
	// 创建时间
	CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// 最后编辑时间
	UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// 最后删除时间
	DeletedAt string `protobuf:"bytes,10,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RegionInfo) Descriptor deprecated added in v0.0.48

func (*RegionInfo) Descriptor() ([]byte, []int)

Deprecated: Use RegionInfo.ProtoReflect.Descriptor instead.

func (*RegionInfo) GetCountry added in v0.0.48

func (x *RegionInfo) GetCountry() string

func (*RegionInfo) GetCreatedAt added in v0.0.60

func (x *RegionInfo) GetCreatedAt() string

func (*RegionInfo) GetDeletedAt added in v0.0.60

func (x *RegionInfo) GetDeletedAt() string

func (*RegionInfo) GetId added in v0.0.48

func (x *RegionInfo) GetId() uint64

func (*RegionInfo) GetName added in v0.0.48

func (x *RegionInfo) GetName() string

func (*RegionInfo) GetPrice added in v0.0.48

func (x *RegionInfo) GetPrice() uint64

func (*RegionInfo) GetProductId added in v0.0.48

func (x *RegionInfo) GetProductId() uint64

func (*RegionInfo) GetSort added in v0.0.48

func (x *RegionInfo) GetSort() uint64

func (*RegionInfo) GetStep added in v0.0.48

func (x *RegionInfo) GetStep() string

func (*RegionInfo) GetUpdatedAt added in v0.0.60

func (x *RegionInfo) GetUpdatedAt() string

func (*RegionInfo) ProtoMessage added in v0.0.48

func (*RegionInfo) ProtoMessage()

func (*RegionInfo) ProtoReflect added in v0.0.48

func (x *RegionInfo) ProtoReflect() protoreflect.Message

func (*RegionInfo) Reset added in v0.0.48

func (x *RegionInfo) Reset()

func (*RegionInfo) String added in v0.0.48

func (x *RegionInfo) String() string

func (*RegionInfo) Validate added in v0.0.48

func (m *RegionInfo) Validate() error

Validate checks the field values on RegionInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegionInfo) ValidateAll added in v0.0.48

func (m *RegionInfo) ValidateAll() error

ValidateAll checks the field values on RegionInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegionInfoMultiError, or nil if none found.

type RegionInfoMultiError added in v0.0.48

type RegionInfoMultiError []error

RegionInfoMultiError is an error wrapping multiple validation errors returned by RegionInfo.ValidateAll() if the designated constraints aren't met.

func (RegionInfoMultiError) AllErrors added in v0.0.48

func (m RegionInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegionInfoMultiError) Error added in v0.0.48

func (m RegionInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RegionInfoValidationError added in v0.0.48

type RegionInfoValidationError struct {
	// contains filtered or unexported fields
}

RegionInfoValidationError is the validation error returned by RegionInfo.Validate if the designated constraints aren't met.

func (RegionInfoValidationError) Cause added in v0.0.48

func (e RegionInfoValidationError) Cause() error

Cause function returns cause value.

func (RegionInfoValidationError) Error added in v0.0.48

Error satisfies the builtin error interface

func (RegionInfoValidationError) ErrorName added in v0.0.48

func (e RegionInfoValidationError) ErrorName() string

ErrorName returns error name.

func (RegionInfoValidationError) Field added in v0.0.48

Field function returns field value.

func (RegionInfoValidationError) Key added in v0.0.48

Key function returns key value.

func (RegionInfoValidationError) Reason added in v0.0.48

func (e RegionInfoValidationError) Reason() string

Reason function returns reason value.

type Terminal

type Terminal struct {

	// 终端名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// 关键字
	Keywords string `protobuf:"bytes,2,opt,name=keywords,proto3" json:"keywords,omitempty"`
	// 简介
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// 图片
	Img string `protobuf:"bytes,4,opt,name=img,proto3" json:"img,omitempty"`
	// 排序
	Sort uint64 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`
	// 创建时间
	CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// 最后编辑时间
	UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// 最后删除时间
	DeletedAt string `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Terminal) Descriptor deprecated

func (*Terminal) Descriptor() ([]byte, []int)

Deprecated: Use Terminal.ProtoReflect.Descriptor instead.

func (*Terminal) GetCreatedAt added in v0.0.60

func (x *Terminal) GetCreatedAt() string

func (*Terminal) GetDeletedAt added in v0.0.60

func (x *Terminal) GetDeletedAt() string

func (*Terminal) GetDescription

func (x *Terminal) GetDescription() string

func (*Terminal) GetImg

func (x *Terminal) GetImg() string

func (*Terminal) GetKeywords

func (x *Terminal) GetKeywords() string

func (*Terminal) GetName

func (x *Terminal) GetName() string

func (*Terminal) GetSort

func (x *Terminal) GetSort() uint64

func (*Terminal) GetUpdatedAt added in v0.0.60

func (x *Terminal) GetUpdatedAt() string

func (*Terminal) ProtoMessage

func (*Terminal) ProtoMessage()

func (*Terminal) ProtoReflect

func (x *Terminal) ProtoReflect() protoreflect.Message

func (*Terminal) Reset

func (x *Terminal) Reset()

func (*Terminal) String

func (x *Terminal) String() string

func (*Terminal) Validate

func (m *Terminal) Validate() error

Validate checks the field values on Terminal with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Terminal) ValidateAll

func (m *Terminal) ValidateAll() error

ValidateAll checks the field values on Terminal with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TerminalMultiError, or nil if none found.

type TerminalMultiError

type TerminalMultiError []error

TerminalMultiError is an error wrapping multiple validation errors returned by Terminal.ValidateAll() if the designated constraints aren't met.

func (TerminalMultiError) AllErrors

func (m TerminalMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TerminalMultiError) Error

func (m TerminalMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TerminalValidationError

type TerminalValidationError struct {
	// contains filtered or unexported fields
}

TerminalValidationError is the validation error returned by Terminal.Validate if the designated constraints aren't met.

func (TerminalValidationError) Cause

func (e TerminalValidationError) Cause() error

Cause function returns cause value.

func (TerminalValidationError) Error

func (e TerminalValidationError) Error() string

Error satisfies the builtin error interface

func (TerminalValidationError) ErrorName

func (e TerminalValidationError) ErrorName() string

ErrorName returns error name.

func (TerminalValidationError) Field

func (e TerminalValidationError) Field() string

Field function returns field value.

func (TerminalValidationError) Key

func (e TerminalValidationError) Key() bool

Key function returns key value.

func (TerminalValidationError) Reason

func (e TerminalValidationError) Reason() string

Reason function returns reason value.

type UnimplementedProductServer

type UnimplementedProductServer struct {
}

UnimplementedProductServer must be embedded to have forward compatible implementations.

func (UnimplementedProductServer) CreateAttribute added in v0.0.64

func (UnimplementedProductServer) CreateCategory added in v0.0.48

func (UnimplementedProductServer) CreateKind

func (UnimplementedProductServer) CreateProduct

func (UnimplementedProductServer) CreateProductInfo added in v0.0.48

func (UnimplementedProductServer) CreateProductTerminal added in v0.0.48

func (UnimplementedProductServer) CreateRegion added in v0.0.48

func (UnimplementedProductServer) CreateTerminal

func (UnimplementedProductServer) DelAttribute added in v0.0.64

func (UnimplementedProductServer) DelCategory added in v0.0.48

func (UnimplementedProductServer) DelKind

func (UnimplementedProductServer) DelProduct

func (UnimplementedProductServer) DelProductInfo added in v0.0.48

func (UnimplementedProductServer) DelProductTerminal added in v0.0.48

func (UnimplementedProductServer) DelRegion added in v0.0.48

func (UnimplementedProductServer) DelTerminal

func (UnimplementedProductServer) EditAttribute added in v0.0.64

func (UnimplementedProductServer) EditCategory added in v0.0.48

func (UnimplementedProductServer) EditKind

func (UnimplementedProductServer) EditProduct

func (UnimplementedProductServer) EditProductInfo added in v0.0.48

func (UnimplementedProductServer) EditProductTerminal added in v0.0.48

func (UnimplementedProductServer) EditRegion added in v0.0.48

func (UnimplementedProductServer) EditTerminal

func (UnimplementedProductServer) GetAttribute added in v0.0.64

func (UnimplementedProductServer) GetCategory added in v0.0.48

func (UnimplementedProductServer) GetKind

func (UnimplementedProductServer) GetProduct added in v0.0.48

func (UnimplementedProductServer) GetProductInfo added in v0.0.48

func (UnimplementedProductServer) GetProductTerminalInfo added in v0.0.48

func (UnimplementedProductServer) GetRegion added in v0.0.48

func (UnimplementedProductServer) GetTerminal

func (UnimplementedProductServer) ListAttribute added in v0.0.64

func (UnimplementedProductServer) ListCategory added in v0.0.48

func (UnimplementedProductServer) ListKind

func (UnimplementedProductServer) ListProduct

func (UnimplementedProductServer) ListProductInfo added in v0.0.48

func (UnimplementedProductServer) ListProductTerminal added in v0.0.48

func (UnimplementedProductServer) ListRegion added in v0.0.48

func (UnimplementedProductServer) ListTerminal

func (UnimplementedProductServer) PageListAttribute added in v0.0.64

func (UnimplementedProductServer) PageListCategory added in v0.0.48

func (UnimplementedProductServer) PageListKind

func (UnimplementedProductServer) PageListProduct added in v0.0.48

func (UnimplementedProductServer) PageListProductInfo added in v0.0.48

func (UnimplementedProductServer) PageListRegion added in v0.0.48

func (UnimplementedProductServer) PageListTerminal

func (UnimplementedProductServer) PageProductTerminal added in v0.0.48

type UnsafeProductServer

type UnsafeProductServer interface {
	// contains filtered or unexported methods
}

UnsafeProductServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL