dreamfactory_cmd/pb/pay_db.pb.go
2023-06-09 21:58:02 +08:00

415 lines
13 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: pay/pay_db.proto
package pb
import (
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)
)
//支付订单数据表
type DBPayOrder struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Orderid string `protobuf:"bytes,1,opt,name=orderid,proto3" json:"orderid"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
Productid string `protobuf:"bytes,3,opt,name=productid,proto3" json:"productid"`
Ctime int64 `protobuf:"varint,4,opt,name=ctime,proto3" json:"ctime"`
}
func (x *DBPayOrder) Reset() {
*x = DBPayOrder{}
if protoimpl.UnsafeEnabled {
mi := &file_pay_pay_db_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBPayOrder) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBPayOrder) ProtoMessage() {}
func (x *DBPayOrder) ProtoReflect() protoreflect.Message {
mi := &file_pay_pay_db_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 DBPayOrder.ProtoReflect.Descriptor instead.
func (*DBPayOrder) Descriptor() ([]byte, []int) {
return file_pay_pay_db_proto_rawDescGZIP(), []int{0}
}
func (x *DBPayOrder) GetOrderid() string {
if x != nil {
return x.Orderid
}
return ""
}
func (x *DBPayOrder) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBPayOrder) GetProductid() string {
if x != nil {
return x.Productid
}
return ""
}
func (x *DBPayOrder) GetCtime() int64 {
if x != nil {
return x.Ctime
}
return 0
}
//
type DBUserPay struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id
Record map[string]int32 `protobuf:"bytes,2,rep,name=record,proto3" json:"record" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //商品购买次数
}
func (x *DBUserPay) Reset() {
*x = DBUserPay{}
if protoimpl.UnsafeEnabled {
mi := &file_pay_pay_db_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBUserPay) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBUserPay) ProtoMessage() {}
func (x *DBUserPay) ProtoReflect() protoreflect.Message {
mi := &file_pay_pay_db_proto_msgTypes[1]
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 DBUserPay.ProtoReflect.Descriptor instead.
func (*DBUserPay) Descriptor() ([]byte, []int) {
return file_pay_pay_db_proto_rawDescGZIP(), []int{1}
}
func (x *DBUserPay) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBUserPay) GetRecord() map[string]int32 {
if x != nil {
return x.Record
}
return nil
}
//每日商城商品数据
type PayDailyItem struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
Buyunm int32 `protobuf:"varint,2,opt,name=buyunm,proto3" json:"buyunm"`
Lastrefresh int64 `protobuf:"varint,3,opt,name=lastrefresh,proto3" json:"lastrefresh"`
}
func (x *PayDailyItem) Reset() {
*x = PayDailyItem{}
if protoimpl.UnsafeEnabled {
mi := &file_pay_pay_db_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PayDailyItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PayDailyItem) ProtoMessage() {}
func (x *PayDailyItem) ProtoReflect() protoreflect.Message {
mi := &file_pay_pay_db_proto_msgTypes[2]
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 PayDailyItem.ProtoReflect.Descriptor instead.
func (*PayDailyItem) Descriptor() ([]byte, []int) {
return file_pay_pay_db_proto_rawDescGZIP(), []int{2}
}
func (x *PayDailyItem) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *PayDailyItem) GetBuyunm() int32 {
if x != nil {
return x.Buyunm
}
return 0
}
func (x *PayDailyItem) GetLastrefresh() int64 {
if x != nil {
return x.Lastrefresh
}
return 0
}
//用户每日礼包
type DBPayDaily struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id
Items map[int32]*PayDailyItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //商品购买次数
}
func (x *DBPayDaily) Reset() {
*x = DBPayDaily{}
if protoimpl.UnsafeEnabled {
mi := &file_pay_pay_db_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBPayDaily) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBPayDaily) ProtoMessage() {}
func (x *DBPayDaily) ProtoReflect() protoreflect.Message {
mi := &file_pay_pay_db_proto_msgTypes[3]
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 DBPayDaily.ProtoReflect.Descriptor instead.
func (*DBPayDaily) Descriptor() ([]byte, []int) {
return file_pay_pay_db_proto_rawDescGZIP(), []int{3}
}
func (x *DBPayDaily) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBPayDaily) GetItems() map[int32]*PayDailyItem {
if x != nil {
return x.Items
}
return nil
}
var File_pay_pay_db_proto protoreflect.FileDescriptor
var file_pay_pay_db_proto_rawDesc = []byte{
0x0a, 0x10, 0x70, 0x61, 0x79, 0x2f, 0x70, 0x61, 0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x0a, 0x44, 0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72,
0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74,
0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
0x22, 0x88, 0x01, 0x0a, 0x09, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79, 0x12, 0x10,
0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64,
0x12, 0x2e, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x16, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79, 0x2e, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x58, 0x0a, 0x0c, 0x50,
0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62,
0x75, 0x79, 0x75, 0x6e, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x79,
0x75, 0x6e, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65,
0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65,
0x66, 0x72, 0x65, 0x73, 0x68, 0x22, 0x95, 0x01, 0x0a, 0x0a, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44,
0x61, 0x69, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69,
0x6c, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69,
0x74, 0x65, 0x6d, 0x73, 0x1a, 0x47, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x74,
0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a,
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_pay_pay_db_proto_rawDescOnce sync.Once
file_pay_pay_db_proto_rawDescData = file_pay_pay_db_proto_rawDesc
)
func file_pay_pay_db_proto_rawDescGZIP() []byte {
file_pay_pay_db_proto_rawDescOnce.Do(func() {
file_pay_pay_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_pay_pay_db_proto_rawDescData)
})
return file_pay_pay_db_proto_rawDescData
}
var file_pay_pay_db_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_pay_pay_db_proto_goTypes = []interface{}{
(*DBPayOrder)(nil), // 0: DBPayOrder
(*DBUserPay)(nil), // 1: DBUserPay
(*PayDailyItem)(nil), // 2: PayDailyItem
(*DBPayDaily)(nil), // 3: DBPayDaily
nil, // 4: DBUserPay.RecordEntry
nil, // 5: DBPayDaily.ItemsEntry
}
var file_pay_pay_db_proto_depIdxs = []int32{
4, // 0: DBUserPay.record:type_name -> DBUserPay.RecordEntry
5, // 1: DBPayDaily.items:type_name -> DBPayDaily.ItemsEntry
2, // 2: DBPayDaily.ItemsEntry.value:type_name -> PayDailyItem
3, // [3:3] is the sub-list for method output_type
3, // [3:3] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_pay_pay_db_proto_init() }
func file_pay_pay_db_proto_init() {
if File_pay_pay_db_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_pay_pay_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBPayOrder); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pay_pay_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBUserPay); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pay_pay_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PayDailyItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pay_pay_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBPayDaily); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pay_pay_db_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_pay_pay_db_proto_goTypes,
DependencyIndexes: file_pay_pay_db_proto_depIdxs,
MessageInfos: file_pay_pay_db_proto_msgTypes,
}.Build()
File_pay_pay_db_proto = out.File
file_pay_pay_db_proto_rawDesc = nil
file_pay_pay_db_proto_goTypes = nil
file_pay_pay_db_proto_depIdxs = nil
}