Files
lone-services/rpc/product/pb/product.pb.go
T
gjs be8f89f449
CI / changes (push) Successful in 5s
CI / docker-bff (push) Failing after 7s
CI / docker-product (push) Failing after 5s
CI / docker-admin (push) Failing after 4s
CI / docker-user (push) Failing after 6s
change layout
2026-08-20 15:41:44 +08:00

2060 lines
59 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v4.25.8
// source: product/product.proto
package product
import (
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Response) Reset() {
*x = Response{}
mi := &file_product_product_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Response) ProtoMessage() {}
func (x *Response) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
func (*Response) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{0}
}
func (x *Response) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *Response) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *Response) GetData() string {
if x != nil {
return x.Data
}
return ""
}
type CreateReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Subhead string `protobuf:"bytes,2,opt,name=subhead,proto3" json:"subhead,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
SalesModel uint32 `protobuf:"varint,4,opt,name=sales_model,json=salesModel,proto3" json:"sales_model,omitempty"`
ModelCode string `protobuf:"bytes,5,opt,name=model_code,json=modelCode,proto3" json:"model_code,omitempty"`
Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"`
StorePrice float64 `protobuf:"fixed64,7,opt,name=store_price,json=storePrice,proto3" json:"store_price,omitempty"`
SalePrice float64 `protobuf:"fixed64,8,opt,name=sale_price,json=salePrice,proto3" json:"sale_price,omitempty"`
SharePrice float64 `protobuf:"fixed64,9,opt,name=share_price,json=sharePrice,proto3" json:"share_price,omitempty"`
AgentPrice float64 `protobuf:"fixed64,10,opt,name=agent_price,json=agentPrice,proto3" json:"agent_price,omitempty"`
SaleReward string `protobuf:"bytes,11,opt,name=sale_reward,json=saleReward,proto3" json:"sale_reward,omitempty"`
Images string `protobuf:"bytes,12,opt,name=images,proto3" json:"images,omitempty"`
Weight float64 `protobuf:"fixed64,13,opt,name=weight,proto3" json:"weight,omitempty"`
Cubage string `protobuf:"bytes,14,opt,name=cubage,proto3" json:"cubage,omitempty"`
Waybill string `protobuf:"bytes,15,opt,name=waybill,proto3" json:"waybill,omitempty"`
PeriodValidity int32 `protobuf:"varint,16,opt,name=period_validity,json=periodValidity,proto3" json:"period_validity,omitempty"`
NormsNumber uint32 `protobuf:"varint,17,opt,name=norms_number,json=normsNumber,proto3" json:"norms_number,omitempty"`
BoxNumber float64 `protobuf:"fixed64,18,opt,name=box_number,json=boxNumber,proto3" json:"box_number,omitempty"`
Type uint32 `protobuf:"varint,19,opt,name=type,proto3" json:"type,omitempty"`
Number uint32 `protobuf:"varint,20,opt,name=number,proto3" json:"number,omitempty"`
TryNumber uint32 `protobuf:"varint,21,opt,name=try_number,json=tryNumber,proto3" json:"try_number,omitempty"`
PublishTime string `protobuf:"bytes,22,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
Label string `protobuf:"bytes,23,opt,name=label,proto3" json:"label,omitempty"`
IsBuy uint32 `protobuf:"varint,24,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"`
IsIndex uint32 `protobuf:"varint,25,opt,name=is_index,json=isIndex,proto3" json:"is_index,omitempty"`
IndexImage string `protobuf:"bytes,26,opt,name=index_image,json=indexImage,proto3" json:"index_image,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateReq) Reset() {
*x = CreateReq{}
mi := &file_product_product_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateReq) ProtoMessage() {}
func (x *CreateReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateReq.ProtoReflect.Descriptor instead.
func (*CreateReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{1}
}
func (x *CreateReq) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateReq) GetSubhead() string {
if x != nil {
return x.Subhead
}
return ""
}
func (x *CreateReq) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
func (x *CreateReq) GetSalesModel() uint32 {
if x != nil {
return x.SalesModel
}
return 0
}
func (x *CreateReq) GetModelCode() string {
if x != nil {
return x.ModelCode
}
return ""
}
func (x *CreateReq) GetPrice() float64 {
if x != nil {
return x.Price
}
return 0
}
func (x *CreateReq) GetStorePrice() float64 {
if x != nil {
return x.StorePrice
}
return 0
}
func (x *CreateReq) GetSalePrice() float64 {
if x != nil {
return x.SalePrice
}
return 0
}
func (x *CreateReq) GetSharePrice() float64 {
if x != nil {
return x.SharePrice
}
return 0
}
func (x *CreateReq) GetAgentPrice() float64 {
if x != nil {
return x.AgentPrice
}
return 0
}
func (x *CreateReq) GetSaleReward() string {
if x != nil {
return x.SaleReward
}
return ""
}
func (x *CreateReq) GetImages() string {
if x != nil {
return x.Images
}
return ""
}
func (x *CreateReq) GetWeight() float64 {
if x != nil {
return x.Weight
}
return 0
}
func (x *CreateReq) GetCubage() string {
if x != nil {
return x.Cubage
}
return ""
}
func (x *CreateReq) GetWaybill() string {
if x != nil {
return x.Waybill
}
return ""
}
func (x *CreateReq) GetPeriodValidity() int32 {
if x != nil {
return x.PeriodValidity
}
return 0
}
func (x *CreateReq) GetNormsNumber() uint32 {
if x != nil {
return x.NormsNumber
}
return 0
}
func (x *CreateReq) GetBoxNumber() float64 {
if x != nil {
return x.BoxNumber
}
return 0
}
func (x *CreateReq) GetType() uint32 {
if x != nil {
return x.Type
}
return 0
}
func (x *CreateReq) GetNumber() uint32 {
if x != nil {
return x.Number
}
return 0
}
func (x *CreateReq) GetTryNumber() uint32 {
if x != nil {
return x.TryNumber
}
return 0
}
func (x *CreateReq) GetPublishTime() string {
if x != nil {
return x.PublishTime
}
return ""
}
func (x *CreateReq) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *CreateReq) GetIsBuy() uint32 {
if x != nil {
return x.IsBuy
}
return 0
}
func (x *CreateReq) GetIsIndex() uint32 {
if x != nil {
return x.IsIndex
}
return 0
}
func (x *CreateReq) GetIndexImage() string {
if x != nil {
return x.IndexImage
}
return ""
}
type InfoReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InfoReq) Reset() {
*x = InfoReq{}
mi := &file_product_product_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InfoReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InfoReq) ProtoMessage() {}
func (x *InfoReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use InfoReq.ProtoReflect.Descriptor instead.
func (*InfoReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{2}
}
func (x *InfoReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type ItemsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ItemsReq) Reset() {
*x = ItemsReq{}
mi := &file_product_product_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ItemsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ItemsReq) ProtoMessage() {}
func (x *ItemsReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ItemsReq.ProtoReflect.Descriptor instead.
func (*ItemsReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{3}
}
func (x *ItemsReq) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ItemsReq) GetPage() uint32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ItemsReq) GetPageSize() uint32 {
if x != nil {
return x.PageSize
}
return 0
}
type NamesReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NamesReq) Reset() {
*x = NamesReq{}
mi := &file_product_product_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NamesReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NamesReq) ProtoMessage() {}
func (x *NamesReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NamesReq.ProtoReflect.Descriptor instead.
func (*NamesReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{4}
}
type StatusReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Status uint32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StatusReq) Reset() {
*x = StatusReq{}
mi := &file_product_product_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StatusReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StatusReq) ProtoMessage() {}
func (x *StatusReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use StatusReq.ProtoReflect.Descriptor instead.
func (*StatusReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{5}
}
func (x *StatusReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *StatusReq) GetStatus() uint32 {
if x != nil {
return x.Status
}
return 0
}
func (x *StatusReq) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type SortReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Sort uint32 `protobuf:"varint,2,opt,name=sort,proto3" json:"sort,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SortReq) Reset() {
*x = SortReq{}
mi := &file_product_product_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SortReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SortReq) ProtoMessage() {}
func (x *SortReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SortReq.ProtoReflect.Descriptor instead.
func (*SortReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{6}
}
func (x *SortReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *SortReq) GetSort() uint32 {
if x != nil {
return x.Sort
}
return 0
}
// status: 1: 一审列表, 2: 二审列表
type VerifyReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Page uint32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VerifyReq) Reset() {
*x = VerifyReq{}
mi := &file_product_product_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VerifyReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VerifyReq) ProtoMessage() {}
func (x *VerifyReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VerifyReq.ProtoReflect.Descriptor instead.
func (*VerifyReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{7}
}
func (x *VerifyReq) GetStatus() uint32 {
if x != nil {
return x.Status
}
return 0
}
func (x *VerifyReq) GetPage() uint32 {
if x != nil {
return x.Page
}
return 0
}
func (x *VerifyReq) GetPageSize() uint32 {
if x != nil {
return x.PageSize
}
return 0
}
// id 为 verify 表主键;status: 1: 通过, 2: 驳回
type VerifyStatusReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Status uint32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VerifyStatusReq) Reset() {
*x = VerifyStatusReq{}
mi := &file_product_product_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VerifyStatusReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VerifyStatusReq) ProtoMessage() {}
func (x *VerifyStatusReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VerifyStatusReq.ProtoReflect.Descriptor instead.
func (*VerifyStatusReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{8}
}
func (x *VerifyStatusReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *VerifyStatusReq) GetStatus() uint32 {
if x != nil {
return x.Status
}
return 0
}
func (x *VerifyStatusReq) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type EditApplyReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EditApplyReq) Reset() {
*x = EditApplyReq{}
mi := &file_product_product_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EditApplyReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EditApplyReq) ProtoMessage() {}
func (x *EditApplyReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EditApplyReq.ProtoReflect.Descriptor instead.
func (*EditApplyReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{9}
}
func (x *EditApplyReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *EditApplyReq) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
// TODO: 临时,企微对接后删除
type EditApplyPassReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EditApplyPassReq) Reset() {
*x = EditApplyPassReq{}
mi := &file_product_product_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EditApplyPassReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EditApplyPassReq) ProtoMessage() {}
func (x *EditApplyPassReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EditApplyPassReq.ProtoReflect.Descriptor instead.
func (*EditApplyPassReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{10}
}
func (x *EditApplyPassReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type EditBaseReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Subhead string `protobuf:"bytes,3,opt,name=subhead,proto3" json:"subhead,omitempty"`
Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
Waybill string `protobuf:"bytes,5,opt,name=waybill,proto3" json:"waybill,omitempty"`
Weight float64 `protobuf:"fixed64,6,opt,name=weight,proto3" json:"weight,omitempty"`
Cubage string `protobuf:"bytes,7,opt,name=cubage,proto3" json:"cubage,omitempty"`
Images string `protobuf:"bytes,8,opt,name=images,proto3" json:"images,omitempty"`
PeriodValidity int32 `protobuf:"varint,9,opt,name=period_validity,json=periodValidity,proto3" json:"period_validity,omitempty"`
PublishTime string `protobuf:"bytes,10,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
Label string `protobuf:"bytes,11,opt,name=label,proto3" json:"label,omitempty"`
IsBuy uint32 `protobuf:"varint,12,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"`
IsIndex uint32 `protobuf:"varint,13,opt,name=is_index,json=isIndex,proto3" json:"is_index,omitempty"`
IndexImage string `protobuf:"bytes,14,opt,name=index_image,json=indexImage,proto3" json:"index_image,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EditBaseReq) Reset() {
*x = EditBaseReq{}
mi := &file_product_product_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EditBaseReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EditBaseReq) ProtoMessage() {}
func (x *EditBaseReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EditBaseReq.ProtoReflect.Descriptor instead.
func (*EditBaseReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{11}
}
func (x *EditBaseReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *EditBaseReq) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *EditBaseReq) GetSubhead() string {
if x != nil {
return x.Subhead
}
return ""
}
func (x *EditBaseReq) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
func (x *EditBaseReq) GetWaybill() string {
if x != nil {
return x.Waybill
}
return ""
}
func (x *EditBaseReq) GetWeight() float64 {
if x != nil {
return x.Weight
}
return 0
}
func (x *EditBaseReq) GetCubage() string {
if x != nil {
return x.Cubage
}
return ""
}
func (x *EditBaseReq) GetImages() string {
if x != nil {
return x.Images
}
return ""
}
func (x *EditBaseReq) GetPeriodValidity() int32 {
if x != nil {
return x.PeriodValidity
}
return 0
}
func (x *EditBaseReq) GetPublishTime() string {
if x != nil {
return x.PublishTime
}
return ""
}
func (x *EditBaseReq) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *EditBaseReq) GetIsBuy() uint32 {
if x != nil {
return x.IsBuy
}
return 0
}
func (x *EditBaseReq) GetIsIndex() uint32 {
if x != nil {
return x.IsIndex
}
return 0
}
func (x *EditBaseReq) GetIndexImage() string {
if x != nil {
return x.IndexImage
}
return ""
}
type EditSusceptibleReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ModelCode string `protobuf:"bytes,2,opt,name=model_code,json=modelCode,proto3" json:"model_code,omitempty"`
Price float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"`
StorePrice float64 `protobuf:"fixed64,4,opt,name=store_price,json=storePrice,proto3" json:"store_price,omitempty"`
SalePrice float64 `protobuf:"fixed64,5,opt,name=sale_price,json=salePrice,proto3" json:"sale_price,omitempty"`
SharePrice float64 `protobuf:"fixed64,6,opt,name=share_price,json=sharePrice,proto3" json:"share_price,omitempty"`
AgentPrice float64 `protobuf:"fixed64,7,opt,name=agent_price,json=agentPrice,proto3" json:"agent_price,omitempty"`
SaleReward string `protobuf:"bytes,8,opt,name=sale_reward,json=saleReward,proto3" json:"sale_reward,omitempty"`
NormsNumber uint32 `protobuf:"varint,9,opt,name=norms_number,json=normsNumber,proto3" json:"norms_number,omitempty"`
BoxNumber float64 `protobuf:"fixed64,10,opt,name=box_number,json=boxNumber,proto3" json:"box_number,omitempty"`
Type uint32 `protobuf:"varint,11,opt,name=type,proto3" json:"type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EditSusceptibleReq) Reset() {
*x = EditSusceptibleReq{}
mi := &file_product_product_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EditSusceptibleReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EditSusceptibleReq) ProtoMessage() {}
func (x *EditSusceptibleReq) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EditSusceptibleReq.ProtoReflect.Descriptor instead.
func (*EditSusceptibleReq) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{12}
}
func (x *EditSusceptibleReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *EditSusceptibleReq) GetModelCode() string {
if x != nil {
return x.ModelCode
}
return ""
}
func (x *EditSusceptibleReq) GetPrice() float64 {
if x != nil {
return x.Price
}
return 0
}
func (x *EditSusceptibleReq) GetStorePrice() float64 {
if x != nil {
return x.StorePrice
}
return 0
}
func (x *EditSusceptibleReq) GetSalePrice() float64 {
if x != nil {
return x.SalePrice
}
return 0
}
func (x *EditSusceptibleReq) GetSharePrice() float64 {
if x != nil {
return x.SharePrice
}
return 0
}
func (x *EditSusceptibleReq) GetAgentPrice() float64 {
if x != nil {
return x.AgentPrice
}
return 0
}
func (x *EditSusceptibleReq) GetSaleReward() string {
if x != nil {
return x.SaleReward
}
return ""
}
func (x *EditSusceptibleReq) GetNormsNumber() uint32 {
if x != nil {
return x.NormsNumber
}
return 0
}
func (x *EditSusceptibleReq) GetBoxNumber() float64 {
if x != nil {
return x.BoxNumber
}
return 0
}
func (x *EditSusceptibleReq) GetType() uint32 {
if x != nil {
return x.Type
}
return 0
}
type ItemsData struct {
state protoimpl.MessageState `protogen:"open.v1"`
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
Items []*Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ItemsData) Reset() {
*x = ItemsData{}
mi := &file_product_product_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ItemsData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ItemsData) ProtoMessage() {}
func (x *ItemsData) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ItemsData.ProtoReflect.Descriptor instead.
func (*ItemsData) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{13}
}
func (x *ItemsData) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
func (x *ItemsData) GetItems() []*Item {
if x != nil {
return x.Items
}
return nil
}
type VerifyItemsData struct {
state protoimpl.MessageState `protogen:"open.v1"`
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
Items []*VerifyItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VerifyItemsData) Reset() {
*x = VerifyItemsData{}
mi := &file_product_product_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VerifyItemsData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VerifyItemsData) ProtoMessage() {}
func (x *VerifyItemsData) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VerifyItemsData.ProtoReflect.Descriptor instead.
func (*VerifyItemsData) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{14}
}
func (x *VerifyItemsData) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
func (x *VerifyItemsData) GetItems() []*VerifyItem {
if x != nil {
return x.Items
}
return nil
}
type VerifyParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
ModelCode string `protobuf:"bytes,2,opt,name=model_code,json=modelCode,proto3" json:"model_code,omitempty"`
Price float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"`
StorePrice float64 `protobuf:"fixed64,4,opt,name=store_price,json=storePrice,proto3" json:"store_price,omitempty"`
SalePrice float64 `protobuf:"fixed64,5,opt,name=sale_price,json=salePrice,proto3" json:"sale_price,omitempty"`
SharePrice float64 `protobuf:"fixed64,6,opt,name=share_price,json=sharePrice,proto3" json:"share_price,omitempty"`
AgentPrice float64 `protobuf:"fixed64,7,opt,name=agent_price,json=agentPrice,proto3" json:"agent_price,omitempty"`
SaleReward string `protobuf:"bytes,8,opt,name=sale_reward,json=saleReward,proto3" json:"sale_reward,omitempty"`
Type uint32 `protobuf:"varint,9,opt,name=type,proto3" json:"type,omitempty"`
NormsNumber uint32 `protobuf:"varint,10,opt,name=norms_number,json=normsNumber,proto3" json:"norms_number,omitempty"`
BoxNumber float64 `protobuf:"fixed64,11,opt,name=box_number,json=boxNumber,proto3" json:"box_number,omitempty"`
VerifyId int64 `protobuf:"varint,12,opt,name=verify_id,json=verifyId,proto3" json:"verify_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VerifyParams) Reset() {
*x = VerifyParams{}
mi := &file_product_product_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VerifyParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VerifyParams) ProtoMessage() {}
func (x *VerifyParams) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VerifyParams.ProtoReflect.Descriptor instead.
func (*VerifyParams) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{15}
}
func (x *VerifyParams) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *VerifyParams) GetModelCode() string {
if x != nil {
return x.ModelCode
}
return ""
}
func (x *VerifyParams) GetPrice() float64 {
if x != nil {
return x.Price
}
return 0
}
func (x *VerifyParams) GetStorePrice() float64 {
if x != nil {
return x.StorePrice
}
return 0
}
func (x *VerifyParams) GetSalePrice() float64 {
if x != nil {
return x.SalePrice
}
return 0
}
func (x *VerifyParams) GetSharePrice() float64 {
if x != nil {
return x.SharePrice
}
return 0
}
func (x *VerifyParams) GetAgentPrice() float64 {
if x != nil {
return x.AgentPrice
}
return 0
}
func (x *VerifyParams) GetSaleReward() string {
if x != nil {
return x.SaleReward
}
return ""
}
func (x *VerifyParams) GetType() uint32 {
if x != nil {
return x.Type
}
return 0
}
func (x *VerifyParams) GetNormsNumber() uint32 {
if x != nil {
return x.NormsNumber
}
return 0
}
func (x *VerifyParams) GetBoxNumber() float64 {
if x != nil {
return x.BoxNumber
}
return 0
}
func (x *VerifyParams) GetVerifyId() int64 {
if x != nil {
return x.VerifyId
}
return 0
}
type VerifyItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
SalesModel uint32 `protobuf:"varint,2,opt,name=sales_model,json=salesModel,proto3" json:"sales_model,omitempty"`
New *VerifyParams `protobuf:"bytes,3,opt,name=new,proto3" json:"new,omitempty"`
Old *VerifyParams `protobuf:"bytes,4,opt,name=old,proto3" json:"old,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *VerifyItem) Reset() {
*x = VerifyItem{}
mi := &file_product_product_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *VerifyItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VerifyItem) ProtoMessage() {}
func (x *VerifyItem) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VerifyItem.ProtoReflect.Descriptor instead.
func (*VerifyItem) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{16}
}
func (x *VerifyItem) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *VerifyItem) GetSalesModel() uint32 {
if x != nil {
return x.SalesModel
}
return 0
}
func (x *VerifyItem) GetNew() *VerifyParams {
if x != nil {
return x.New
}
return nil
}
func (x *VerifyItem) GetOld() *VerifyParams {
if x != nil {
return x.Old
}
return nil
}
type NameItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NameItem) Reset() {
*x = NameItem{}
mi := &file_product_product_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NameItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NameItem) ProtoMessage() {}
func (x *NameItem) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use NameItem.ProtoReflect.Descriptor instead.
func (*NameItem) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{17}
}
func (x *NameItem) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *NameItem) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type Item struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Subhead string `protobuf:"bytes,3,opt,name=subhead,proto3" json:"subhead,omitempty"`
Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
ModelCode string `protobuf:"bytes,5,opt,name=model_code,json=modelCode,proto3" json:"model_code,omitempty"`
Price float64 `protobuf:"fixed64,6,opt,name=price,proto3" json:"price,omitempty"`
StorePrice float64 `protobuf:"fixed64,7,opt,name=store_price,json=storePrice,proto3" json:"store_price,omitempty"`
SalePrice float64 `protobuf:"fixed64,8,opt,name=sale_price,json=salePrice,proto3" json:"sale_price,omitempty"`
SharePrice float64 `protobuf:"fixed64,9,opt,name=share_price,json=sharePrice,proto3" json:"share_price,omitempty"`
AgentPrice float64 `protobuf:"fixed64,10,opt,name=agent_price,json=agentPrice,proto3" json:"agent_price,omitempty"`
SaleReward string `protobuf:"bytes,11,opt,name=sale_reward,json=saleReward,proto3" json:"sale_reward,omitempty"`
SalesModel uint32 `protobuf:"varint,12,opt,name=sales_model,json=salesModel,proto3" json:"sales_model,omitempty"`
Waybill string `protobuf:"bytes,13,opt,name=waybill,proto3" json:"waybill,omitempty"`
Status uint32 `protobuf:"varint,14,opt,name=status,proto3" json:"status,omitempty"`
Weight float64 `protobuf:"fixed64,15,opt,name=weight,proto3" json:"weight,omitempty"`
IsIndex uint32 `protobuf:"varint,16,opt,name=is_index,json=isIndex,proto3" json:"is_index,omitempty"`
IndexImage string `protobuf:"bytes,17,opt,name=index_image,json=indexImage,proto3" json:"index_image,omitempty"`
Cubage string `protobuf:"bytes,18,opt,name=cubage,proto3" json:"cubage,omitempty"`
Label string `protobuf:"bytes,19,opt,name=label,proto3" json:"label,omitempty"`
Images string `protobuf:"bytes,20,opt,name=images,proto3" json:"images,omitempty"`
IsBuy uint32 `protobuf:"varint,21,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"`
PeriodValidity int32 `protobuf:"varint,22,opt,name=period_validity,json=periodValidity,proto3" json:"period_validity,omitempty"`
PublishTime string `protobuf:"bytes,23,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
Type uint32 `protobuf:"varint,24,opt,name=type,proto3" json:"type,omitempty"`
NormsNumber uint32 `protobuf:"varint,25,opt,name=norms_number,json=normsNumber,proto3" json:"norms_number,omitempty"`
BoxNumber float64 `protobuf:"fixed64,26,opt,name=box_number,json=boxNumber,proto3" json:"box_number,omitempty"`
Sort uint32 `protobuf:"varint,27,opt,name=sort,proto3" json:"sort,omitempty"`
Number uint32 `protobuf:"varint,28,opt,name=number,proto3" json:"number,omitempty"`
VerifyStatus uint32 `protobuf:"varint,29,opt,name=verify_status,json=verifyStatus,proto3" json:"verify_status,omitempty"`
VerifyId int64 `protobuf:"varint,30,opt,name=verify_id,json=verifyId,proto3" json:"verify_id,omitempty"`
VerifyName string `protobuf:"bytes,31,opt,name=verify_name,json=verifyName,proto3" json:"verify_name,omitempty"`
VerifySecondId int64 `protobuf:"varint,32,opt,name=verify_second_id,json=verifySecondId,proto3" json:"verify_second_id,omitempty"`
VerifySecondName string `protobuf:"bytes,33,opt,name=verify_second_name,json=verifySecondName,proto3" json:"verify_second_name,omitempty"`
Reason string `protobuf:"bytes,34,opt,name=reason,proto3" json:"reason,omitempty"`
AdminName string `protobuf:"bytes,35,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty"`
Edit uint32 `protobuf:"varint,36,opt,name=edit,proto3" json:"edit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Item) Reset() {
*x = Item{}
mi := &file_product_product_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Item) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Item) ProtoMessage() {}
func (x *Item) ProtoReflect() protoreflect.Message {
mi := &file_product_product_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Item.ProtoReflect.Descriptor instead.
func (*Item) Descriptor() ([]byte, []int) {
return file_product_product_proto_rawDescGZIP(), []int{18}
}
func (x *Item) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Item) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Item) GetSubhead() string {
if x != nil {
return x.Subhead
}
return ""
}
func (x *Item) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
func (x *Item) GetModelCode() string {
if x != nil {
return x.ModelCode
}
return ""
}
func (x *Item) GetPrice() float64 {
if x != nil {
return x.Price
}
return 0
}
func (x *Item) GetStorePrice() float64 {
if x != nil {
return x.StorePrice
}
return 0
}
func (x *Item) GetSalePrice() float64 {
if x != nil {
return x.SalePrice
}
return 0
}
func (x *Item) GetSharePrice() float64 {
if x != nil {
return x.SharePrice
}
return 0
}
func (x *Item) GetAgentPrice() float64 {
if x != nil {
return x.AgentPrice
}
return 0
}
func (x *Item) GetSaleReward() string {
if x != nil {
return x.SaleReward
}
return ""
}
func (x *Item) GetSalesModel() uint32 {
if x != nil {
return x.SalesModel
}
return 0
}
func (x *Item) GetWaybill() string {
if x != nil {
return x.Waybill
}
return ""
}
func (x *Item) GetStatus() uint32 {
if x != nil {
return x.Status
}
return 0
}
func (x *Item) GetWeight() float64 {
if x != nil {
return x.Weight
}
return 0
}
func (x *Item) GetIsIndex() uint32 {
if x != nil {
return x.IsIndex
}
return 0
}
func (x *Item) GetIndexImage() string {
if x != nil {
return x.IndexImage
}
return ""
}
func (x *Item) GetCubage() string {
if x != nil {
return x.Cubage
}
return ""
}
func (x *Item) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *Item) GetImages() string {
if x != nil {
return x.Images
}
return ""
}
func (x *Item) GetIsBuy() uint32 {
if x != nil {
return x.IsBuy
}
return 0
}
func (x *Item) GetPeriodValidity() int32 {
if x != nil {
return x.PeriodValidity
}
return 0
}
func (x *Item) GetPublishTime() string {
if x != nil {
return x.PublishTime
}
return ""
}
func (x *Item) GetType() uint32 {
if x != nil {
return x.Type
}
return 0
}
func (x *Item) GetNormsNumber() uint32 {
if x != nil {
return x.NormsNumber
}
return 0
}
func (x *Item) GetBoxNumber() float64 {
if x != nil {
return x.BoxNumber
}
return 0
}
func (x *Item) GetSort() uint32 {
if x != nil {
return x.Sort
}
return 0
}
func (x *Item) GetNumber() uint32 {
if x != nil {
return x.Number
}
return 0
}
func (x *Item) GetVerifyStatus() uint32 {
if x != nil {
return x.VerifyStatus
}
return 0
}
func (x *Item) GetVerifyId() int64 {
if x != nil {
return x.VerifyId
}
return 0
}
func (x *Item) GetVerifyName() string {
if x != nil {
return x.VerifyName
}
return ""
}
func (x *Item) GetVerifySecondId() int64 {
if x != nil {
return x.VerifySecondId
}
return 0
}
func (x *Item) GetVerifySecondName() string {
if x != nil {
return x.VerifySecondName
}
return ""
}
func (x *Item) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
func (x *Item) GetAdminName() string {
if x != nil {
return x.AdminName
}
return ""
}
func (x *Item) GetEdit() uint32 {
if x != nil {
return x.Edit
}
return 0
}
var File_product_product_proto protoreflect.FileDescriptor
const file_product_product_proto_rawDesc = "" +
"\n" +
"\x15product/product.proto\x12\aproduct\x1a\x1cgoogle/api/annotations.proto\"D\n" +
"\bResponse\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
"\x04data\x18\x03 \x01(\tR\x04data\"\xf0\x05\n" +
"\tCreateReq\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
"\asubhead\x18\x02 \x01(\tR\asubhead\x12\x18\n" +
"\acontent\x18\x03 \x01(\tR\acontent\x12\x1f\n" +
"\vsales_model\x18\x04 \x01(\rR\n" +
"salesModel\x12\x1d\n" +
"\n" +
"model_code\x18\x05 \x01(\tR\tmodelCode\x12\x14\n" +
"\x05price\x18\x06 \x01(\x01R\x05price\x12\x1f\n" +
"\vstore_price\x18\a \x01(\x01R\n" +
"storePrice\x12\x1d\n" +
"\n" +
"sale_price\x18\b \x01(\x01R\tsalePrice\x12\x1f\n" +
"\vshare_price\x18\t \x01(\x01R\n" +
"sharePrice\x12\x1f\n" +
"\vagent_price\x18\n" +
" \x01(\x01R\n" +
"agentPrice\x12\x1f\n" +
"\vsale_reward\x18\v \x01(\tR\n" +
"saleReward\x12\x16\n" +
"\x06images\x18\f \x01(\tR\x06images\x12\x16\n" +
"\x06weight\x18\r \x01(\x01R\x06weight\x12\x16\n" +
"\x06cubage\x18\x0e \x01(\tR\x06cubage\x12\x18\n" +
"\awaybill\x18\x0f \x01(\tR\awaybill\x12'\n" +
"\x0fperiod_validity\x18\x10 \x01(\x05R\x0eperiodValidity\x12!\n" +
"\fnorms_number\x18\x11 \x01(\rR\vnormsNumber\x12\x1d\n" +
"\n" +
"box_number\x18\x12 \x01(\x01R\tboxNumber\x12\x12\n" +
"\x04type\x18\x13 \x01(\rR\x04type\x12\x16\n" +
"\x06number\x18\x14 \x01(\rR\x06number\x12\x1d\n" +
"\n" +
"try_number\x18\x15 \x01(\rR\ttryNumber\x12!\n" +
"\fpublish_time\x18\x16 \x01(\tR\vpublishTime\x12\x14\n" +
"\x05label\x18\x17 \x01(\tR\x05label\x12\x15\n" +
"\x06is_buy\x18\x18 \x01(\rR\x05isBuy\x12\x19\n" +
"\bis_index\x18\x19 \x01(\rR\aisIndex\x12\x1f\n" +
"\vindex_image\x18\x1a \x01(\tR\n" +
"indexImage\"\x19\n" +
"\aInfoReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"O\n" +
"\bItemsReq\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
"\x04page\x18\x02 \x01(\rR\x04page\x12\x1b\n" +
"\tpage_size\x18\x03 \x01(\rR\bpageSize\"\n" +
"\n" +
"\bNamesReq\"K\n" +
"\tStatusReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
"\x06status\x18\x02 \x01(\rR\x06status\x12\x16\n" +
"\x06reason\x18\x03 \x01(\tR\x06reason\"-\n" +
"\aSortReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
"\x04sort\x18\x02 \x01(\rR\x04sort\"T\n" +
"\tVerifyReq\x12\x16\n" +
"\x06status\x18\x01 \x01(\rR\x06status\x12\x12\n" +
"\x04page\x18\x02 \x01(\rR\x04page\x12\x1b\n" +
"\tpage_size\x18\x03 \x01(\rR\bpageSize\"Q\n" +
"\x0fVerifyStatusReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
"\x06status\x18\x02 \x01(\rR\x06status\x12\x16\n" +
"\x06reason\x18\x03 \x01(\tR\x06reason\"6\n" +
"\fEditApplyReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
"\x06reason\x18\x02 \x01(\tR\x06reason\"\"\n" +
"\x10EditApplyPassReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"\xfc\x02\n" +
"\vEditBaseReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n" +
"\asubhead\x18\x03 \x01(\tR\asubhead\x12\x18\n" +
"\acontent\x18\x04 \x01(\tR\acontent\x12\x18\n" +
"\awaybill\x18\x05 \x01(\tR\awaybill\x12\x16\n" +
"\x06weight\x18\x06 \x01(\x01R\x06weight\x12\x16\n" +
"\x06cubage\x18\a \x01(\tR\x06cubage\x12\x16\n" +
"\x06images\x18\b \x01(\tR\x06images\x12'\n" +
"\x0fperiod_validity\x18\t \x01(\x05R\x0eperiodValidity\x12!\n" +
"\fpublish_time\x18\n" +
" \x01(\tR\vpublishTime\x12\x14\n" +
"\x05label\x18\v \x01(\tR\x05label\x12\x15\n" +
"\x06is_buy\x18\f \x01(\rR\x05isBuy\x12\x19\n" +
"\bis_index\x18\r \x01(\rR\aisIndex\x12\x1f\n" +
"\vindex_image\x18\x0e \x01(\tR\n" +
"indexImage\"\xd2\x02\n" +
"\x12EditSusceptibleReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1d\n" +
"\n" +
"model_code\x18\x02 \x01(\tR\tmodelCode\x12\x14\n" +
"\x05price\x18\x03 \x01(\x01R\x05price\x12\x1f\n" +
"\vstore_price\x18\x04 \x01(\x01R\n" +
"storePrice\x12\x1d\n" +
"\n" +
"sale_price\x18\x05 \x01(\x01R\tsalePrice\x12\x1f\n" +
"\vshare_price\x18\x06 \x01(\x01R\n" +
"sharePrice\x12\x1f\n" +
"\vagent_price\x18\a \x01(\x01R\n" +
"agentPrice\x12\x1f\n" +
"\vsale_reward\x18\b \x01(\tR\n" +
"saleReward\x12!\n" +
"\fnorms_number\x18\t \x01(\rR\vnormsNumber\x12\x1d\n" +
"\n" +
"box_number\x18\n" +
" \x01(\x01R\tboxNumber\x12\x12\n" +
"\x04type\x18\v \x01(\rR\x04type\"F\n" +
"\tItemsData\x12\x14\n" +
"\x05count\x18\x01 \x01(\x03R\x05count\x12#\n" +
"\x05items\x18\x02 \x03(\v2\r.product.ItemR\x05items\"R\n" +
"\x0fVerifyItemsData\x12\x14\n" +
"\x05count\x18\x01 \x01(\x03R\x05count\x12)\n" +
"\x05items\x18\x02 \x03(\v2\x13.product.VerifyItemR\x05items\"\xe9\x02\n" +
"\fVerifyParams\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1d\n" +
"\n" +
"model_code\x18\x02 \x01(\tR\tmodelCode\x12\x14\n" +
"\x05price\x18\x03 \x01(\x01R\x05price\x12\x1f\n" +
"\vstore_price\x18\x04 \x01(\x01R\n" +
"storePrice\x12\x1d\n" +
"\n" +
"sale_price\x18\x05 \x01(\x01R\tsalePrice\x12\x1f\n" +
"\vshare_price\x18\x06 \x01(\x01R\n" +
"sharePrice\x12\x1f\n" +
"\vagent_price\x18\a \x01(\x01R\n" +
"agentPrice\x12\x1f\n" +
"\vsale_reward\x18\b \x01(\tR\n" +
"saleReward\x12\x12\n" +
"\x04type\x18\t \x01(\rR\x04type\x12!\n" +
"\fnorms_number\x18\n" +
" \x01(\rR\vnormsNumber\x12\x1d\n" +
"\n" +
"box_number\x18\v \x01(\x01R\tboxNumber\x12\x1b\n" +
"\tverify_id\x18\f \x01(\x03R\bverifyId\"\x93\x01\n" +
"\n" +
"VerifyItem\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n" +
"\vsales_model\x18\x02 \x01(\rR\n" +
"salesModel\x12'\n" +
"\x03new\x18\x03 \x01(\v2\x15.product.VerifyParamsR\x03new\x12'\n" +
"\x03old\x18\x04 \x01(\v2\x15.product.VerifyParamsR\x03old\".\n" +
"\bNameItem\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\"\x8e\b\n" +
"\x04Item\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n" +
"\asubhead\x18\x03 \x01(\tR\asubhead\x12\x18\n" +
"\acontent\x18\x04 \x01(\tR\acontent\x12\x1d\n" +
"\n" +
"model_code\x18\x05 \x01(\tR\tmodelCode\x12\x14\n" +
"\x05price\x18\x06 \x01(\x01R\x05price\x12\x1f\n" +
"\vstore_price\x18\a \x01(\x01R\n" +
"storePrice\x12\x1d\n" +
"\n" +
"sale_price\x18\b \x01(\x01R\tsalePrice\x12\x1f\n" +
"\vshare_price\x18\t \x01(\x01R\n" +
"sharePrice\x12\x1f\n" +
"\vagent_price\x18\n" +
" \x01(\x01R\n" +
"agentPrice\x12\x1f\n" +
"\vsale_reward\x18\v \x01(\tR\n" +
"saleReward\x12\x1f\n" +
"\vsales_model\x18\f \x01(\rR\n" +
"salesModel\x12\x18\n" +
"\awaybill\x18\r \x01(\tR\awaybill\x12\x16\n" +
"\x06status\x18\x0e \x01(\rR\x06status\x12\x16\n" +
"\x06weight\x18\x0f \x01(\x01R\x06weight\x12\x19\n" +
"\bis_index\x18\x10 \x01(\rR\aisIndex\x12\x1f\n" +
"\vindex_image\x18\x11 \x01(\tR\n" +
"indexImage\x12\x16\n" +
"\x06cubage\x18\x12 \x01(\tR\x06cubage\x12\x14\n" +
"\x05label\x18\x13 \x01(\tR\x05label\x12\x16\n" +
"\x06images\x18\x14 \x01(\tR\x06images\x12\x15\n" +
"\x06is_buy\x18\x15 \x01(\rR\x05isBuy\x12'\n" +
"\x0fperiod_validity\x18\x16 \x01(\x05R\x0eperiodValidity\x12!\n" +
"\fpublish_time\x18\x17 \x01(\tR\vpublishTime\x12\x12\n" +
"\x04type\x18\x18 \x01(\rR\x04type\x12!\n" +
"\fnorms_number\x18\x19 \x01(\rR\vnormsNumber\x12\x1d\n" +
"\n" +
"box_number\x18\x1a \x01(\x01R\tboxNumber\x12\x12\n" +
"\x04sort\x18\x1b \x01(\rR\x04sort\x12\x16\n" +
"\x06number\x18\x1c \x01(\rR\x06number\x12#\n" +
"\rverify_status\x18\x1d \x01(\rR\fverifyStatus\x12\x1b\n" +
"\tverify_id\x18\x1e \x01(\x03R\bverifyId\x12\x1f\n" +
"\vverify_name\x18\x1f \x01(\tR\n" +
"verifyName\x12(\n" +
"\x10verify_second_id\x18 \x01(\x03R\x0everifySecondId\x12,\n" +
"\x12verify_second_name\x18! \x01(\tR\x10verifySecondName\x12\x16\n" +
"\x06reason\x18\" \x01(\tR\x06reason\x12\x1d\n" +
"\n" +
"admin_name\x18# \x01(\tR\tadminName\x12\x12\n" +
"\x04edit\x18$ \x01(\rR\x04edit2\xa6\t\n" +
"\aProduct\x12M\n" +
"\x06Create\x12\x12.product.CreateReq\x1a\x11.product.Response\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/admin/v3/product\x12N\n" +
"\x04Info\x12\x10.product.InfoReq\x1a\x11.product.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\x12\x16/admin/v3/product/info\x12K\n" +
"\x05Items\x12\x11.product.ItemsReq\x1a\x11.product.Response\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\x12\x11/admin/v3/product\x12Q\n" +
"\x05Names\x12\x11.product.NamesReq\x1a\x11.product.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/product/names\x12T\n" +
"\x06Status\x12\x12.product.StatusReq\x1a\x11.product.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\x1a\x18/admin/v3/product/status\x12N\n" +
"\x04Sort\x12\x10.product.SortReq\x1a\x11.product.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\x1a\x16/admin/v3/product/sort\x12T\n" +
"\x06Verify\x12\x12.product.VerifyReq\x1a\x11.product.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\x12\x18/admin/v3/product/verify\x12e\n" +
"\vVerifyFirst\x12\x18.product.VerifyStatusReq\x1a\x11.product.Response\")\x82\xd3\xe4\x93\x02#:\x01*\x1a\x1e/admin/v3/product/verify/first\x12g\n" +
"\fVerifySecond\x12\x18.product.VerifyStatusReq\x1a\x11.product.Response\"*\x82\xd3\xe4\x93\x02$:\x01*\x1a\x1f/admin/v3/product/verify/second\x12^\n" +
"\tEditApply\x12\x15.product.EditApplyReq\x1a\x11.product.Response\"'\x82\xd3\xe4\x93\x02!:\x01*\"\x1c/admin/v3/product/edit/apply\x12V\n" +
"\bEditBase\x12\x14.product.EditBaseReq\x1a\x11.product.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\x1a\x16/admin/v3/product/base\x12k\n" +
"\x0fEditSusceptible\x12\x1b.product.EditSusceptibleReq\x1a\x11.product.Response\"(\x82\xd3\xe4\x93\x02\":\x01*\x1a\x1d/admin/v3/product/susceptible\x12k\n" +
"\rEditApplyPass\x12\x19.product.EditApplyPassReq\x1a\x11.product.Response\",\x82\xd3\xe4\x93\x02&:\x01*\x1a!/admin/v3/product/edit/apply/passB\x1bZ\x19lone-services/rpc/productb\x06proto3"
var (
file_product_product_proto_rawDescOnce sync.Once
file_product_product_proto_rawDescData []byte
)
func file_product_product_proto_rawDescGZIP() []byte {
file_product_product_proto_rawDescOnce.Do(func() {
file_product_product_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_product_product_proto_rawDesc), len(file_product_product_proto_rawDesc)))
})
return file_product_product_proto_rawDescData
}
var file_product_product_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
var file_product_product_proto_goTypes = []any{
(*Response)(nil), // 0: product.Response
(*CreateReq)(nil), // 1: product.CreateReq
(*InfoReq)(nil), // 2: product.InfoReq
(*ItemsReq)(nil), // 3: product.ItemsReq
(*NamesReq)(nil), // 4: product.NamesReq
(*StatusReq)(nil), // 5: product.StatusReq
(*SortReq)(nil), // 6: product.SortReq
(*VerifyReq)(nil), // 7: product.VerifyReq
(*VerifyStatusReq)(nil), // 8: product.VerifyStatusReq
(*EditApplyReq)(nil), // 9: product.EditApplyReq
(*EditApplyPassReq)(nil), // 10: product.EditApplyPassReq
(*EditBaseReq)(nil), // 11: product.EditBaseReq
(*EditSusceptibleReq)(nil), // 12: product.EditSusceptibleReq
(*ItemsData)(nil), // 13: product.ItemsData
(*VerifyItemsData)(nil), // 14: product.VerifyItemsData
(*VerifyParams)(nil), // 15: product.VerifyParams
(*VerifyItem)(nil), // 16: product.VerifyItem
(*NameItem)(nil), // 17: product.NameItem
(*Item)(nil), // 18: product.Item
}
var file_product_product_proto_depIdxs = []int32{
18, // 0: product.ItemsData.items:type_name -> product.Item
16, // 1: product.VerifyItemsData.items:type_name -> product.VerifyItem
15, // 2: product.VerifyItem.new:type_name -> product.VerifyParams
15, // 3: product.VerifyItem.old:type_name -> product.VerifyParams
1, // 4: product.Product.Create:input_type -> product.CreateReq
2, // 5: product.Product.Info:input_type -> product.InfoReq
3, // 6: product.Product.Items:input_type -> product.ItemsReq
4, // 7: product.Product.Names:input_type -> product.NamesReq
5, // 8: product.Product.Status:input_type -> product.StatusReq
6, // 9: product.Product.Sort:input_type -> product.SortReq
7, // 10: product.Product.Verify:input_type -> product.VerifyReq
8, // 11: product.Product.VerifyFirst:input_type -> product.VerifyStatusReq
8, // 12: product.Product.VerifySecond:input_type -> product.VerifyStatusReq
9, // 13: product.Product.EditApply:input_type -> product.EditApplyReq
11, // 14: product.Product.EditBase:input_type -> product.EditBaseReq
12, // 15: product.Product.EditSusceptible:input_type -> product.EditSusceptibleReq
10, // 16: product.Product.EditApplyPass:input_type -> product.EditApplyPassReq
0, // 17: product.Product.Create:output_type -> product.Response
0, // 18: product.Product.Info:output_type -> product.Response
0, // 19: product.Product.Items:output_type -> product.Response
0, // 20: product.Product.Names:output_type -> product.Response
0, // 21: product.Product.Status:output_type -> product.Response
0, // 22: product.Product.Sort:output_type -> product.Response
0, // 23: product.Product.Verify:output_type -> product.Response
0, // 24: product.Product.VerifyFirst:output_type -> product.Response
0, // 25: product.Product.VerifySecond:output_type -> product.Response
0, // 26: product.Product.EditApply:output_type -> product.Response
0, // 27: product.Product.EditBase:output_type -> product.Response
0, // 28: product.Product.EditSusceptible:output_type -> product.Response
0, // 29: product.Product.EditApplyPass:output_type -> product.Response
17, // [17:30] is the sub-list for method output_type
4, // [4:17] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
}
func init() { file_product_product_proto_init() }
func file_product_product_proto_init() {
if File_product_product_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_product_product_proto_rawDesc), len(file_product_product_proto_rawDesc)),
NumEnums: 0,
NumMessages: 19,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_product_product_proto_goTypes,
DependencyIndexes: file_product_product_proto_depIdxs,
MessageInfos: file_product_product_proto_msgTypes,
}.Build()
File_product_product_proto = out.File
file_product_product_proto_goTypes = nil
file_product_product_proto_depIdxs = nil
}