695 lines
23 KiB
Go
695 lines
23 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
|
|
}
|
|
|
|
//活动礼包
|
|
type DBActivityGiftbag struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //唯一ID
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //玩家ID
|
|
Activitys map[int32]*ActivityGiftbagItem `protobuf:"bytes,3,rep,name=activitys,proto3" json:"activitys" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //活动礼包
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) Reset() {
|
|
*x = DBActivityGiftbag{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBActivityGiftbag) ProtoMessage() {}
|
|
|
|
func (x *DBActivityGiftbag) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_proto_msgTypes[4]
|
|
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 DBActivityGiftbag.ProtoReflect.Descriptor instead.
|
|
func (*DBActivityGiftbag) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) GetActivitys() map[int32]*ActivityGiftbagItem {
|
|
if x != nil {
|
|
return x.Activitys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//活动礼包
|
|
type ActivityGiftbagItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Opentime int64 `protobuf:"varint,1,opt,name=opentime,proto3" json:"opentime"`
|
|
Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days"` //开启天数
|
|
Items map[int32]*PayActivityGiftbagItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //商品购买次数
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) Reset() {
|
|
*x = ActivityGiftbagItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActivityGiftbagItem) ProtoMessage() {}
|
|
|
|
func (x *ActivityGiftbagItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_proto_msgTypes[5]
|
|
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 ActivityGiftbagItem.ProtoReflect.Descriptor instead.
|
|
func (*ActivityGiftbagItem) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) GetOpentime() int64 {
|
|
if x != nil {
|
|
return x.Opentime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) GetDays() int32 {
|
|
if x != nil {
|
|
return x.Days
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) GetItems() map[int32]*PayActivityGiftbagItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//每日商城商品数据
|
|
type PayActivityGiftbagItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //礼包id
|
|
Buyunm int32 `protobuf:"varint,2,opt,name=buyunm,proto3" json:"buyunm"` //刷新周期内的购买次数
|
|
Totalbuynum int32 `protobuf:"varint,3,opt,name=totalbuynum,proto3" json:"totalbuynum"` //活动期间类购买的次数
|
|
Lastrefresh int64 `protobuf:"varint,4,opt,name=lastrefresh,proto3" json:"lastrefresh"` //上次刷新时间
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) Reset() {
|
|
*x = PayActivityGiftbagItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PayActivityGiftbagItem) ProtoMessage() {}
|
|
|
|
func (x *PayActivityGiftbagItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_proto_msgTypes[6]
|
|
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 PayActivityGiftbagItem.ProtoReflect.Descriptor instead.
|
|
func (*PayActivityGiftbagItem) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) GetBuyunm() int32 {
|
|
if x != nil {
|
|
return x.Buyunm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) GetTotalbuynum() int32 {
|
|
if x != nil {
|
|
return x.Totalbuynum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) GetLastrefresh() int64 {
|
|
if x != nil {
|
|
return x.Lastrefresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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, 0x22, 0xca, 0x01,
|
|
0x0a, 0x11, 0x44, 0x42, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74,
|
|
0x62, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x09, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x44, 0x42, 0x41, 0x63, 0x74,
|
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x2e, 0x41, 0x63, 0x74,
|
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x61, 0x63, 0x74,
|
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x1a, 0x52, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69,
|
|
0x74, 0x79, 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, 0x2a, 0x0a, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x63, 0x74, 0x69,
|
|
0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcf, 0x01, 0x0a, 0x13, 0x41,
|
|
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74,
|
|
0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12,
|
|
0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61,
|
|
0x79, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x1f, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74,
|
|
0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74,
|
|
0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x51, 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, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x50, 0x61, 0x79, 0x41, 0x63,
|
|
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65,
|
|
0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x84, 0x01, 0x0a,
|
|
0x16, 0x50, 0x61, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74,
|
|
0x62, 0x61, 0x67, 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, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x62, 0x75, 0x79, 0x6e, 0x75, 0x6d, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x62, 0x75, 0x79, 0x6e, 0x75,
|
|
0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72,
|
|
0x65, 0x73, 0x68, 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, 11)
|
|
var file_pay_pay_db_proto_goTypes = []interface{}{
|
|
(*DBPayOrder)(nil), // 0: DBPayOrder
|
|
(*DBUserPay)(nil), // 1: DBUserPay
|
|
(*PayDailyItem)(nil), // 2: PayDailyItem
|
|
(*DBPayDaily)(nil), // 3: DBPayDaily
|
|
(*DBActivityGiftbag)(nil), // 4: DBActivityGiftbag
|
|
(*ActivityGiftbagItem)(nil), // 5: ActivityGiftbagItem
|
|
(*PayActivityGiftbagItem)(nil), // 6: PayActivityGiftbagItem
|
|
nil, // 7: DBUserPay.RecordEntry
|
|
nil, // 8: DBPayDaily.ItemsEntry
|
|
nil, // 9: DBActivityGiftbag.ActivitysEntry
|
|
nil, // 10: ActivityGiftbagItem.ItemsEntry
|
|
}
|
|
var file_pay_pay_db_proto_depIdxs = []int32{
|
|
7, // 0: DBUserPay.record:type_name -> DBUserPay.RecordEntry
|
|
8, // 1: DBPayDaily.items:type_name -> DBPayDaily.ItemsEntry
|
|
9, // 2: DBActivityGiftbag.activitys:type_name -> DBActivityGiftbag.ActivitysEntry
|
|
10, // 3: ActivityGiftbagItem.items:type_name -> ActivityGiftbagItem.ItemsEntry
|
|
2, // 4: DBPayDaily.ItemsEntry.value:type_name -> PayDailyItem
|
|
5, // 5: DBActivityGiftbag.ActivitysEntry.value:type_name -> ActivityGiftbagItem
|
|
6, // 6: ActivityGiftbagItem.ItemsEntry.value:type_name -> PayActivityGiftbagItem
|
|
7, // [7:7] is the sub-list for method output_type
|
|
7, // [7:7] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] 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
|
|
}
|
|
}
|
|
file_pay_pay_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBActivityGiftbag); 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[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ActivityGiftbagItem); 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[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PayActivityGiftbagItem); 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: 11,
|
|
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
|
|
}
|