// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v7.35.1
// source: module/base/passport/proto/register.proto

package passport

import (
	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 RegisterRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Country       string                 `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`                    // 国家码,eg CN US
	Email         string                 `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`                        //邮箱
	Account       string                 `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`                    //帐号
	Phone         string                 `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`                        //手机号
	Password      string                 `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`                  //密码
	Code          string                 `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"`                          //验证码
	AgencyId      int64                  `protobuf:"varint,7,opt,name=agency_id,json=agencyId,proto3" json:"agency_id,omitempty"` // 代理ID
	StaffId       int64                  `protobuf:"varint,8,opt,name=staff_id,json=staffId,proto3" json:"staff_id,omitempty"`    // 工作人员ID
	OwnerId       int64                  `protobuf:"varint,9,opt,name=owner_id,proto3" json:"owner_id,omitempty"`                 // 所属ID
	OwnerIdentity string                 `protobuf:"bytes,10,opt,name=owner_identity,proto3" json:"owner_identity,omitempty"`     // 所属唯一码
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RegisterRequest) Reset() {
	*x = RegisterRequest{}
	mi := &file_module_base_passport_proto_register_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RegisterRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RegisterRequest) ProtoMessage() {}

func (x *RegisterRequest) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_register_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 RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_register_proto_rawDescGZIP(), []int{0}
}

func (x *RegisterRequest) GetCountry() string {
	if x != nil {
		return x.Country
	}
	return ""
}

func (x *RegisterRequest) GetEmail() string {
	if x != nil {
		return x.Email
	}
	return ""
}

func (x *RegisterRequest) GetAccount() string {
	if x != nil {
		return x.Account
	}
	return ""
}

func (x *RegisterRequest) GetPhone() string {
	if x != nil {
		return x.Phone
	}
	return ""
}

func (x *RegisterRequest) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

func (x *RegisterRequest) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

func (x *RegisterRequest) GetAgencyId() int64 {
	if x != nil {
		return x.AgencyId
	}
	return 0
}

func (x *RegisterRequest) GetStaffId() int64 {
	if x != nil {
		return x.StaffId
	}
	return 0
}

func (x *RegisterRequest) GetOwnerId() int64 {
	if x != nil {
		return x.OwnerId
	}
	return 0
}

func (x *RegisterRequest) GetOwnerIdentity() string {
	if x != nil {
		return x.OwnerIdentity
	}
	return ""
}

type RegisterReply 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"`                                                                       //用户唯一码
	Token         string                 `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`                                                                             //用户Header所需Token
	Extend        map[string]string      `protobuf:"bytes,5,rep,name=extend,proto3" json:"extend,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` //扩展字段
	VerifyStatus  *VerifyStatus          `protobuf:"bytes,6,opt,name=verify_status,json=verifyStatus,proto3" json:"verify_status,omitempty"`                                           // 用户验证状态
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RegisterReply) Reset() {
	*x = RegisterReply{}
	mi := &file_module_base_passport_proto_register_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RegisterReply) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RegisterReply) ProtoMessage() {}

func (x *RegisterReply) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_register_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 RegisterReply.ProtoReflect.Descriptor instead.
func (*RegisterReply) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_register_proto_rawDescGZIP(), []int{1}
}

func (x *RegisterReply) GetId() int64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *RegisterReply) GetIdentity() string {
	if x != nil {
		return x.Identity
	}
	return ""
}

func (x *RegisterReply) GetToken() string {
	if x != nil {
		return x.Token
	}
	return ""
}

func (x *RegisterReply) GetExtend() map[string]string {
	if x != nil {
		return x.Extend
	}
	return nil
}

func (x *RegisterReply) GetVerifyStatus() *VerifyStatus {
	if x != nil {
		return x.VerifyStatus
	}
	return nil
}

var File_module_base_passport_proto_register_proto protoreflect.FileDescriptor

