// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.24.0
// protoc v3.14.0
// source: pms.proto
package pms
import (
context "context"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
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)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type ProductAddReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BrandId int64 `protobuf:"varint,2,opt,name=BrandId,proto3" json:"BrandId,omitempty"`
ProductCategoryId int64 `protobuf:"varint,3,opt,name=ProductCategoryId,proto3" json:"ProductCategoryId,omitempty"`
FeightTemplateId int64 `protobuf:"varint,4,opt,name=FeightTemplateId,proto3" json:"FeightTemplateId,omitempty"`
ProductAttributeCategoryId int64 `protobuf:"varint,5,opt,name=ProductAttributeCategoryId,proto3" json:"ProductAttributeCategoryId,omitempty"`
Name string `protobuf:"bytes,6,opt,name=Name,proto3" json:"Name,omitempty"`
Pic string `protobuf:"bytes,7,opt,name=Pic,proto3" json:"Pic,omitempty"`
ProductSn string `protobuf:"bytes,8,opt,name=ProductSn,proto3" json:"ProductSn,omitempty"`
DeleteStatus int64 `protobuf:"varint,9,opt,name=DeleteStatus,proto3" json:"DeleteStatus,omitempty"`
PublishStatus int64 `protobuf:"varint,10,opt,name=PublishStatus,proto3" json:"PublishStatus,omitempty"`
NewStatus int64 `protobuf:"varint,11,opt,name=NewStatus,proto3" json:"NewStatus,omitempty"`
RecommandStatus int64 `protobuf:"varint,12,opt,name=RecommandStatus,proto3" json:"RecommandStatus,omitempty"`
VerifyStatus int64 `protobuf:"varint,13,opt,name=VerifyStatus,proto3" json:"VerifyStatus,omitempty"`
Sort int64 `protobuf:"varint,14,opt,name=Sort,proto3" json:"Sort,omitempty"`
Sale int64 `protobuf:"varint,15,opt,name=Sale,proto3" json:"Sale,omitempty"`
Price float64 `protobuf:"fixed64,16,opt,name=Price,proto3" json:"Price,omitempty"`
PromotionPrice float64 `protobuf:"fixed64,17,opt,name=PromotionPrice,proto3" json:"PromotionPrice,omitempty"`
GiftGrowth int64 `protobuf:"varint,18,opt,name=GiftGrowth,proto3" json:"GiftGrowth,omitempty"`
GiftPoint int64 `protobuf:"varint,19,opt,name=GiftPoint,proto3" json:"GiftPoint,omitempty"`
UsePointLimit int64 `protobuf:"varint,20,opt,name=UsePointLimit,proto3" json:"UsePointLimit,omitempty"`
SubTitle string `protobuf:"bytes,21,opt,name=SubTitle,proto3" json:"SubTitle,omitempty"`
Description string `protobuf:"bytes,22,opt,name=Description,proto3" json:"Description,omitempty"`
OriginalPrice float64 `protobuf:"fixed64,23,opt,name=OriginalPrice,proto3" json:"OriginalPrice,omitempty"`
Stock int64 `protobuf:"varint,24,opt,name=Stock,proto3" json:"Stock,omitempty"`
LowStock int64 `protobuf:"varint,25,opt,name=LowStock,proto3" json:"LowStock,omitempty"`
Unit string `protobuf:"bytes,26,opt,name=Unit,proto3" json:"Unit,omitempty"`
Weight float64 `protobuf:"fixed64,27,opt,name=Weight,proto3" json:"Weight,omitempty"`
PreviewStatus int64 `protobuf:"varint,28,opt,name=PreviewStatus,proto3" json:"PreviewStatus,omitempty"`
ServiceIds string `protobuf:"bytes,29,opt,name=ServiceIds,proto3" json:"ServiceIds,omitempty"`
Keywords string `protobuf:"bytes,30,opt,name=Keywords,proto3" json:"Keywords,omitempty"`
Note string `protobuf:"bytes,31,opt,name=Note,proto3" json:"Note,omitempty"`
AlbumPics string `protobuf:"bytes,32,opt,name=AlbumPics,proto3" json:"AlbumPics,omitempty"`
DetailTitle string `protobuf:"bytes,33,opt,name=DetailTitle,proto3" json:"DetailTitle,omitempty"`
DetailDesc string `protobuf:"bytes,34,opt,name=DetailDesc,proto3" json:"DetailDesc,omitempty"`
DetailHtml string `protobuf:"bytes,35,opt,name=DetailHtml,proto3" json:"DetailHtml,omitempty"`
DetailMobileHtml string `protobuf:"bytes,36,opt,name=DetailMobileHtml,proto3" json:"DetailMobileHtml,omitempty"`
PromotionStartTime string `protobuf:"bytes,37,opt,name=PromotionStartTime,proto3" json:"PromotionStartTime,omitempty"`
PromotionEndTime string `protobuf:"bytes,38,opt,name=PromotionEndTime,proto3" json:"PromotionEndTime,omitempty"`
PromotionPerLimit int64 `protobuf:"varint,39,opt,name=PromotionPerLimit,proto3" json:"PromotionPerLimit,omitempty"`
PromotionType int64 `protobuf:"varint,40,opt,name=PromotionType,proto3" json:"PromotionType,omitempty"`
BrandName string `protobuf:"bytes,41,opt,name=BrandName,proto3" json:"BrandName,omitempty"`
ProductCategoryName string `protobuf:"bytes,42,opt,name=ProductCategoryName,proto3" json:"ProductCategoryName,omitempty"`
}
func (x *ProductAddReq) Reset() {
*x = ProductAddReq{}
if protoimpl.UnsafeEnabled {
mi := &file_pms_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProductAddReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProductAddReq) ProtoMessage() {}
func (x *ProductAddReq) ProtoReflect() protoreflect.Message {
mi := &file_pms_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ProductAddReq.ProtoReflect.Descriptor instead.
func (*ProductAddReq) Descriptor() ([]byte, []int) {
return file_pms_proto_rawDescGZIP(), []int{0}
}
func (x *ProductAddReq) GetBrandId() int64 {
if x != nil {
return x.BrandId
}
return 0
}
func (x *ProductAddReq) GetProductCategoryId() int64 {
if x != nil {
return x.ProductCategoryId
}
return 0
}
func (x *ProductAddReq) GetFeightTemplateId() int64 {
if x != nil {
return x.FeightTemplateId
}
return 0
}
func (x *ProductAddReq) GetProductAttributeCategoryId() int64 {
if x != nil {
return x.ProductAttributeCategoryId
}
return 0
}
func (x *ProductAddReq) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ProductAddReq) GetPic() string {
if x != nil {
return x.Pic
}
return ""
}
func (x *ProductAddReq) GetProductSn() string {
if x != nil {
return x.ProductSn
}
return ""
}
func (x *ProductAddReq) GetDeleteStatus() int64 {
if x != nil {
return x.DeleteStatus
}
return 0
}
func (x *ProductAddReq) GetPublishStatus() int64 {
if x != nil {
return x.PublishStatus
}
return 0
}
func (x *ProductAddReq) GetNewStatus() int64 {
if x != nil {
return x.NewStatus
}
return 0
}
func (x *ProductAddReq) GetRecommandStatus() int64 {
if x != nil {
return x.RecommandStatus
}
return 0
}
func (x *ProductAddReq) GetVerifyStatus() int64 {
if x != nil {
return x.VerifyStatus
}
return 0
}
func (x *ProductAddReq) GetSort() int64 {
if x != nil {
return x.Sort
}
return 0
}
func (x *ProductAddReq) GetSale() int64 {
if x != nil {
return x.Sale
}
return 0
评论1