// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: mail/mail_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 DBMailData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ObjId string `protobuf:"bytes,1,opt,name=ObjId,proto3" json:"ObjId" bson:"_id"` // ID Uid string `protobuf:"bytes,2,opt,name=Uid,proto3" json:"Uid"` Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title"` // 邮件标题 Contex string `protobuf:"bytes,4,opt,name=Contex,proto3" json:"Contex"` // 邮件内容 CreateTime uint64 `protobuf:"varint,5,opt,name=CreateTime,proto3" json:"CreateTime"` // 发送时间 DueTime uint64 `protobuf:"varint,6,opt,name=DueTime,proto3" json:"DueTime"` // 过期时间 Check bool `protobuf:"varint,7,opt,name=Check,proto3" json:"Check"` // 是否查看 Reward bool `protobuf:"varint,8,opt,name=Reward,proto3" json:"Reward"` // 附件领取状态 Items []*UserAssets `protobuf:"bytes,9,rep,name=Items,proto3" json:"Items"` // 附件 Cid string `protobuf:"bytes,10,opt,name=Cid,proto3" json:"Cid"` // 邮件的配置表ID Param []string `protobuf:"bytes,11,rep,name=Param,proto3" json:"Param"` } func (x *DBMailData) Reset() { *x = DBMailData{} if protoimpl.UnsafeEnabled { mi := &file_mail_mail_db_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBMailData) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBMailData) ProtoMessage() {} func (x *DBMailData) ProtoReflect() protoreflect.Message { mi := &file_mail_mail_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 DBMailData.ProtoReflect.Descriptor instead. func (*DBMailData) Descriptor() ([]byte, []int) { return file_mail_mail_db_proto_rawDescGZIP(), []int{0} } func (x *DBMailData) GetObjId() string { if x != nil { return x.ObjId } return "" } func (x *DBMailData) GetUid() string { if x != nil { return x.Uid } return "" } func (x *DBMailData) GetTitle() string { if x != nil { return x.Title } return "" } func (x *DBMailData) GetContex() string { if x != nil { return x.Contex } return "" } func (x *DBMailData) GetCreateTime() uint64 { if x != nil { return x.CreateTime } return 0 } func (x *DBMailData) GetDueTime() uint64 { if x != nil { return x.DueTime } return 0 } func (x *DBMailData) GetCheck() bool { if x != nil { return x.Check } return false } func (x *DBMailData) GetReward() bool { if x != nil { return x.Reward } return false } func (x *DBMailData) GetItems() []*UserAssets { if x != nil { return x.Items } return nil } func (x *DBMailData) GetCid() string { if x != nil { return x.Cid } return "" } func (x *DBMailData) GetParam() []string { if x != nil { return x.Param } return nil } var File_mail_mail_db_proto protoreflect.FileDescriptor var file_mail_mail_db_proto_rawDesc = []byte{ 0x0a, 0x12, 0x6d, 0x61, 0x69, 0x6c, 0x2f, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x02, 0x0a, 0x0a, 0x44, 0x42, 0x4d, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x62, 0x6a, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x4f, 0x62, 0x6a, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x44, 0x75, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x44, 0x75, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x43, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x43, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_mail_mail_db_proto_rawDescOnce sync.Once file_mail_mail_db_proto_rawDescData = file_mail_mail_db_proto_rawDesc ) func file_mail_mail_db_proto_rawDescGZIP() []byte { file_mail_mail_db_proto_rawDescOnce.Do(func() { file_mail_mail_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_mail_mail_db_proto_rawDescData) }) return file_mail_mail_db_proto_rawDescData } var file_mail_mail_db_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_mail_mail_db_proto_goTypes = []interface{}{ (*DBMailData)(nil), // 0: DBMailData (*UserAssets)(nil), // 1: UserAssets } var file_mail_mail_db_proto_depIdxs = []int32{ 1, // 0: DBMailData.Items:type_name -> UserAssets 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_mail_mail_db_proto_init() } func file_mail_mail_db_proto_init() { if File_mail_mail_db_proto != nil { return } file_comm_proto_init() if !protoimpl.UnsafeEnabled { file_mail_mail_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBMailData); 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_mail_mail_db_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_mail_mail_db_proto_goTypes, DependencyIndexes: file_mail_mail_db_proto_depIdxs, MessageInfos: file_mail_mail_db_proto_msgTypes, }.Build() File_mail_mail_db_proto = out.File file_mail_mail_db_proto_rawDesc = nil file_mail_mail_db_proto_goTypes = nil file_mail_mail_db_proto_depIdxs = nil }