const file_module_base_passport_proto_register_proto_rawDesc = "" +
	"\n" +
	")module/base/passport/proto/register.proto\x12\bpassport\x1a&module/base/passport/proto/const.proto\"\x9d\x02\n" +
	"\x0fRegisterRequest\x12\x18\n" +
	"\acountry\x18\x01 \x01(\tR\acountry\x12\x14\n" +
	"\x05email\x18\x02 \x01(\tR\x05email\x12\x18\n" +
	"\aaccount\x18\x03 \x01(\tR\aaccount\x12\x14\n" +
	"\x05phone\x18\x04 \x01(\tR\x05phone\x12\x1a\n" +
	"\bpassword\x18\x05 \x01(\tR\bpassword\x12\x12\n" +
	"\x04code\x18\x06 \x01(\tR\x04code\x12\x1b\n" +
	"\tagency_id\x18\a \x01(\x03R\bagencyId\x12\x19\n" +
	"\bstaff_id\x18\b \x01(\x03R\astaffId\x12\x1a\n" +
	"\bowner_id\x18\t \x01(\x03R\bowner_id\x12&\n" +
	"\x0eowner_identity\x18\n" +
	" \x01(\tR\x0eowner_identity\"\x92\x02\n" +
	"\rRegisterReply\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
	"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x14\n" +
	"\x05token\x18\x04 \x01(\tR\x05token\x12;\n" +
	"\x06extend\x18\x05 \x03(\v2#.passport.RegisterReply.ExtendEntryR\x06extend\x12G\n" +
	"\rverify_status\x18\x06 \x01(\v2\".base_passport_blocks.VerifyStatusR\fverifyStatus\x1a9\n" +
	"\vExtendEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x012\x85\x01\n" +
	"\bRegister\x12;\n" +
	"\x03Pwd\x12\x19.passport.RegisterRequest\x1a\x17.passport.RegisterReply\"\x00\x12<\n" +
	"\x04Code\x12\x19.passport.RegisterRequest\x1a\x17.passport.RegisterReply\"\x00B+Z)bsm/full/module/base/passport/pb;passportb\x06proto3"

var (
	file_module_base_passport_proto_register_proto_rawDescOnce sync.Once
	file_module_base_passport_proto_register_proto_rawDescData []byte
)

func file_module_base_passport_proto_register_proto_rawDescGZIP() []byte {
	file_module_base_passport_proto_register_proto_rawDescOnce.Do(func() {
		file_module_base_passport_proto_register_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_passport_proto_register_proto_rawDesc), len(file_module_base_passport_proto_register_proto_rawDesc)))
	})
	return file_module_base_passport_proto_register_proto_rawDescData
}

var file_module_base_passport_proto_register_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_module_base_passport_proto_register_proto_goTypes = []any{
	(*RegisterRequest)(nil), // 0: passport.RegisterRequest
	(*RegisterReply)(nil),   // 1: passport.RegisterReply
	nil,                     // 2: passport.RegisterReply.ExtendEntry
	(*VerifyStatus)(nil),    // 3: base_passport_blocks.VerifyStatus
}
var file_module_base_passport_proto_register_proto_depIdxs = []int32{
	2, // 0: passport.RegisterReply.extend:type_name -> passport.RegisterReply.ExtendEntry
	3, // 1: passport.RegisterReply.verify_status:type_name -> base_passport_blocks.VerifyStatus
	0, // 2: passport.Register.Pwd:input_type -> passport.RegisterRequest
	0, // 3: passport.Register.Code:input_type -> passport.RegisterRequest
	1, // 4: passport.Register.Pwd:output_type -> passport.RegisterReply
	1, // 5: passport.Register.Code:output_type -> passport.RegisterReply
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_module_base_passport_proto_register_proto_init() }
func file_module_base_passport_proto_register_proto_init() {
	if File_module_base_passport_proto_register_proto != nil {
		return
	}
	file_module_base_passport_proto_const_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_passport_proto_register_proto_rawDesc), len(file_module_base_passport_proto_register_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_base_passport_proto_register_proto_goTypes,
		DependencyIndexes: file_module_base_passport_proto_register_proto_depIdxs,
		MessageInfos:      file_module_base_passport_proto_register_proto_msgTypes,
	}.Build()
	File_module_base_passport_proto_register_proto = out.File
	file_module_base_passport_proto_register_proto_goTypes = nil
	file_module_base_passport_proto_register_proto_depIdxs = nil
}
