937 lines
30 KiB
Go
937 lines
30 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v5.29.6
|
|
// source: user_verifications.proto
|
|
|
|
package pb
|
|
|
|
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)
|
|
)
|
|
|
|
// --------------------------------userVerifications--------------------------------
|
|
type UserVerifications struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId
|
|
Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` //role
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` //status
|
|
Materials string `protobuf:"bytes,5,opt,name=materials,proto3" json:"materials,omitempty"` //materials
|
|
RejectReason string `protobuf:"bytes,6,opt,name=rejectReason,proto3" json:"rejectReason,omitempty"` //rejectReason
|
|
ReviewedBy int64 `protobuf:"varint,7,opt,name=reviewedBy,proto3" json:"reviewedBy,omitempty"` //reviewedBy
|
|
ReviewedAt int64 `protobuf:"varint,8,opt,name=reviewedAt,proto3" json:"reviewedAt,omitempty"` //reviewedAt
|
|
CreatedAt int64 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserVerifications) Reset() {
|
|
*x = UserVerifications{}
|
|
mi := &file_user_verifications_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserVerifications) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserVerifications) ProtoMessage() {}
|
|
|
|
func (x *UserVerifications) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_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 UserVerifications.ProtoReflect.Descriptor instead.
|
|
func (*UserVerifications) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *UserVerifications) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserVerifications) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserVerifications) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserVerifications) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserVerifications) GetMaterials() string {
|
|
if x != nil {
|
|
return x.Materials
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserVerifications) GetRejectReason() string {
|
|
if x != nil {
|
|
return x.RejectReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserVerifications) GetReviewedBy() int64 {
|
|
if x != nil {
|
|
return x.ReviewedBy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserVerifications) GetReviewedAt() int64 {
|
|
if x != nil {
|
|
return x.ReviewedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserVerifications) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserVerifications) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddUserVerificationsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` //userId
|
|
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` //role
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` //status
|
|
Materials string `protobuf:"bytes,4,opt,name=materials,proto3" json:"materials,omitempty"` //materials
|
|
RejectReason string `protobuf:"bytes,5,opt,name=rejectReason,proto3" json:"rejectReason,omitempty"` //rejectReason
|
|
ReviewedBy int64 `protobuf:"varint,6,opt,name=reviewedBy,proto3" json:"reviewedBy,omitempty"` //reviewedBy
|
|
ReviewedAt int64 `protobuf:"varint,7,opt,name=reviewedAt,proto3" json:"reviewedAt,omitempty"` //reviewedAt
|
|
CreatedAt int64 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) Reset() {
|
|
*x = AddUserVerificationsReq{}
|
|
mi := &file_user_verifications_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddUserVerificationsReq) ProtoMessage() {}
|
|
|
|
func (x *AddUserVerificationsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_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 AddUserVerificationsReq.ProtoReflect.Descriptor instead.
|
|
func (*AddUserVerificationsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetMaterials() string {
|
|
if x != nil {
|
|
return x.Materials
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetRejectReason() string {
|
|
if x != nil {
|
|
return x.RejectReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetReviewedBy() int64 {
|
|
if x != nil {
|
|
return x.ReviewedBy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetReviewedAt() int64 {
|
|
if x != nil {
|
|
return x.ReviewedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddUserVerificationsReq) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddUserVerificationsResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddUserVerificationsResp) Reset() {
|
|
*x = AddUserVerificationsResp{}
|
|
mi := &file_user_verifications_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddUserVerificationsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddUserVerificationsResp) ProtoMessage() {}
|
|
|
|
func (x *AddUserVerificationsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_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 AddUserVerificationsResp.ProtoReflect.Descriptor instead.
|
|
func (*AddUserVerificationsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type UpdateUserVerificationsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId
|
|
Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` //role
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` //status
|
|
Materials string `protobuf:"bytes,5,opt,name=materials,proto3" json:"materials,omitempty"` //materials
|
|
RejectReason string `protobuf:"bytes,6,opt,name=rejectReason,proto3" json:"rejectReason,omitempty"` //rejectReason
|
|
ReviewedBy int64 `protobuf:"varint,7,opt,name=reviewedBy,proto3" json:"reviewedBy,omitempty"` //reviewedBy
|
|
ReviewedAt int64 `protobuf:"varint,8,opt,name=reviewedAt,proto3" json:"reviewedAt,omitempty"` //reviewedAt
|
|
CreatedAt int64 `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) Reset() {
|
|
*x = UpdateUserVerificationsReq{}
|
|
mi := &file_user_verifications_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateUserVerificationsReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateUserVerificationsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_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 UpdateUserVerificationsReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateUserVerificationsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetMaterials() string {
|
|
if x != nil {
|
|
return x.Materials
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetRejectReason() string {
|
|
if x != nil {
|
|
return x.RejectReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetReviewedBy() int64 {
|
|
if x != nil {
|
|
return x.ReviewedBy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetReviewedAt() int64 {
|
|
if x != nil {
|
|
return x.ReviewedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsReq) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpdateUserVerificationsResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsResp) Reset() {
|
|
*x = UpdateUserVerificationsResp{}
|
|
mi := &file_user_verifications_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateUserVerificationsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateUserVerificationsResp) ProtoMessage() {}
|
|
|
|
func (x *UpdateUserVerificationsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_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 UpdateUserVerificationsResp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateUserVerificationsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type DelUserVerificationsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DelUserVerificationsReq) Reset() {
|
|
*x = DelUserVerificationsReq{}
|
|
mi := &file_user_verifications_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DelUserVerificationsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelUserVerificationsReq) ProtoMessage() {}
|
|
|
|
func (x *DelUserVerificationsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_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 DelUserVerificationsReq.ProtoReflect.Descriptor instead.
|
|
func (*DelUserVerificationsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DelUserVerificationsReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DelUserVerificationsResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DelUserVerificationsResp) Reset() {
|
|
*x = DelUserVerificationsResp{}
|
|
mi := &file_user_verifications_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DelUserVerificationsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DelUserVerificationsResp) ProtoMessage() {}
|
|
|
|
func (x *DelUserVerificationsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_proto_msgTypes[6]
|
|
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 DelUserVerificationsResp.ProtoReflect.Descriptor instead.
|
|
func (*DelUserVerificationsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type GetUserVerificationsByIdReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserVerificationsByIdReq) Reset() {
|
|
*x = GetUserVerificationsByIdReq{}
|
|
mi := &file_user_verifications_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserVerificationsByIdReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserVerificationsByIdReq) ProtoMessage() {}
|
|
|
|
func (x *GetUserVerificationsByIdReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_proto_msgTypes[7]
|
|
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 GetUserVerificationsByIdReq.ProtoReflect.Descriptor instead.
|
|
func (*GetUserVerificationsByIdReq) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetUserVerificationsByIdReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetUserVerificationsByIdResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserVerifications *UserVerifications `protobuf:"bytes,1,opt,name=userVerifications,proto3" json:"userVerifications,omitempty"` //userVerifications
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserVerificationsByIdResp) Reset() {
|
|
*x = GetUserVerificationsByIdResp{}
|
|
mi := &file_user_verifications_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserVerificationsByIdResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserVerificationsByIdResp) ProtoMessage() {}
|
|
|
|
func (x *GetUserVerificationsByIdResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_proto_msgTypes[8]
|
|
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 GetUserVerificationsByIdResp.ProtoReflect.Descriptor instead.
|
|
func (*GetUserVerificationsByIdResp) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetUserVerificationsByIdResp) GetUserVerifications() *UserVerifications {
|
|
if x != nil {
|
|
return x.UserVerifications
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchUserVerificationsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` //page
|
|
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` //limit
|
|
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` //id
|
|
UserId int64 `protobuf:"varint,4,opt,name=userId,proto3" json:"userId,omitempty"` //userId
|
|
Role string `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"` //role
|
|
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` //status
|
|
Materials string `protobuf:"bytes,7,opt,name=materials,proto3" json:"materials,omitempty"` //materials
|
|
RejectReason string `protobuf:"bytes,8,opt,name=rejectReason,proto3" json:"rejectReason,omitempty"` //rejectReason
|
|
ReviewedBy int64 `protobuf:"varint,9,opt,name=reviewedBy,proto3" json:"reviewedBy,omitempty"` //reviewedBy
|
|
ReviewedAt int64 `protobuf:"varint,10,opt,name=reviewedAt,proto3" json:"reviewedAt,omitempty"` //reviewedAt
|
|
CreatedAt int64 `protobuf:"varint,11,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
|
|
UpdatedAt int64 `protobuf:"varint,12,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) Reset() {
|
|
*x = SearchUserVerificationsReq{}
|
|
mi := &file_user_verifications_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchUserVerificationsReq) ProtoMessage() {}
|
|
|
|
func (x *SearchUserVerificationsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_proto_msgTypes[9]
|
|
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 SearchUserVerificationsReq.ProtoReflect.Descriptor instead.
|
|
func (*SearchUserVerificationsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetPage() int64 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetMaterials() string {
|
|
if x != nil {
|
|
return x.Materials
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetRejectReason() string {
|
|
if x != nil {
|
|
return x.RejectReason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetReviewedBy() int64 {
|
|
if x != nil {
|
|
return x.ReviewedBy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetReviewedAt() int64 {
|
|
if x != nil {
|
|
return x.ReviewedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchUserVerificationsReq) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SearchUserVerificationsResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserVerifications []*UserVerifications `protobuf:"bytes,1,rep,name=userVerifications,proto3" json:"userVerifications,omitempty"` //userVerifications
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchUserVerificationsResp) Reset() {
|
|
*x = SearchUserVerificationsResp{}
|
|
mi := &file_user_verifications_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchUserVerificationsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchUserVerificationsResp) ProtoMessage() {}
|
|
|
|
func (x *SearchUserVerificationsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_verifications_proto_msgTypes[10]
|
|
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 SearchUserVerificationsResp.ProtoReflect.Descriptor instead.
|
|
func (*SearchUserVerificationsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_verifications_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *SearchUserVerificationsResp) GetUserVerifications() []*UserVerifications {
|
|
if x != nil {
|
|
return x.UserVerifications
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_user_verifications_proto protoreflect.FileDescriptor
|
|
|
|
const file_user_verifications_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x18user_verifications.proto\x12\x02pb\"\xa5\x02\n" +
|
|
"\x11UserVerifications\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
|
|
"\x04role\x18\x03 \x01(\tR\x04role\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\x12\x1c\n" +
|
|
"\tmaterials\x18\x05 \x01(\tR\tmaterials\x12\"\n" +
|
|
"\frejectReason\x18\x06 \x01(\tR\frejectReason\x12\x1e\n" +
|
|
"\n" +
|
|
"reviewedBy\x18\a \x01(\x03R\n" +
|
|
"reviewedBy\x12\x1e\n" +
|
|
"\n" +
|
|
"reviewedAt\x18\b \x01(\x03R\n" +
|
|
"reviewedAt\x12\x1c\n" +
|
|
"\tcreatedAt\x18\t \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\n" +
|
|
" \x01(\x03R\tupdatedAt\"\x9b\x02\n" +
|
|
"\x17AddUserVerificationsReq\x12\x16\n" +
|
|
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x12\n" +
|
|
"\x04role\x18\x02 \x01(\tR\x04role\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1c\n" +
|
|
"\tmaterials\x18\x04 \x01(\tR\tmaterials\x12\"\n" +
|
|
"\frejectReason\x18\x05 \x01(\tR\frejectReason\x12\x1e\n" +
|
|
"\n" +
|
|
"reviewedBy\x18\x06 \x01(\x03R\n" +
|
|
"reviewedBy\x12\x1e\n" +
|
|
"\n" +
|
|
"reviewedAt\x18\a \x01(\x03R\n" +
|
|
"reviewedAt\x12\x1c\n" +
|
|
"\tcreatedAt\x18\b \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\t \x01(\x03R\tupdatedAt\"\x1a\n" +
|
|
"\x18AddUserVerificationsResp\"\xae\x02\n" +
|
|
"\x1aUpdateUserVerificationsReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
|
|
"\x04role\x18\x03 \x01(\tR\x04role\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\x12\x1c\n" +
|
|
"\tmaterials\x18\x05 \x01(\tR\tmaterials\x12\"\n" +
|
|
"\frejectReason\x18\x06 \x01(\tR\frejectReason\x12\x1e\n" +
|
|
"\n" +
|
|
"reviewedBy\x18\a \x01(\x03R\n" +
|
|
"reviewedBy\x12\x1e\n" +
|
|
"\n" +
|
|
"reviewedAt\x18\b \x01(\x03R\n" +
|
|
"reviewedAt\x12\x1c\n" +
|
|
"\tcreatedAt\x18\t \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\n" +
|
|
" \x01(\x03R\tupdatedAt\"\x1d\n" +
|
|
"\x1bUpdateUserVerificationsResp\")\n" +
|
|
"\x17DelUserVerificationsReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"\x1a\n" +
|
|
"\x18DelUserVerificationsResp\"-\n" +
|
|
"\x1bGetUserVerificationsByIdReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"c\n" +
|
|
"\x1cGetUserVerificationsByIdResp\x12C\n" +
|
|
"\x11userVerifications\x18\x01 \x01(\v2\x15.pb.UserVerificationsR\x11userVerifications\"\xd8\x02\n" +
|
|
"\x1aSearchUserVerificationsReq\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\x03R\x04page\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x0e\n" +
|
|
"\x02id\x18\x03 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06userId\x18\x04 \x01(\x03R\x06userId\x12\x12\n" +
|
|
"\x04role\x18\x05 \x01(\tR\x04role\x12\x16\n" +
|
|
"\x06status\x18\x06 \x01(\tR\x06status\x12\x1c\n" +
|
|
"\tmaterials\x18\a \x01(\tR\tmaterials\x12\"\n" +
|
|
"\frejectReason\x18\b \x01(\tR\frejectReason\x12\x1e\n" +
|
|
"\n" +
|
|
"reviewedBy\x18\t \x01(\x03R\n" +
|
|
"reviewedBy\x12\x1e\n" +
|
|
"\n" +
|
|
"reviewedAt\x18\n" +
|
|
" \x01(\x03R\n" +
|
|
"reviewedAt\x12\x1c\n" +
|
|
"\tcreatedAt\x18\v \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
|
"\tupdatedAt\x18\f \x01(\x03R\tupdatedAt\"b\n" +
|
|
"\x1bSearchUserVerificationsResp\x12C\n" +
|
|
"\x11userVerifications\x18\x01 \x03(\v2\x15.pb.UserVerificationsR\x11userVerifications2\xd1\x03\n" +
|
|
"\x12user_verifications\x12Q\n" +
|
|
"\x14AddUserVerifications\x12\x1b.pb.AddUserVerificationsReq\x1a\x1c.pb.AddUserVerificationsResp\x12Z\n" +
|
|
"\x17UpdateUserVerifications\x12\x1e.pb.UpdateUserVerificationsReq\x1a\x1f.pb.UpdateUserVerificationsResp\x12Q\n" +
|
|
"\x14DelUserVerifications\x12\x1b.pb.DelUserVerificationsReq\x1a\x1c.pb.DelUserVerificationsResp\x12]\n" +
|
|
"\x18GetUserVerificationsById\x12\x1f.pb.GetUserVerificationsByIdReq\x1a .pb.GetUserVerificationsByIdResp\x12Z\n" +
|
|
"\x17SearchUserVerifications\x12\x1e.pb.SearchUserVerificationsReq\x1a\x1f.pb.SearchUserVerificationsRespB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_user_verifications_proto_rawDescOnce sync.Once
|
|
file_user_verifications_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_user_verifications_proto_rawDescGZIP() []byte {
|
|
file_user_verifications_proto_rawDescOnce.Do(func() {
|
|
file_user_verifications_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_user_verifications_proto_rawDesc), len(file_user_verifications_proto_rawDesc)))
|
|
})
|
|
return file_user_verifications_proto_rawDescData
|
|
}
|
|
|
|
var file_user_verifications_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
var file_user_verifications_proto_goTypes = []any{
|
|
(*UserVerifications)(nil), // 0: pb.UserVerifications
|
|
(*AddUserVerificationsReq)(nil), // 1: pb.AddUserVerificationsReq
|
|
(*AddUserVerificationsResp)(nil), // 2: pb.AddUserVerificationsResp
|
|
(*UpdateUserVerificationsReq)(nil), // 3: pb.UpdateUserVerificationsReq
|
|
(*UpdateUserVerificationsResp)(nil), // 4: pb.UpdateUserVerificationsResp
|
|
(*DelUserVerificationsReq)(nil), // 5: pb.DelUserVerificationsReq
|
|
(*DelUserVerificationsResp)(nil), // 6: pb.DelUserVerificationsResp
|
|
(*GetUserVerificationsByIdReq)(nil), // 7: pb.GetUserVerificationsByIdReq
|
|
(*GetUserVerificationsByIdResp)(nil), // 8: pb.GetUserVerificationsByIdResp
|
|
(*SearchUserVerificationsReq)(nil), // 9: pb.SearchUserVerificationsReq
|
|
(*SearchUserVerificationsResp)(nil), // 10: pb.SearchUserVerificationsResp
|
|
}
|
|
var file_user_verifications_proto_depIdxs = []int32{
|
|
0, // 0: pb.GetUserVerificationsByIdResp.userVerifications:type_name -> pb.UserVerifications
|
|
0, // 1: pb.SearchUserVerificationsResp.userVerifications:type_name -> pb.UserVerifications
|
|
1, // 2: pb.user_verifications.AddUserVerifications:input_type -> pb.AddUserVerificationsReq
|
|
3, // 3: pb.user_verifications.UpdateUserVerifications:input_type -> pb.UpdateUserVerificationsReq
|
|
5, // 4: pb.user_verifications.DelUserVerifications:input_type -> pb.DelUserVerificationsReq
|
|
7, // 5: pb.user_verifications.GetUserVerificationsById:input_type -> pb.GetUserVerificationsByIdReq
|
|
9, // 6: pb.user_verifications.SearchUserVerifications:input_type -> pb.SearchUserVerificationsReq
|
|
2, // 7: pb.user_verifications.AddUserVerifications:output_type -> pb.AddUserVerificationsResp
|
|
4, // 8: pb.user_verifications.UpdateUserVerifications:output_type -> pb.UpdateUserVerificationsResp
|
|
6, // 9: pb.user_verifications.DelUserVerifications:output_type -> pb.DelUserVerificationsResp
|
|
8, // 10: pb.user_verifications.GetUserVerificationsById:output_type -> pb.GetUserVerificationsByIdResp
|
|
10, // 11: pb.user_verifications.SearchUserVerifications:output_type -> pb.SearchUserVerificationsResp
|
|
7, // [7:12] is the sub-list for method output_type
|
|
2, // [2:7] 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_user_verifications_proto_init() }
|
|
func file_user_verifications_proto_init() {
|
|
if File_user_verifications_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_user_verifications_proto_rawDesc), len(file_user_verifications_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 11,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_user_verifications_proto_goTypes,
|
|
DependencyIndexes: file_user_verifications_proto_depIdxs,
|
|
MessageInfos: file_user_verifications_proto_msgTypes,
|
|
}.Build()
|
|
File_user_verifications_proto = out.File
|
|
file_user_verifications_proto_goTypes = nil
|
|
file_user_verifications_proto_depIdxs = nil
|
|
}
|