// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.35.1 // source: module/ec/mall/proto/freight.proto package mall import ( protobuf "bsm/full/protobuf" 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 DenyRegionItem struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` MallIdentity string `protobuf:"bytes,3,opt,name=mall_identity,proto3" json:"mall_identity,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // 名称 Region []*RegionItem `protobuf:"bytes,5,rep,name=region,proto3" json:"region,omitempty"` // 限售区域 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DenyRegionItem) Reset() { *x = DenyRegionItem{} mi := &file_module_ec_mall_proto_freight_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DenyRegionItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*DenyRegionItem) ProtoMessage() {} func (x *DenyRegionItem) ProtoReflect() protoreflect.Message { mi := &file_module_ec_mall_proto_freight_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 DenyRegionItem.ProtoReflect.Descriptor instead. func (*DenyRegionItem) Descriptor() ([]byte, []int) { return file_module_ec_mall_proto_freight_proto_rawDescGZIP(), []int{0} } func (x *DenyRegionItem) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *DenyRegionItem) GetIdentity() string { if x != nil { return x.Identity } return "" } func (x *DenyRegionItem) GetMallIdentity() string { if x != nil { return x.MallIdentity } return "" } func (x *DenyRegionItem) GetTitle() string { if x != nil { return x.Title } return "" } func (x *DenyRegionItem) GetRegion() []*RegionItem { if x != nil { return x.Region } return nil } type FreightItem struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //属性ID Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` //唯一标识 Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` // 状态:1正常,-1禁用 Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // 名称 PostType int32 `protobuf:"varint,5,opt,name=post_type,proto3" json:"post_type,omitempty"` // 是否包邮:1包邮,2不包邮 Quota int64 `protobuf:"varint,6,opt,name=quota,proto3" json:"quota,omitempty"` // 当types=1时,满额包邮 CostType int32 `protobuf:"varint,7,opt,name=cost_type,proto3" json:"cost_type,omitempty"` // 计费类型:1计件收费,2按重收费,3按体积收费 RegionType int32 `protobuf:"varint,8,opt,name=region_type,proto3" json:"region_type,omitempty"` // 区域限售:1限制,2不限制 Rules []*FreightAttrItem `protobuf:"bytes,9,rep,name=rules,proto3" json:"rules,omitempty"` // 计费规则 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FreightItem) Reset() { *x = FreightItem{} mi := &file_module_ec_mall_proto_freight_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FreightItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*FreightItem) ProtoMessage() {} func (x *FreightItem) ProtoReflect() protoreflect.Message { mi := &file_module_ec_mall_proto_freight_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 FreightItem.ProtoReflect.Descriptor instead. func (*FreightItem) Descriptor() ([]byte, []int) { return file_module_ec_mall_proto_freight_proto_rawDescGZIP(), []int{1} } func (x *FreightItem) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *FreightItem) GetIdentity() string { if x != nil { return x.Identity } return "" } func (x *FreightItem) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *FreightItem) GetTitle() string { if x != nil { return x.Title } return "" } func (x *FreightItem) GetPostType() int32 { if x != nil { return x.PostType } return 0 } func (x *FreightItem) GetQuota() int64 { if x != nil { return x.Quota } return 0 } func (x *FreightItem) GetCostType() int32 { if x != nil { return x.CostType } return 0 } func (x *FreightItem) GetRegionType() int32 { if x != nil { return x.RegionType } return 0 } func (x *FreightItem) GetRules() []*FreightAttrItem { if x != nil { return x.Rules } return nil } type RegionItem struct { state protoimpl.MessageState `protogen:"open.v1"` Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Second []*RegionItem `protobuf:"bytes,3,rep,name=second,proto3" json:"second,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RegionItem) Reset() { *x = RegionItem{} mi := &file_module_ec_mall_proto_freight_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RegionItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegionItem) ProtoMessage() {} func (x *RegionItem) ProtoReflect() protoreflect.Message { mi := &file_module_ec_mall_proto_freight_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 RegionItem.ProtoReflect.Descriptor instead. func (*RegionItem) Descriptor() ([]byte, []int) { return file_module_ec_mall_proto_freight_proto_rawDescGZIP(), []int{2} } func (x *RegionItem) GetId() int32 { if x != nil { return x.Id } return 0 } func (x *RegionItem) GetName() string { if x != nil { return x.Name } return "" } func (x *RegionItem) GetSecond() []*RegionItem { if x != nil { return x.Second } return nil } type FreightAttrItem struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // FreightIdentity string `protobuf:"bytes,3,opt,name=freight_identity,proto3" json:"freight_identity,omitempty"` // 模板唯一标识 RegionStr string `protobuf:"bytes,4,opt,name=region_str,proto3" json:"region_str,omitempty"` // 地区名称 Region []*RegionItem `protobuf:"bytes,5,rep,name=region,proto3" json:"region,omitempty"` // 地区 PriceBasic int64 `protobuf:"varint,6,opt,name=price_basic,proto3" json:"price_basic,omitempty"` // 起步运费 CountBasic int64 `protobuf:"varint,7,opt,name=count_basic,proto3" json:"count_basic,omitempty"` // 起步数量 CountExtra int64 `protobuf:"varint,8,opt,name=count_extra,proto3" json:"count_extra,omitempty"` // 加价数量 PriceExtra int64 `protobuf:"varint,9,opt,name=price_extra,proto3" json:"price_extra,omitempty"` // 加价单价 Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"` // 状态:1正常,-1禁用 IsDefault int32 `protobuf:"varint,11,opt,name=is_default,proto3" json:"is_default,omitempty"` // 是否是默认:1-不是;2是 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FreightAttrItem) Reset() { *x = FreightAttrItem{} mi := &file_module_ec_mall_proto_freight_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FreightAttrItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*FreightAttrItem) ProtoMessage() {} func (x *FreightAttrItem) ProtoReflect() protoreflect.Message { mi := &file_module_ec_mall_proto_freight_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 FreightAttrItem.ProtoReflect.Descriptor instead. func (*FreightAttrItem) Descriptor() ([]byte, []int) { return file_module_ec_mall_proto_freight_proto_rawDescGZIP(), []int{3} } func (x *FreightAttrItem) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *FreightAttrItem) GetIdentity() string { if x != nil { return x.Identity } return "" } func (x *FreightAttrItem) GetFreightIdentity() string { if x != nil { return x.FreightIdentity } return "" } func (x *FreightAttrItem) GetRegionStr() string { if x != nil { return x.RegionStr } return "" } func (x *FreightAttrItem) GetRegion() []*RegionItem { if x != nil { return x.Region } return nil } func (x *FreightAttrItem) GetPriceBasic() int64 { if x != nil { return x.PriceBasic } return 0 } func (x *FreightAttrItem) GetCountBasic() int64 { if x != nil { return x.CountBasic } return 0 } func (x *FreightAttrItem) GetCountExtra() int64 { if x != nil { return x.CountExtra } return 0 } func (x *FreightAttrItem) GetPriceExtra() int64 { if x != nil { return x.PriceExtra } return 0 } func (x *FreightAttrItem) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *FreightAttrItem) GetIsDefault() int32 { if x != nil { return x.IsDefault } return 0 } type FreightReply struct { state protoimpl.MessageState `protogen:"open.v1"` Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Data []*FreightItem `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FreightReply) Reset() { *x = FreightReply{} mi := &file_module_ec_mall_proto_freight_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FreightReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*FreightReply) ProtoMessage() {} func (x *FreightReply) ProtoReflect() protoreflect.Message { mi := &file_module_ec_mall_proto_freight_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 FreightReply.ProtoReflect.Descriptor instead. func (*FreightReply) Descriptor() ([]byte, []int) { return file_module_ec_mall_proto_freight_proto_rawDescGZIP(), []int{4} } func (x *FreightReply) GetCount() int64 { if x != nil { return x.Count } return 0 } func (x *FreightReply) GetData() []*FreightItem { if x != nil { return x.Data } return nil } type DenyRegionReply struct { state protoimpl.MessageState `protogen:"open.v1"` Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Data []*DenyRegionItem `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DenyRegionReply) Reset() { *x = DenyRegionReply{} mi := &file_module_ec_mall_proto_freight_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DenyRegionReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*DenyRegionReply) ProtoMessage() {} func (x *DenyRegionReply) ProtoReflect() protoreflect.Message { mi := &file_module_ec_mall_proto_freight_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 DenyRegionReply.ProtoReflect.Descriptor instead. func (*DenyRegionReply) Descriptor() ([]byte, []int) { return file_module_ec_mall_proto_freight_proto_rawDescGZIP(), []int{5} } func (x *DenyRegionReply) GetCount() int64 { if x != nil { return x.Count } return 0 } func (x *DenyRegionReply) GetData() []*DenyRegionItem { if x != nil { return x.Data } return nil } var File_module_ec_mall_proto_freight_proto protoreflect.FileDescriptor const file_module_ec_mall_proto_freight_proto_rawDesc = "" + "\n" + "\"module/ec/mall/proto/freight.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"\xa2\x01\n" + "\x0eDenyRegionItem\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" + "\bidentity\x18\x02 \x01(\tR\bidentity\x12$\n" + "\rmall_identity\x18\x03 \x01(\tR\rmall_identity\x12\x14\n" + "\x05title\x18\x04 \x01(\tR\x05title\x12(\n" + "\x06region\x18\x05 \x03(\v2\x10.mall.RegionItemR\x06region\"\x88\x02\n" + "\vFreightItem\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" + "\bidentity\x18\x02 \x01(\tR\bidentity\x12\x16\n" + "\x06status\x18\x03 \x01(\x05R\x06status\x12\x14\n" + "\x05title\x18\x04 \x01(\tR\x05title\x12\x1c\n" + "\tpost_type\x18\x05 \x01(\x05R\tpost_type\x12\x14\n" + "\x05quota\x18\x06 \x01(\x03R\x05quota\x12\x1c\n" + "\tcost_type\x18\a \x01(\x05R\tcost_type\x12 \n" + "\vregion_type\x18\b \x01(\x05R\vregion_type\x12+\n" + "\x05rules\x18\t \x03(\v2\x15.mall.FreightAttrItemR\x05rules\"Z\n" + "\n" + "RegionItem\x12\x0e\n" + "\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12(\n" + "\x06second\x18\x03 \x03(\v2\x10.mall.RegionItemR\x06second\"\xf3\x02\n" + "\x0fFreightAttrItem\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" + "\bidentity\x18\x02 \x01(\tR\bidentity\x12*\n" + "\x10freight_identity\x18\x03 \x01(\tR\x10freight_identity\x12\x1e\n" + "\n" + "region_str\x18\x04 \x01(\tR\n" + "region_str\x12(\n" + "\x06region\x18\x05 \x03(\v2\x10.mall.RegionItemR\x06region\x12 \n" + "\vprice_basic\x18\x06 \x01(\x03R\vprice_basic\x12 \n" + "\vcount_basic\x18\a \x01(\x03R\vcount_basic\x12 \n" + "\vcount_extra\x18\b \x01(\x03R\vcount_extra\x12 \n" + "\vprice_extra\x18\t \x01(\x03R\vprice_extra\x12\x16\n" + "\x06status\x18\n" + " \x01(\x05R\x06status\x12\x1e\n" + "\n" + "is_default\x18\v \x01(\x05R\n" + "is_default\"K\n" + "\fFreightReply\x12\x14\n" + "\x05count\x18\x01 \x01(\x03R\x05count\x12%\n" + "\x04data\x18\x02 \x03(\v2\x11.mall.FreightItemR\x04data\"Q\n" + "\x0fDenyRegionReply\x12\x14\n" + "\x05count\x18\x01 \x01(\x03R\x05count\x12(\n" + "\x04data\x18\x02 \x03(\v2\x14.mall.DenyRegionItemR\x04data2\xcf\x04\n" + "\aFreight\x127\n" + "\x05Fetch\x12\x18.blocks.MallFetchRequest\x1a\x12.mall.FreightReply\"\x00\x12:\n" + "\x06Modify\x12\x11.mall.FreightItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12=\n" + "\x06Delete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12:\n" + "\x06Create\x12\x11.mall.FreightItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x123\n" + "\x06Detail\x12\x14.blocks.IdentRequest\x1a\x11.mall.FreightItem\"\x00\x12D\n" + "\x0fDenyRegionFetch\x12\x18.blocks.MallFetchRequest\x1a\x15.mall.DenyRegionReply\"\x00\x12G\n" + "\x10DenyRegionCreate\x12\x14.mall.DenyRegionItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12G\n" + "\x10DenyRegionDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12G\n" + "\x10DenyRegionModify\x12\x14.mall.DenyRegionItem\x1a\x1b.blocks.IdentityStatusReply\"\x00B!Z\x1fbsm/full/module/ec/mall/pb;mallb\x06proto3" var ( file_module_ec_mall_proto_freight_proto_rawDescOnce sync.Once file_module_ec_mall_proto_freight_proto_rawDescData []byte ) func file_module_ec_mall_proto_freight_proto_rawDescGZIP() []byte { file_module_ec_mall_proto_freight_proto_rawDescOnce.Do(func() { file_module_ec_mall_proto_freight_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_mall_proto_freight_proto_rawDesc), len(file_module_ec_mall_proto_freight_proto_rawDesc))) }) return file_module_ec_mall_proto_freight_proto_rawDescData } var file_module_ec_mall_proto_freight_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_module_ec_mall_proto_freight_proto_goTypes = []any{ (*DenyRegionItem)(nil), // 0: mall.DenyRegionItem (*FreightItem)(nil), // 1: mall.FreightItem (*RegionItem)(nil), // 2: mall.RegionItem (*FreightAttrItem)(nil), // 3: mall.FreightAttrItem (*FreightReply)(nil), // 4: mall.FreightReply (*DenyRegionReply)(nil), // 5: mall.DenyRegionReply (*protobuf.MallFetchRequest)(nil), // 6: blocks.MallFetchRequest (*protobuf.IdentRequest)(nil), // 7: blocks.IdentRequest (*protobuf.IdentityStatusReply)(nil), // 8: blocks.IdentityStatusReply } var file_module_ec_mall_proto_freight_proto_depIdxs = []int32{ 2, // 0: mall.DenyRegionItem.region:type_name -> mall.RegionItem 3, // 1: mall.FreightItem.rules:type_name -> mall.FreightAttrItem 2, // 2: mall.RegionItem.second:type_name -> mall.RegionItem 2, // 3: mall.FreightAttrItem.region:type_name -> mall.RegionItem 1, // 4: mall.FreightReply.data:type_name -> mall.FreightItem 0, // 5: mall.DenyRegionReply.data:type_name -> mall.DenyRegionItem 6, // 6: mall.Freight.Fetch:input_type -> blocks.MallFetchRequest 1, // 7: mall.Freight.Modify:input_type -> mall.FreightItem 7, // 8: mall.Freight.Delete:input_type -> blocks.IdentRequest 1, // 9: mall.Freight.Create:input_type -> mall.FreightItem 7, // 10: mall.Freight.Detail:input_type -> blocks.IdentRequest 6, // 11: mall.Freight.DenyRegionFetch:input_type -> blocks.MallFetchRequest 0, // 12: mall.Freight.DenyRegionCreate:input_type -> mall.DenyRegionItem 7, // 13: mall.Freight.DenyRegionDelete:input_type -> blocks.IdentRequest 0, // 14: mall.Freight.DenyRegionModify:input_type -> mall.DenyRegionItem 4, // 15: mall.Freight.Fetch:output_type -> mall.FreightReply 8, // 16: mall.Freight.Modify:output_type -> blocks.IdentityStatusReply 8, // 17: mall.Freight.Delete:output_type -> blocks.IdentityStatusReply 8, // 18: mall.Freight.Create:output_type -> blocks.IdentityStatusReply 1, // 19: mall.Freight.Detail:output_type -> mall.FreightItem 5, // 20: mall.Freight.DenyRegionFetch:output_type -> mall.DenyRegionReply 8, // 21: mall.Freight.DenyRegionCreate:output_type -> blocks.IdentityStatusReply 8, // 22: mall.Freight.DenyRegionDelete:output_type -> blocks.IdentityStatusReply 8, // 23: mall.Freight.DenyRegionModify:output_type -> blocks.IdentityStatusReply 15, // [15:24] is the sub-list for method output_type 6, // [6:15] is the sub-list for method input_type 6, // [6:6] is the sub-list for extension type_name 6, // [6:6] is the sub-list for extension extendee 0, // [0:6] is the sub-list for field type_name } func init() { file_module_ec_mall_proto_freight_proto_init() } func file_module_ec_mall_proto_freight_proto_init() { if File_module_ec_mall_proto_freight_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_ec_mall_proto_freight_proto_rawDesc), len(file_module_ec_mall_proto_freight_proto_rawDesc)), NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 1, }, GoTypes: file_module_ec_mall_proto_freight_proto_goTypes, DependencyIndexes: file_module_ec_mall_proto_freight_proto_depIdxs, MessageInfos: file_module_ec_mall_proto_freight_proto_msgTypes, }.Build() File_module_ec_mall_proto_freight_proto = out.File file_module_ec_mall_proto_freight_proto_goTypes = nil file_module_ec_mall_proto_freight_proto_depIdxs = nil }